cfg

package
v0.0.59 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const TypeId_DataChannel = -2063873377
View Source
const TypeId_DataInitialClothing = 68940936
View Source
const TypeId_DataInitialProps = 321863792
View Source
const TypeId_DataItemRule = 189278867
View Source
const TypeId_DataNickName = -918453646
View Source
const TypeId_DataScene = 186785064
View Source
const TypeId_DemoReward = -920121926
View Source
const TypeId_ItemItem = 2107285806
View Source
const TypeId_vector2 = 337790799
View Source
const TypeId_vector3 = 337790800
View Source
const TypeId_vector4 = 337790801

Variables

This section is empty.

Functions

func Newvector2

func Newvector2(_buf *luban.ByteBuf) (_v *vector2, err error)

func Newvector3

func Newvector3(_buf *luban.ByteBuf) (_v *vector3, err error)

func Newvector4

func Newvector4(_buf *luban.ByteBuf) (_v *vector4, err error)

Types

type ByteBufLoader

type ByteBufLoader func(string) (*luban.ByteBuf, error)

type DataChannel added in v0.0.17

type DataChannel struct {
	Id       int32
	Name     string
	Level    int32
	Catpid   int32
	Ordinary int32
	Vip      int32
}

func NewDataChannel added in v0.0.17

func NewDataChannel(_buf *luban.ByteBuf) (_v *DataChannel, err error)

func (*DataChannel) GetTypeId added in v0.0.17

func (*DataChannel) GetTypeId() int32

type DataInitialClothing added in v0.0.57

type DataInitialClothing struct {
	Id      int32
	TypeOne int32
	TypeTwo int32
	Sex     int32
	Items   string
	Desc    string
}

func NewDataInitialClothing added in v0.0.57

func NewDataInitialClothing(_buf *luban.ByteBuf) (_v *DataInitialClothing, err error)

func (*DataInitialClothing) GetTypeId added in v0.0.57

func (*DataInitialClothing) GetTypeId() int32

type DataInitialProps added in v0.0.57

type DataInitialProps struct {
	Id    int32
	Type  string
	Items string
	Desc  string
}

func NewDataInitialProps added in v0.0.57

func NewDataInitialProps(_buf *luban.ByteBuf) (_v *DataInitialProps, err error)

func (*DataInitialProps) GetTypeId added in v0.0.57

func (*DataInitialProps) GetTypeId() int32

type DataItemRule added in v0.0.57

type DataItemRule struct {
	Id    int32
	Type1 string
	Type2 string
	Num1  int32
	Num2  int32
	Num3  string
}

func NewDataItemRule added in v0.0.57

func NewDataItemRule(_buf *luban.ByteBuf) (_v *DataItemRule, err error)

func (*DataItemRule) GetTypeId added in v0.0.57

func (*DataItemRule) GetTypeId() int32

type DataNickName added in v0.0.14

type DataNickName struct {
	Id      int32
	Surname string
	Name    string
}

func NewDataNickName added in v0.0.14

func NewDataNickName(_buf *luban.ByteBuf) (_v *DataNickName, err error)

func (*DataNickName) GetTypeId added in v0.0.14

func (*DataNickName) GetTypeId() int32

type DataScene added in v0.0.17

type DataScene struct {
	Id         int32
	Name       string
	Syn        int32
	Coordinate string
	Desc       string
}

func NewDataScene added in v0.0.17

func NewDataScene(_buf *luban.ByteBuf) (_v *DataScene, err error)

func (*DataScene) GetTypeId added in v0.0.17

func (*DataScene) GetTypeId() int32

type DataTbChannel added in v0.0.17

type DataTbChannel struct {
	// contains filtered or unexported fields
}

func NewDataTbChannel added in v0.0.17

func NewDataTbChannel(_buf *luban.ByteBuf) (*DataTbChannel, error)

func (*DataTbChannel) Get added in v0.0.17

func (table *DataTbChannel) Get(key int32) *DataChannel

func (*DataTbChannel) GetDataList added in v0.0.17

func (table *DataTbChannel) GetDataList() []*DataChannel

func (*DataTbChannel) GetDataMap added in v0.0.17

func (table *DataTbChannel) GetDataMap() map[int32]*DataChannel

type DataTbInitialClothing added in v0.0.57

type DataTbInitialClothing struct {
	// contains filtered or unexported fields
}

func NewDataTbInitialClothing added in v0.0.57

func NewDataTbInitialClothing(_buf *luban.ByteBuf) (*DataTbInitialClothing, error)

func (*DataTbInitialClothing) Get added in v0.0.57

func (*DataTbInitialClothing) GetDataList added in v0.0.57

func (table *DataTbInitialClothing) GetDataList() []*DataInitialClothing

func (*DataTbInitialClothing) GetDataMap added in v0.0.57

func (table *DataTbInitialClothing) GetDataMap() map[int32]*DataInitialClothing

type DataTbInitialProps added in v0.0.57

type DataTbInitialProps struct {
	// contains filtered or unexported fields
}

func NewDataTbInitialProps added in v0.0.57

func NewDataTbInitialProps(_buf *luban.ByteBuf) (*DataTbInitialProps, error)

func (*DataTbInitialProps) Get added in v0.0.57

func (table *DataTbInitialProps) Get(key int32) *DataInitialProps

func (*DataTbInitialProps) GetDataList added in v0.0.57

func (table *DataTbInitialProps) GetDataList() []*DataInitialProps

func (*DataTbInitialProps) GetDataMap added in v0.0.57

func (table *DataTbInitialProps) GetDataMap() map[int32]*DataInitialProps

type DataTbItemRule added in v0.0.57

type DataTbItemRule struct {
	// contains filtered or unexported fields
}

func NewDataTbItemRule added in v0.0.57

func NewDataTbItemRule(_buf *luban.ByteBuf) (*DataTbItemRule, error)

func (*DataTbItemRule) Get added in v0.0.57

func (table *DataTbItemRule) Get(key int32) *DataItemRule

func (*DataTbItemRule) GetDataList added in v0.0.57

func (table *DataTbItemRule) GetDataList() []*DataItemRule

func (*DataTbItemRule) GetDataMap added in v0.0.57

func (table *DataTbItemRule) GetDataMap() map[int32]*DataItemRule

type DataTbNickName added in v0.0.14

type DataTbNickName struct {
	// contains filtered or unexported fields
}

func NewDataTbNickName added in v0.0.14

func NewDataTbNickName(_buf *luban.ByteBuf) (*DataTbNickName, error)

func (*DataTbNickName) Get added in v0.0.14

func (table *DataTbNickName) Get(key int32) *DataNickName

func (*DataTbNickName) GetDataList added in v0.0.14

func (table *DataTbNickName) GetDataList() []*DataNickName

func (*DataTbNickName) GetDataMap added in v0.0.14

func (table *DataTbNickName) GetDataMap() map[int32]*DataNickName

type DataTbScene added in v0.0.17

type DataTbScene struct {
	// contains filtered or unexported fields
}

func NewDataTbScene added in v0.0.17

func NewDataTbScene(_buf *luban.ByteBuf) (*DataTbScene, error)

func (*DataTbScene) Get added in v0.0.17

func (table *DataTbScene) Get(key int32) *DataScene

func (*DataTbScene) GetDataList added in v0.0.17

func (table *DataTbScene) GetDataList() []*DataScene

func (*DataTbScene) GetDataMap added in v0.0.17

func (table *DataTbScene) GetDataMap() map[int32]*DataScene

type DemoReward

type DemoReward struct {
	Id    int32
	Name  string
	Count int32
}

func NewDemoReward

func NewDemoReward(_buf *luban.ByteBuf) (_v *DemoReward, err error)

func (*DemoReward) GetTypeId

func (*DemoReward) GetTypeId() int32

type DemoTbReward

type DemoTbReward struct {
	// contains filtered or unexported fields
}

func NewDemoTbReward

func NewDemoTbReward(_buf *luban.ByteBuf) (*DemoTbReward, error)

func (*DemoTbReward) Get

func (table *DemoTbReward) Get(key int32) *DemoReward

func (*DemoTbReward) GetDataList

func (table *DemoTbReward) GetDataList() []*DemoReward

func (*DemoTbReward) GetDataMap

func (table *DemoTbReward) GetDataMap() map[int32]*DemoReward

type ItemItem

type ItemItem struct {
	Id    int32
	Name  string
	Count int32
}

func NewItemItem

func NewItemItem(_buf *luban.ByteBuf) (_v *ItemItem, err error)

func (*ItemItem) GetTypeId

func (*ItemItem) GetTypeId() int32

type ItemTbItem

type ItemTbItem struct {
	// contains filtered or unexported fields
}

func NewItemTbItem

func NewItemTbItem(_buf *luban.ByteBuf) (*ItemTbItem, error)

func (*ItemTbItem) Get

func (table *ItemTbItem) Get(key int32) *ItemItem

func (*ItemTbItem) GetDataList

func (table *ItemTbItem) GetDataList() []*ItemItem

func (*ItemTbItem) GetDataMap

func (table *ItemTbItem) GetDataMap() map[int32]*ItemItem

type Tables

type Tables struct {
	TbItem            *ItemTbItem
	TbReward          *DemoTbReward
	TbNickName        *DataTbNickName
	TbChannel         *DataTbChannel
	TbScene           *DataTbScene
	TbItemRule        *DataTbItemRule
	TbInitialClothing *DataTbInitialClothing
	TbInitialProps    *DataTbInitialProps
}

func NewTables

func NewTables(loader ByteBufLoader) (*Tables, error)

Jump to

Keyboard shortcuts

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