Documentation ¶ Index ¶ type CSharpGen func NewCSharpGen(proto string, onlyCode bool) (*CSharpGen, error) func (g *CSharpGen) Generate() error type Component type Components type Field Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type CSharpGen ¶ type CSharpGen struct { Home string // contains filtered or unexported fields } func NewCSharpGen ¶ func NewCSharpGen(proto string, onlyCode bool) (*CSharpGen, error) func (*CSharpGen) Generate ¶ func (g *CSharpGen) Generate() error type Component ¶ type Component struct { Name string Index int BasePackage string Fields []*Field } type Components ¶ type Components struct { Components []*Component } type Field ¶ type Field struct { ComponentName string ComponentIndex int BasePackage string Package string Name string Index int ServerMessage bool Action10 string //action 10进制 Action16 string //action 16进制 } Source Files ¶ View all Source files gen.go Directories ¶ Show internal Expand all Path Synopsis gentemplate Click to show internal directories. Click to hide internal directories.