Documentation ¶
Index ¶
Constants ¶
View Source
const ( TypePacket = 1 TypeEntity = 2 )
View Source
const ( O_BLANK_LINE = "\n" O_IMPORT_LINES = "import (\n\t\"github.com/colefan/gsgo/netio/iobuffer\"\n\t\"github.com/colefan/gsgo/netio/packet\"\n)\n" O_SPACE = " " O_TAB = "\t" )
Variables ¶
This section is empty.
Functions ¶
func GenPacketForGoLang ¶
func GenPacketForJs ¶
Types ¶
type MyField ¶
type MyField struct {
// contains filtered or unexported fields
}
func NewMyField ¶
func NewMyField() *MyField
type MyPacket ¶
type MyPacket struct {
// contains filtered or unexported fields
}
func NewMyPacket ¶
func (*MyPacket) GenGoEntityClass ¶
func (*MyPacket) GenGoPacketClass ¶
type MyRoot ¶
type MyRoot struct {
// contains filtered or unexported fields
}
func (*MyRoot) AddFieldInPack ¶
func (*MyRoot) GenGoProtocolFiles ¶
func (*MyRoot) PutMyMsgType ¶
func (*MyRoot) PutMyPacket ¶
Click to show internal directories.
Click to hide internal directories.