源战役客户端
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

33 行
757 B

  1. //this source code was auto-generated by tolua#, do not modify it
  2. using System;
  3. using LuaInterface;
  4. public class ManagerWrap
  5. {
  6. public static void Register(LuaState L)
  7. {
  8. L.BeginClass(typeof(Manager), typeof(Base));
  9. L.RegFunction("__eq", op_Equality);
  10. L.RegFunction("__tostring", ToLua.op_ToString);
  11. L.EndClass();
  12. }
  13. [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
  14. static int op_Equality(IntPtr L)
  15. {
  16. try
  17. {
  18. ToLua.CheckArgsCount(L, 2);
  19. UnityEngine.Object arg0 = (UnityEngine.Object)ToLua.ToObject(L, 1);
  20. UnityEngine.Object arg1 = (UnityEngine.Object)ToLua.ToObject(L, 2);
  21. bool o = arg0 == arg1;
  22. LuaDLL.lua_pushboolean(L, o);
  23. return 1;
  24. }
  25. catch(Exception e)
  26. {
  27. return LuaDLL.toluaL_exception(L, e);
  28. }
  29. }
  30. }