Versions in this module Expand all Collapse all v1 v1.0.1 Nov 25, 2020 Changes in this version + func GetRunePool() *sync.Pool + func ReleasePoolRune(x interface{}) + type Option func(*Options) + func Entry(entry *define.RuneEntry) Option + func EquipObj(obj int64) Option + func Id(id int64) Option + func OwnerId(id int64) Option + func TypeId(id int32) Option + type Options struct + Entry *define.RuneEntry + EquipObj int64 + Id int64 + OwnerId int64 + TypeId int32 + func DefaultOptions() Options + type Rune interface + CalcAtt func() + GetAtt func(int32) *RuneAtt + GetAttManager func() *att.AttManager + GetEquipObj func() int64 + GetOptions func() *Options + SetAtt func(int32, *RuneAtt) + func NewPoolRune() Rune + func NewRune(opts ...Option) Rune + type RuneAtt struct + AttType int32 + AttValue int64 + type RuneBox struct + func NewRuneBox(owner define.PluginObj) *RuneBox + func (rb *RuneBox) GetRuneByPos(pos int32) Rune + func (rb *RuneBox) PutonRune(r Rune) error + func (rb *RuneBox) TakeoffRune(pos int32) error + type RuneV1 struct + func (r *RuneV1) AfterLoad() error + func (r *RuneV1) CalcAtt() + func (r *RuneV1) GetAtt(idx int32) *RuneAtt + func (r *RuneV1) GetAttManager() *att.AttManager + func (r *RuneV1) GetEquipObj() int64 + func (r *RuneV1) GetExpire() *time.Timer + func (r *RuneV1) GetID() int64 + func (r *RuneV1) GetObjID() int64 + func (r *RuneV1) GetOptions() *Options + func (r *RuneV1) GetOwnerID() int64 + func (r *RuneV1) GetStoreIndex() int64 + func (r *RuneV1) GetType() int32 + func (r *RuneV1) GetTypeID() int32 + func (r *RuneV1) SetAtt(idx int32, att *RuneAtt)