mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-09-06 11:34:15 -04:00
22 lines
421 B
Go
22 lines
421 B
Go
package d2enum
|
|
|
|
// PlayersRelationships represents players relationships
|
|
type PlayersRelationships int
|
|
|
|
// Players relationships
|
|
const (
|
|
PlayerRelationNeutral PlayersRelationships = iota
|
|
PlayerRelationFriend
|
|
PlayerRelationEnemy
|
|
)
|
|
|
|
// determinates a level, which both players should reach to go hostile
|
|
const (
|
|
PlayersHostileLevel = 9
|
|
)
|
|
|
|
// determinates max players number for one game
|
|
const (
|
|
MaxPlayersInGame = 8
|
|
)
|