Documentation ¶
Overview ¶
Generated by github.com/davyxu/tabtoy Version: 2.8.7 DO NOT EDIT!!
Index ¶
- type ProtoIdDefine
- type ProtoMsgIndex
- type ProtoMsgIndexTable
- func (self *ProtoMsgIndexTable) Load(filename string) error
- func (self *ProtoMsgIndexTable) RegisterIndexEntry(name string, indexCallback func(*ProtoMsgIndexTable) error, ...)
- func (self *ProtoMsgIndexTable) RegisterPostEntry(callback func(*ProtoMsgIndexTable) error)
- func (self *ProtoMsgIndexTable) RegisterPreEntry(callback func(*ProtoMsgIndexTable) error)
- func (self *ProtoMsgIndexTable) Reload() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProtoIdDefine ¶
Defined in table: ProtoId
type ProtoMsgIndex ¶
type ProtoMsgIndex struct { //ProtoId ProtoId []*ProtoIdDefine }
Defined in table: ProtoMsgIndex
type ProtoMsgIndexTable ¶
type ProtoMsgIndexTable struct { // 表格原始数据 ProtoMsgIndex ProtoIdById map[int32]*ProtoIdDefine ProtoIdByName map[string]*ProtoIdDefine // contains filtered or unexported fields }
ProtoMsgIndex 访问接口
var InsProtoMsgIndexTable *ProtoMsgIndexTable
添加init初始实例 "Add By Tse"
func NewProtoMsgIndexTable ¶
func NewProtoMsgIndexTable() *ProtoMsgIndexTable
创建一个ProtoMsgIndex表读取实例
func (*ProtoMsgIndexTable) Load ¶
func (self *ProtoMsgIndexTable) Load(filename string) error
从json文件加载
func (*ProtoMsgIndexTable) RegisterIndexEntry ¶
func (self *ProtoMsgIndexTable) RegisterIndexEntry(name string, indexCallback func(*ProtoMsgIndexTable) error, clearCallback func(*ProtoMsgIndexTable) error)
注册外部索引入口, 索引回调, 清空回调
func (*ProtoMsgIndexTable) RegisterPostEntry ¶
func (self *ProtoMsgIndexTable) RegisterPostEntry(callback func(*ProtoMsgIndexTable) error)
注册所有完成时回调
func (*ProtoMsgIndexTable) RegisterPreEntry ¶
func (self *ProtoMsgIndexTable) RegisterPreEntry(callback func(*ProtoMsgIndexTable) error)
注册加载前回调
func (*ProtoMsgIndexTable) Reload ¶
func (self *ProtoMsgIndexTable) Reload() error
添加Reload方法 "Add By Tse"
Click to show internal directories.
Click to hide internal directories.