ttlua

package
v0.0.0-...-17e4cf4 Latest Latest
Warning

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

Go to latest
Published: May 30, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

自动生成的Lua绑定, 对应GO文件ttlua.go

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CallLua_DumpUser

func CallLua_DumpUser(_L *lua.LState, p0 *GameUser) error

自动生成调用lua的方法DumpUser

func CallLua_InitUser

func CallLua_InitUser(_L *lua.LState, p0 *GameUser) error

自动生成调用lua的方法InitUser

func CallLua_SetUserName

func CallLua_SetUserName(_L *lua.LState, p0 *GameUser, p1 string) error

自动生成调用lua的方法SetUserName

func CallLua_fib

func CallLua_fib(_L *lua.LState, p0 int64) (ret int64, err error)

自动生成调用lua的方法fib

func GetLuaState

func GetLuaState() *lua.LState

func Luabind_GameUser

func Luabind_GameUser(L *lua.LState)

func NameArray

func NameArray(n ...string)

@lua:GameUser

Types

type GameUser

type GameUser struct {
	CODE string `xml:"Code_Xml" lua:"CODE"`
	// contains filtered or unexported fields
}

测试GameUser绑定lua @lua

func NewUser

func NewUser(name string) *GameUser

@lua:GameUser

func (*GameUser) AnyArray

func (u *GameUser) AnyArray(n ...string)

@lua

func (*GameUser) CloneOne

func (u *GameUser) CloneOne(o *GameUser)

@lua

func (*GameUser) FFFFOOO

func (u *GameUser) FFFFOOO(name string, id uint64) string

@lua

func (*GameUser) GetName

func (u *GameUser) GetName() string

@lua

func (*GameUser) NoNoName

func (u *GameUser) NoNoName()

@lua:GameUser

func (*GameUser) SetName

func (u *GameUser) SetName(name string)

@lua

func (*GameUser) TestArray

func (u *GameUser) TestArray(i int, n ...string)

@lua

Jump to

Keyboard shortcuts

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