Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AccessLevel ¶
type AccessLevel int
const ( AccessNone AccessLevel = iota AccessMonitor AccessMapper AccessDeveloper AccessCreator )
type Character ¶
type Character struct {
Id int64
AccountId int64
Name string
Gender Gender
Class int
Sprite int
Level int
Exp int
Access AccessLevel
PK bool
Guild string
GuildAccess int
Vitals vitals.Data
Stats stats.Data
Points int
Equipment equipment.Data
Inv [config.MaxInventory]InventorySlot
Spells [config.MaxCharacterSpells]int
Room int
X int
Y int
Dir common.Direction
}
func CreateCharacter ¶
func (*Character) ClearInventory ¶
func (c *Character) ClearInventory()
func (*Character) ClearSpells ¶
func (c *Character) ClearSpells()
type InventorySlot ¶
Click to show internal directories.
Click to hide internal directories.