Beispiel #1
0
    static int GetSoliderAvatarId(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);
        int o    = obj.GetSoliderAvatarId(arg0);

        LuaScriptMgr.Push(L, o);
        return(1);
    }
Beispiel #2
0
 /** 获取士兵AvatarId */
 int GetSoliderAvatarId(int legionId)
 {
     return(enterData.GetSoliderAvatarId(legionId));
 }