att

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 18, 2020 License: MIT Imports: 2 Imported by: 0

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()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL