Exemplo n.º 1
0
 public System.Int32 Invoke_HotFix_Int32_Int32_Int32(HotFix arg0, System.Int32 arg1, System.Int32 arg2)
 {
     LuaAPI.PushLuaFunction(L, reference);
     LuaCallback.PushObject(L, arg0);
     LuaCallback.PushNumber(L, arg1);
     LuaCallback.PushNumber(L, arg2);
     LuaAPI.CallLuaFunction(L, 3, 1);
     System.Int32 arg3 = (System.Int32)LuaCallback.ToNumber(L, -1);
     return(arg3);
 }
Exemplo n.º 2
0
 public static int get_hierarchyCount(System.IntPtr L)
 {
     if (true && LuaAPI.IsObject(L, 1))
     {
         UnityEngine.Transform arg0 = (UnityEngine.Transform)LuaCallback.ToObject(L, 1);
         System.Int32          res  = arg0.hierarchyCount;
         LuaCallback.PushNumber(L, res);
         return(1);
     }
     return(0);
 }
Exemplo n.º 3
0
 public static int get_hideFlags(System.IntPtr L)
 {
     if (true && LuaAPI.IsObject(L, 1))
     {
         UnityEngine.Object    arg0 = (UnityEngine.Object)LuaCallback.ToObject(L, 1);
         UnityEngine.HideFlags res  = arg0.hideFlags;
         LuaCallback.PushNumber(L, (double)res);
         return(1);
     }
     return(0);
 }
Exemplo n.º 4
0
    public static int GetSiblingIndex(System.IntPtr L)
    {
        int nargs = LuaAPI.GetTop(L);

        if (nargs == 1 && LuaAPI.IsObject(L, 1))
        {
            UnityEngine.Transform arg0 = (UnityEngine.Transform)LuaCallback.ToObject(L, 1);
            System.Int32          res  = arg0.GetSiblingIndex();
            LuaCallback.PushNumber(L, res);
            return(1);
        }
        return(0);
    }
Exemplo n.º 5
0
    public static int GetHashCode(System.IntPtr L)
    {
        int nargs = LuaAPI.GetTop(L);

        if (nargs == 1 && LuaAPI.IsObject(L, 1))
        {
            UnityEngine.Object arg0 = (UnityEngine.Object)LuaCallback.ToObject(L, 1);
            System.Int32       res  = arg0.GetHashCode();
            LuaCallback.PushNumber(L, res);
            return(1);
        }
        return(0);
    }
Exemplo n.º 6
0
    public static int Add(System.IntPtr L)
    {
        int nargs = LuaAPI.GetTop(L);

        if (nargs == 3 && LuaAPI.IsObject(L, 1) && LuaAPI.IsNumber(L, 2) && LuaAPI.IsNumber(L, 3))
        {
            HotFix       arg0 = (HotFix)LuaCallback.ToObject(L, 1);
            System.Int32 arg1 = (System.Int32)LuaCallback.ToNumber(L, 2);
            System.Int32 arg2 = (System.Int32)LuaCallback.ToNumber(L, 3);
            System.Int32 res  = arg0.Add(arg1, arg2);
            LuaCallback.PushNumber(L, res);
            return(1);
        }
        return(0);
    }