Exemple #1
0
 // Token: 0x0600F7C0 RID: 63424 RVA: 0x00416D7C File Offset: 0x00414F7C
 protected override void UpdateView()
 {
     if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_UpdateView_hotfix != null)
     {
         this.m_UpdateView_hotfix.call(new object[]
         {
             this
         });
         return;
     }
     BJLuaObjHelper.IsSkipLuaHotfix = false;
     if (base.IsOpeningUI())
     {
         this.m_guildMassiveCombatUIController.Open();
         ProjectLPlayerContext projectLPlayerContext    = GameManager.Instance.PlayerContext as ProjectLPlayerContext;
         RewardPlayerStatus    beforeRewardPlayerStatus = projectLPlayerContext.GetBeforeRewardPlayerStatus();
         if (beforeRewardPlayerStatus.GuildMassiveCombatEliminateRate != 0)
         {
             int guildMassiveCombatEliminateRate = projectLPlayerContext.GetGuildMassiveCombatEliminateRate();
             if (guildMassiveCombatEliminateRate >= 100)
             {
                 this.m_guildMassiveCombatUIController.ShowCombatResultEffect(true, null);
                 beforeRewardPlayerStatus.GuildMassiveCombatEliminateRate = 0;
             }
         }
     }
     this.m_guildMassiveCombatUIController.GuildMassiveCombatUpdateView();
 }
Exemple #2
0
    public static int get_Level(IntPtr l)
    {
        int result;

        try
        {
            RewardPlayerStatus rewardPlayerStatus = (RewardPlayerStatus)LuaObject.checkSelf(l);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, rewardPlayerStatus.Level);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Exemple #3
0
    public static int get_ClimbTowerFinishedFloorId(IntPtr l)
    {
        int result;

        try
        {
            RewardPlayerStatus rewardPlayerStatus = (RewardPlayerStatus)LuaObject.checkSelf(l);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, rewardPlayerStatus.ClimbTowerFinishedFloorId);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Exemple #4
0
    public static int get_GuildMassiveCombatEliminateRate(IntPtr l)
    {
        int result;

        try
        {
            RewardPlayerStatus rewardPlayerStatus = (RewardPlayerStatus)LuaObject.checkSelf(l);
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, rewardPlayerStatus.GuildMassiveCombatEliminateRate);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Exemple #5
0
    public static int get_RealtTimePVPBattleMode(IntPtr l)
    {
        int result;

        try
        {
            RewardPlayerStatus rewardPlayerStatus = (RewardPlayerStatus)LuaObject.checkSelf(l);
            LuaObject.pushValue(l, true);
            LuaObject.pushEnum(l, (int)rewardPlayerStatus.RealtTimePVPBattleMode);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Exemple #6
0
    public static int constructor(IntPtr l)
    {
        int result;

        try
        {
            RewardPlayerStatus o = new RewardPlayerStatus();
            LuaObject.pushValue(l, true);
            LuaObject.pushValue(l, o);
            result = 2;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Exemple #7
0
    public static int set_RealtTimePVPBattleMode(IntPtr l)
    {
        int result;

        try
        {
            RewardPlayerStatus rewardPlayerStatus = (RewardPlayerStatus)LuaObject.checkSelf(l);
            BattleMode         realtTimePVPBattleMode;
            LuaObject.checkEnum <BattleMode>(l, 2, out realtTimePVPBattleMode);
            rewardPlayerStatus.RealtTimePVPBattleMode = realtTimePVPBattleMode;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Exemple #8
0
    public static int set_RealTimePVPIsPromotion(IntPtr l)
    {
        int result;

        try
        {
            RewardPlayerStatus rewardPlayerStatus = (RewardPlayerStatus)LuaObject.checkSelf(l);
            bool realTimePVPIsPromotion;
            LuaObject.checkType(l, 2, out realTimePVPIsPromotion);
            rewardPlayerStatus.RealTimePVPIsPromotion = realTimePVPIsPromotion;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Exemple #9
0
    public static int set_ArenaLevelID(IntPtr l)
    {
        int result;

        try
        {
            RewardPlayerStatus rewardPlayerStatus = (RewardPlayerStatus)LuaObject.checkSelf(l);
            int arenaLevelID;
            LuaObject.checkType(l, 2, out arenaLevelID);
            rewardPlayerStatus.ArenaLevelID = arenaLevelID;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Exemple #10
0
    public static int set_Energy(IntPtr l)
    {
        int result;

        try
        {
            RewardPlayerStatus rewardPlayerStatus = (RewardPlayerStatus)LuaObject.checkSelf(l);
            int energy;
            LuaObject.checkType(l, 2, out energy);
            rewardPlayerStatus.Energy = energy;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }
Exemple #11
0
    public static int set_NextLevelExp(IntPtr l)
    {
        int result;

        try
        {
            RewardPlayerStatus rewardPlayerStatus = (RewardPlayerStatus)LuaObject.checkSelf(l);
            int nextLevelExp;
            LuaObject.checkType(l, 2, out nextLevelExp);
            rewardPlayerStatus.NextLevelExp = nextLevelExp;
            LuaObject.pushValue(l, true);
            result = 1;
        }
        catch (Exception e)
        {
            result = LuaObject.error(l, e);
        }
        return(result);
    }