static int GetSoliderProps(IntPtr L) { LuaScriptMgr.CheckArgsCount(L, 2); Games.Module.Wars.WarEnterData obj = (Games.Module.Wars.WarEnterData)LuaScriptMgr.GetNetObjectSelf(L, 1, "Games.Module.Wars.WarEnterData"); int arg0 = (int)LuaScriptMgr.GetNumber(L, 2); Games.Module.Props.Prop[] o = obj.GetSoliderProps(arg0); LuaScriptMgr.PushArray(L, o); return(1); }
/** 获取士兵模块属性 */ Prop[] GetSoliderProps(int legionId) { return(enterData.GetSoliderProps(legionId)); }