static int GetList(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 2); FriendData obj = (FriendData)LuaScriptMgr.GetNetObjectSelf(L, 1, "FriendData"); fogs.proto.msg.FriendOperationType arg0 = (fogs.proto.msg.FriendOperationType)LuaScriptMgr.GetNetObject(L, 2, typeof(fogs.proto.msg.FriendOperationType)); LuaInterface.LuaTable o = obj.GetList(arg0); LuaScriptMgr.Push(L, o); return(1); }