static int PopObj(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 1); MsgUnPacker obj = (MsgUnPacker)LuaScriptMgr.GetNetObjectSelf(L, 1, "MsgUnPacker"); MsgPack.MessagePackObject o = obj.PopObj(); LuaScriptMgr.PushValue(L, o); return(1); }
static int PopObj(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 1); MsgUnPacker obj = (MsgUnPacker)LuaScriptMgr.GetNetObjectSelf(L, 1, "MsgUnPacker"); MsgPack.MessagePackObject o = obj.PopObj(); LuaScriptMgr.PushValue(L, o); return(1); }