| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- //this source code was auto-generated by tolua#, do not modify it
- using System;
- using LuaInterface;
- public class PreviewCameraEventWrap
- {
- public static void Register(LuaState L)
- {
- L.BeginClass(typeof(PreviewCameraEvent), typeof(UnityEngine.MonoBehaviour), "PreviewCameraEvent");
- L.RegFunction("SetBindEvent", SetBindEvent);
- L.RegFunction("__eq", op_Equality);
- L.RegFunction("__tostring", ToLua.op_ToString);
- L.EndClass();
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int SetBindEvent(IntPtr L)
- {
- try
- {
- ToLua.CheckArgsCount(L, 4);
- PreviewCameraEvent obj = (PreviewCameraEvent)ToLua.CheckObject<PreviewCameraEvent>(L, 1);
- LuaTable arg0 = ToLua.CheckLuaTable(L, 2);
- LuaFunction arg1 = ToLua.CheckLuaFunction(L, 3);
- LuaFunction arg2 = ToLua.CheckLuaFunction(L, 4);
- obj.SetBindEvent(arg0, arg1, arg2);
- return 0;
- }
- catch (Exception e)
- {
- return LuaDLL.toluaL_exception(L, e);
- }
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int op_Equality(IntPtr L)
- {
- try
- {
- ToLua.CheckArgsCount(L, 2);
- UnityEngine.Object arg0 = (UnityEngine.Object)ToLua.ToObject(L, 1);
- UnityEngine.Object arg1 = (UnityEngine.Object)ToLua.ToObject(L, 2);
- bool o = arg0 == arg1;
- LuaDLL.lua_pushboolean(L, o);
- return 1;
- }
- catch (Exception e)
- {
- return LuaDLL.toluaL_exception(L, e);
- }
- }
- }
|