コード例 #1
0
    static int PutMPArray(IntPtr L)
    {
        LuaScriptMgr.CheckArgsCount(L, 3);
        MPObject obj  = LuaScriptMgr.GetNetObject <MPObject>(L, 1);
        string   arg0 = LuaScriptMgr.GetLuaString(L, 2);

        com.gt.entities.IMPArray arg1 = LuaScriptMgr.GetNetObject <com.gt.entities.IMPArray>(L, 3);
        obj.PutMPArray(arg0, arg1);
        return(0);
    }
コード例 #2
0
    static int GetMPArray(IntPtr L)
    {
        LuaScriptMgr.CheckArgsCount(L, 2);
        MPObject obj  = LuaScriptMgr.GetNetObject <MPObject>(L, 1);
        string   arg0 = LuaScriptMgr.GetLuaString(L, 2);

        com.gt.entities.IMPArray o = obj.GetMPArray(arg0);
        LuaScriptMgr.PushObject(L, o);
        return(1);
    }