Documentation
¶
Index ¶
- func Migrate(ds *db.Datastore)
- type Rune
- func (r *Rune) CalcAtt()
- func (r *Rune) Entry() *define.RuneEntry
- func (r *Rune) GetAtt(idx int32) *RuneAtt
- func (r *Rune) GetAttManager() *att.AttManager
- func (r *Rune) GetEquipObj() int64
- func (r *Rune) GetID() int64
- func (r *Rune) GetOwnerID() int64
- func (r *Rune) GetTypeID() int32
- func (r *Rune) SetAtt(idx int32, att *RuneAtt)
- func (r *Rune) SetAttManager(m *att.AttManager)
- func (r *Rune) SetEntry(e *define.RuneEntry)
- func (r *Rune) SetEquipObj(id int64)
- func (r *Rune) SetOwnerID(id int64)
- func (r *Rune) SetTypeID(id int32)
- type RuneAtt
- type RuneBox
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Rune ¶
type Rune struct { ID int64 `gorm:"type:bigint(20);primary_key;column:id;default:-1;not null" bson:"_id"` OwnerID int64 `gorm:"type:bigint(20);column:owner_id;index:owner_id;default:-1;not null" bson:"owner_id"` TypeID int32 `gorm:"type:int(10);column:type_id;default:-1;not null" bson:"type_id"` EquipObj int64 `gorm:"type:bigint(20);column:equip_obj;default:-1;not null" bson:"equip_obj"` // contains filtered or unexported fields }
func (*Rune) GetAttManager ¶
func (r *Rune) GetAttManager() *att.AttManager
func (*Rune) GetEquipObj ¶
func (*Rune) GetOwnerID ¶
func (*Rune) SetAttManager ¶
func (r *Rune) SetAttManager(m *att.AttManager)
func (*Rune) SetEquipObj ¶
func (*Rune) SetOwnerID ¶
Click to show internal directories.
Click to hide internal directories.