Versions in this module Expand all Collapse all v1 v1.0.0 May 18, 2020 Changes in this version + func LoadAll(ds *db.Datastore, ownerID int64, tableName string) interface + func Migrate(ds *db.Datastore) + type EquipBar struct + func NewEquipBar(owner define.PluginObj) *EquipBar + func (eb *EquipBar) GetEquipByPos(pos int32) Item + func (eb *EquipBar) PutonEquip(i Item) error + func (eb *EquipBar) TakeoffEquip(pos int32) error + type Item interface + CalcAtt func() + Entry func() *define.ItemEntry + EquipEnchantEntry func() *define.EquipEnchantEntry + GetAttManager func() *att.AttManager + GetEquipObj func() int64 + GetID func() int64 + GetNum func() int32 + GetOwnerID func() int64 + GetTypeID func() int32 + SetAttManager func(*att.AttManager) + SetEntry func(*define.ItemEntry) + SetEquipEnchantEntry func(*define.EquipEnchantEntry) + SetEquipObj func(int64) + SetNum func(int32) + SetOwnerID func(int64) + SetTypeID func(int32) + func NewItem(id int64) Item + type ItemV1 struct + EquipObj int64 + ID int64 + Num int32 + OwnerID int64 + TypeID int32 + func (h *ItemV1) CalcAtt() + func (h *ItemV1) Entry() *define.ItemEntry + func (h *ItemV1) EquipEnchantEntry() *define.EquipEnchantEntry + func (h *ItemV1) GetAttManager() *att.AttManager + func (h *ItemV1) GetEquipObj() int64 + func (h *ItemV1) GetID() int64 + func (h *ItemV1) GetNum() int32 + func (h *ItemV1) GetOwnerID() int64 + func (h *ItemV1) GetTypeID() int32 + func (h *ItemV1) SetAttManager(m *att.AttManager) + func (h *ItemV1) SetEntry(e *define.ItemEntry) + func (h *ItemV1) SetEquipEnchantEntry(e *define.EquipEnchantEntry) + func (h *ItemV1) SetEquipObj(id int64) + func (h *ItemV1) SetNum(num int32) + func (h *ItemV1) SetOwnerID(id int64) + func (h *ItemV1) SetTypeID(id int32)