Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttManager ¶
type AttManager struct { BaseAttID int32 // 属性id AttFinal [define.Att_End]int64 //计算后最终属性 AttBase [define.Att_End]int64 AttMod [define.Att_End]int64 }
func NewAttManager ¶
func NewAttManager(attID int32) *AttManager
func (*AttManager) CalcAtt ¶
func (m *AttManager) CalcAtt()
func (*AttManager) GetAttValue ¶
func (m *AttManager) GetAttValue(index int32) int64
func (*AttManager) ModAttManager ¶
func (m *AttManager) ModAttManager(r *AttManager)
func (*AttManager) ModBaseAtt ¶
func (m *AttManager) ModBaseAtt(idx int32, value int64)
func (*AttManager) Reset ¶
func (m *AttManager) Reset()
Click to show internal directories.
Click to hide internal directories.