Esempio n. 1
0
        public string GetPlayerHearUrl()
        {
            COMDT_BURNING_ENEMY_TEAM_INFO comdt_burning_enemy_team_info = this.Get_CurLevel_ENEMY_TEAM_INFO();

            if (comdt_burning_enemy_team_info.bType == 1)
            {
                return(UT.Bytes2String(comdt_burning_enemy_team_info.stDetail.stRealMan.szHeadUrl));
            }
            return(string.Empty);
        }
Esempio n. 2
0
        public string GetPlayerHearUrl()
        {
            COMDT_BURNING_ENEMY_TEAM_INFO curLevel_ENEMY_TEAM_INFO = this.Get_CurLevel_ENEMY_TEAM_INFO();

            if (curLevel_ENEMY_TEAM_INFO.bType == 1)
            {
                return(UT.Bytes2String(curLevel_ENEMY_TEAM_INFO.stDetail.stRealMan.szHeadUrl));
            }
            return(string.Empty);
        }
Esempio n. 3
0
        public COMDT_PLAYERINFO Get_Current_Enemy_PlayerInfo()
        {
            COMDT_BURNING_ENEMY_TEAM_INFO comdt_burning_enemy_team_info = this.Get_CurLevel_ENEMY_TEAM_INFO();

            if (comdt_burning_enemy_team_info == null)
            {
                return(null);
            }
            if (comdt_burning_enemy_team_info.bType == 1)
            {
                return(comdt_burning_enemy_team_info.stDetail.stRealMan.stEnemyDetail);
            }
            return(comdt_burning_enemy_team_info.stDetail.stRobot.stEnemyDetail);
        }
Esempio n. 4
0
        public COMDT_PLAYERINFO Get_Current_Enemy_PlayerInfo()
        {
            COMDT_BURNING_ENEMY_TEAM_INFO curLevel_ENEMY_TEAM_INFO = this.Get_CurLevel_ENEMY_TEAM_INFO();

            if (curLevel_ENEMY_TEAM_INFO == null)
            {
                return(null);
            }
            COMDT_PLAYERINFO stEnemyDetail;

            if (curLevel_ENEMY_TEAM_INFO.bType == 1)
            {
                stEnemyDetail = curLevel_ENEMY_TEAM_INFO.stDetail.stRealMan.stEnemyDetail;
            }
            else
            {
                stEnemyDetail = curLevel_ENEMY_TEAM_INFO.stDetail.stRobot.stEnemyDetail;
            }
            return(stEnemyDetail);
        }
Esempio n. 5
0
        private void Show_Enemy(COMDT_BURNING_ENEMY_TEAM_INFO info, int levelIndex)
        {
            string                headurl = string.Empty;
            COMDT_PLAYERINFO      stEnemyDetail;
            uint                  dwEnemyTeamForce;
            COMDT_GAME_VIP_CLIENT nobeVip;

            if (info.bType == 1)
            {
                stEnemyDetail    = info.stDetail.get_stRealMan().stEnemyDetail;
                dwEnemyTeamForce = info.dwEnemyTeamForce;
                headurl          = UT.Bytes2String(info.stDetail.get_stRealMan().szHeadUrl);
                nobeVip          = info.stDetail.get_stRealMan().stVip;
            }
            else
            {
                stEnemyDetail    = info.stDetail.get_stRobot().stEnemyDetail;
                dwEnemyTeamForce = info.dwEnemyTeamForce;
                nobeVip          = null;
            }
            this._Show_PlayerInfo(stEnemyDetail, dwEnemyTeamForce, levelIndex, headurl, nobeVip);
        }
Esempio n. 6
0
 public void Set_ENEMY_TEAM_INFO(EDifficultyType type, int levelNo, COMDT_BURNING_ENEMY_TEAM_INFO info)
 {
     this._getLevelDetail(type).astLevelDetail[levelNo].stEnemyDetail = info;
 }