Documentation ¶
Overview ¶
Generated by tabtoy Version: 2.9.1 DO NOT EDIT!!
Index ¶
- Variables
- type ConfigDefine
- type JobType
- type Table
- type TableTable
- func (self *TableTable) Load(filename string) error
- func (self *TableTable) RegisterIndexEntry(name string, indexCallback func(*TableTable) error, ...)
- func (self *TableTable) RegisterPostEntry(callback func(*TableTable) error)
- func (self *TableTable) RegisterPreEntry(callback func(*TableTable) error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( JobTypeMapperValueByName = map[string]int32{ "Warrior": 0, "Archor": 1, "Mage": 2, } JobTypeMapperNameByValue = map[int32]string{ 0: "Warrior", 1: "Archor", 2: "Mage", } )
Functions ¶
This section is empty.
Types ¶
type ConfigDefine ¶
Defined in table: Config
type TableTable ¶
type TableTable struct { // 表格原始数据 Table ConfigByID map[int64]*ConfigDefine // contains filtered or unexported fields }
Table 访问接口
func (*TableTable) RegisterIndexEntry ¶
func (self *TableTable) RegisterIndexEntry(name string, indexCallback func(*TableTable) error, clearCallback func(*TableTable) error)
注册外部索引入口, 索引回调, 清空回调
func (*TableTable) RegisterPostEntry ¶
func (self *TableTable) RegisterPostEntry(callback func(*TableTable) error)
注册所有完成时回调
func (*TableTable) RegisterPreEntry ¶
func (self *TableTable) RegisterPreEntry(callback func(*TableTable) error)
注册加载前回调
Click to show internal directories.
Click to hide internal directories.