源战役客户端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

58 lines
1.3 KiB

//this source code was auto-generated by tolua#, do not modify it
using System;
using LuaInterface;
public class UIDepthWrap
{
public static void Register(LuaState L)
{
L.BeginClass(typeof(UIDepth), typeof(System.Object));
L.RegFunction("SetUIDepth", SetUIDepth);
L.RegFunction("New", _CreateUIDepth);
L.RegFunction("__tostring", ToLua.op_ToString);
L.EndClass();
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int _CreateUIDepth(IntPtr L)
{
try
{
int count = LuaDLL.lua_gettop(L);
if (count == 0)
{
UIDepth obj = new UIDepth();
ToLua.PushObject(L, obj);
return 1;
}
else
{
return LuaDLL.luaL_throw(L, "invalid arguments to ctor method: UIDepth.New");
}
}
catch(Exception e)
{
return LuaDLL.toluaL_exception(L, e);
}
}
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
static int SetUIDepth(IntPtr L)
{
try
{
ToLua.CheckArgsCount(L, 3);
UnityEngine.GameObject arg0 = (UnityEngine.GameObject)ToLua.CheckUnityObject(L, 1, typeof(UnityEngine.GameObject));
bool arg1 = LuaDLL.luaL_checkboolean(L, 2);
int arg2 = (int)LuaDLL.luaL_checknumber(L, 3);
UIDepth.SetUIDepth(arg0, arg1, arg2);
return 0;
}
catch(Exception e)
{
return LuaDLL.toluaL_exception(L, e);
}
}
}