Exemplo n.º 1
0
        public void OnSettingsBannerURLSuccess(FrostbiteClient sender, string strSuccessBannerURL)
        {
            if (String.Compare(this.m_strPreviousSuccessBannerURL, strSuccessBannerURL) != 0) {

                if (String.IsNullOrEmpty(strSuccessBannerURL) == false) {
                    this.DownloadBannerURL(strSuccessBannerURL);
                }
                else {
                    this.cdfBanner_DownloadComplete(null);
                }
            }

            this.m_strPreviousSuccessBannerURL = strSuccessBannerURL;
        }
Exemplo n.º 2
0
 private void m_prcClient_PlayerDisconnected(FrostbiteClient sender, string playerName, string reason)
 {
     this.ProcessEvent(EventType.Playerlist, CapturableEvents.PlayerDisconnected, playerName, m_prcClient.Language.GetDefaultLocalized(reason, String.Format("uscChatPanel.{0}", reason)));
 }
        void Game_RoundLockdownCountdown(FrostbiteClient sender, int limit)
        {
            this.m_iPreviousSuccessRoundLockdownCountdownPacket = limit;

            this.OnSettingResponse("vars.roundLockdownCountdown", (decimal)limit, true);
        }
        void Game_SoldierHealth(FrostbiteClient sender, int limit) {
            this.m_iPreviousSuccessSoldierHealth = limit;

            this.OnSettingResponse("vars.soldierhealth", (decimal)limit, true);
        }
 private void Game_VehicleSpawnAllowed(FrostbiteClient sender, bool isEnabled) {
     this.OnSettingResponse("vars.vehiclespawnallowed", isEnabled, true);
 }
 private void Game_Hud(FrostbiteClient sender, bool isEnabled) {
     this.OnSettingResponse("vars.hud", isEnabled, true);
 }
 private void m_prcClient_KillCam(FrostbiteClient sender, bool isEnabled) {
     this.OnSettingResponse("vars.killcam", isEnabled, true);
 }
 private void m_prcClient_ThirdPersonVehicleCameras(FrostbiteClient sender, bool isEnabled) {
     this.OnSettingResponse("vars.thirdpersonvehiclecameras", isEnabled, true);
 }
Exemplo n.º 9
0
 private void Game_MapListMapAppended(FrostbiteClient sender, Core.Maps.MaplistEntry mapEntry)
 {
     this.InsertMapInMapList(-1, mapEntry);
 }
Exemplo n.º 10
0
 private void Game_MapListGetMapIndices(FrostbiteClient sender, int mapIndex, int nextIndex)
 {
     this.Game_MapListDoUpdateMarkers(mapIndex, nextIndex);
 }
Exemplo n.º 11
0
 private void Game_MapListNextLevelIndex(FrostbiteClient sender, int nextIndex)
 {
     this.Game_MapListDoUpdateMarkers(this.m_iCurMapIndex, nextIndex);
 }
Exemplo n.º 12
0
 private void Game_MapListMapInserted(FrostbiteClient sender, MaplistEntry mapEntry)  // int mapIndex, string mapFileName, int rounds) {
 {
     this.InsertMapInMapList(mapEntry.Index, mapEntry);
 }
Exemplo n.º 13
0
 private void m_prcClient_LevelLoaded(FrostbiteClient sender, string mapFileName, string Gamemode, int roundsPlayed, int roundsTotal)
 {
     this.ProcessEvent(EventType.Map, CapturableEvents.LevelLoaded, mapFileName, Gamemode);
 }
Exemplo n.º 14
0
 private void m_prcClient_LevelStarted(FrostbiteClient sender)
 {
     this.ProcessEvent(EventType.Map, CapturableEvents.LevelStarted);
 }
Exemplo n.º 15
0
 private void m_prcClient_PlayerKicked(FrostbiteClient sender, string strSoldierName, string strReason)
 {
     this.ProcessEvent(EventType.Banlist, CapturableEvents.PlayerKicked, strSoldierName, strReason);
 }
 void Game_IsCommander(FrostbiteClient sender, bool isEnabled) {
     this.AppendSetting("vars.hacker", isEnabled.ToString());
 }
 void Game_FairFight(FrostbiteClient sender, bool isEnabled)
 {
     if (isEnabled == true) {
         this.AppendSetting("fairFight.activate");
     } else {
         this.AppendSetting("fairFight.deactivate");
     }
 }
Exemplo n.º 18
0
 private void m_prcClient_ServerName(FrostbiteClient sender, string strServerName)
 {
     this.OnSettingResponse("vars.servername", strServerName, true);
     this.m_strPreviousSuccessServerName = strServerName;
 }
Exemplo n.º 19
0
 private void m_prcClient_CrossHair(FrostbiteClient sender, bool isEnabled) {
     this.OnSettingResponse("vars.crosshair", isEnabled, true);
 }
 private void m_prcClient_AdminPassword(FrostbiteClient sender, string password)
 {
     this.OnSettingResponse("vars.adminpassword", password, true);
     this.m_strPreviousSuccessAdminPassword = password;
 }
Exemplo n.º 21
0
 private void Game_NameTag(FrostbiteClient sender, bool isEnabled) {
     this.OnSettingResponse("vars.nametag", isEnabled, true);
 }
 private void m_prcClient_MaxPlayerLimit(FrostbiteClient sender, int limit)
 {
     this.InvokeIfRequired(() => { this.numSettingsPlayerLimit.Maximum = (decimal)limit; });
 }
Exemplo n.º 23
0
        private void Game_UnlockMode(FrostbiteClient sender, string mode)
        {
            this.m_strPreviousSuccessUnlockMode = mode.ToString();
            this.OnSettingResponse("vars.unlockmode", mode.ToString(), true);

            this.cboSettingsUnlockMode.SelectedValue = mode.ToString().ToLower();
        }
 private void m_prcClient_PlayerLimit(FrostbiteClient sender, int limit)
 {
     this.OnSettingResponse("vars.playerlimit", (decimal)limit, true);
     this.m_iPreviousSuccessPlayerLimit = limit;
 }
Exemplo n.º 25
0
        void Game_BulletDamage(FrostbiteClient sender, int limit) {
            this.m_iPreviousSuccessBulletDamage = limit;

            this.OnSettingResponse("vars.bulletdamage", (decimal)limit, true);
        }
Exemplo n.º 26
0
 private void m_prcClient_PunkbusterMessage(FrostbiteClient sender, string punkbusterMessage)
 {
     this.Write(punkbusterMessage.TrimEnd('\r', '\n').Replace("{", "{{").Replace("}", "}}"));
 }
Exemplo n.º 27
0
        void Game_GameModeCounter(FrostbiteClient sender, int limit)
        {
            this.m_iPreviousSuccessGameModeCounterPacket = limit;

            this.OnSettingResponse("vars.gameModeCounter", (decimal)limit, true);
        }
Exemplo n.º 28
0
        void m_prcClient_TeamKillValueIncrease(FrostbiteClient sender, int limit)
        {
            this.m_iPreviousSuccessTeamKillValueIncrease = limit;

            this.OnSettingResponse("vars.teamkillvalueincrease", (decimal)limit, true);
        }
Exemplo n.º 29
0
 private void Game_IsHitIndicator(FrostbiteClient sender, bool isEnabled) {
     this.OnSettingResponse("vars.hitIndicatorsEnabled", isEnabled, true);
 }
Exemplo n.º 30
0
        void m_prcClient_TeamKillValueDecreasePerSecond(FrostbiteClient sender, int limit)
        {
            this.m_iPreviousSuccessTeamKillValueDecreasePerSecond = limit;

            this.OnSettingResponse("vars.teamkillvaluedecreasepersecond", (decimal)limit, true);
        }
 // todo this may be wrong. I don't know if the value is readonly even in the startup cfg.
 void Game_ServerType(FrostbiteClient sender, string value) {
     this.AppendSetting("vars.serverType", value);
 }
Exemplo n.º 32
0
 private void m_prcClient_ThirdPersonVehicleCameras(FrostbiteClient sender, bool isEnabled)
 {
     this.OnSettingResponse("vars.thirdpersonvehiclecameras", isEnabled, true);
 }
 void Game_AlwaysAllowSpectators(FrostbiteClient sender, bool isEnabled) {
     this.AppendSetting("vars.alwaysAllowSpectators", isEnabled.ToString());
 }
Exemplo n.º 34
0
 private void m_prcClient_KillCam(FrostbiteClient sender, bool isEnabled)
 {
     this.OnSettingResponse("vars.killcam", isEnabled, true);
 }
 void Game_TeamFactionOverride(FrostbiteClient sender, int teamId, int faction) {
     switch (teamId) {
         case 1:
             this.AppendSetting("vars.teamFactionOverride 1", faction.ToString());
             break;
         case 2:
             this.AppendSetting("vars.teamFactionOverride 2", faction.ToString());
             break;
         case 3:
             this.AppendSetting("vars.teamFactionOverride 3", faction.ToString());
             break;
         case 4:
             this.AppendSetting("vars.teamFactionOverride 4", faction.ToString());
             break;
     }
 }
Exemplo n.º 36
0
 private void m_prcClient_TeamBalance(FrostbiteClient sender, bool isEnabled)
 {
     this.OnSettingResponse("vars.teambalance", isEnabled, true);
 }
Exemplo n.º 37
0
 private void m_prcClient_ThreeDSpotting(FrostbiteClient sender, bool isEnabled) {
     this.OnSettingResponse("vars.3dspotting", isEnabled, true);
 }
Exemplo n.º 38
0
 private void Game_RegenerateHealth(FrostbiteClient sender, bool isEnabled)
 {
     this.OnSettingResponse("vars.regeneratehealth", isEnabled, true);
 }
Exemplo n.º 39
0
 private void m_prcClient_MiniMap(FrostbiteClient sender, bool isEnabled) {
     this.OnSettingResponse("vars.minimap", isEnabled, true);
 }
Exemplo n.º 40
0
        void Game_BulletDamage(FrostbiteClient sender, int limit)
        {
            this.m_iPreviousSuccessBulletDamage = limit;

            this.OnSettingResponse("vars.bulletdamage", (decimal)limit, true);
        }
Exemplo n.º 41
0
 private void m_prcClient_TeamBalance(FrostbiteClient sender, bool isEnabled) {
     this.OnSettingResponse("vars.teambalance", isEnabled, true);
 }
Exemplo n.º 42
0
        void Game_RoundStartPlayerCount(FrostbiteClient sender, int limit)
        {
            this.m_iPreviousSuccessRoundStartPlayerCount = limit;

            this.OnSettingResponse("vars.roundstartplayercount", (decimal)limit, true);
        }
Exemplo n.º 43
0
 private void Game_RegenerateHealth(FrostbiteClient sender, bool isEnabled) {
     this.OnSettingResponse("vars.regeneratehealth", isEnabled, true);
 }
Exemplo n.º 44
0
        void Game_SoldierHealth(FrostbiteClient sender, int limit)
        {
            this.m_iPreviousSuccessSoldierHealth = limit;

            this.OnSettingResponse("vars.soldierhealth", (decimal)limit, true);
        }
Exemplo n.º 45
0
 private void Game_OnlySquadLeaderSpawn(FrostbiteClient sender, bool isEnabled) {
     this.OnSettingResponse("vars.onlysquadleaderspawn", isEnabled, true);
 }
Exemplo n.º 46
0
        void Game_PlayerRespawnTime(FrostbiteClient sender, int limit)
        {
            this.m_iPreviousSuccessPlayerRespawnTimePacket = limit;

            this.OnSettingResponse("vars.playerrespawntime", (decimal)limit, true);
        }
Exemplo n.º 47
0
        private void Game_GunMasterWeaponsPreset(FrostbiteClient sender, int preset)
        {
            this.m_iPreviousSuccessGunMasterWeaponsPreset = preset;
            this.OnSettingResponse("vars.gunMasterWeaponsPreset", (decimal)preset, true);

            this.cboSettingsGunMasterWeaponsPreset.SelectedValue = preset.ToString();
        }
Exemplo n.º 48
0
        void Game_GameModeCounter(FrostbiteClient sender, int limit)
        {
            this.m_iPreviousSuccessGameModeCounterPacket = limit;

            this.OnSettingResponse("vars.gameModeCounter", (decimal)limit, true);
        }
Exemplo n.º 49
0
        void Game_VehicleSpawnDelay(FrostbiteClient sender, int limit) {
            this.m_iPreviousSuccessVehicleSpawnDelaySecond = limit;

            this.OnSettingResponse("vars.vehiclespawndelay", (decimal)limit, true);
        }
Exemplo n.º 50
0
 private void Game_BuddyOutline(FrostbiteClient sender, bool isEnabled)
 {
     this.OnSettingResponse("vars.buddyOutline", isEnabled, true);
 }
Exemplo n.º 51
0
        void Game_RoundStartPlayerCount(FrostbiteClient sender, int limit) {
            if (limit == -1) { limit = 4; }
            this.m_iPreviousSuccessRoundStartPlayerCount = limit;

            this.OnSettingResponse("vars.roundstartplayercount", (decimal)limit, true);
        }
Exemplo n.º 52
0
 private void m_prcClient_HudBuddyInfo(FrostbiteClient sender, bool isEnabled)
 {
     this.OnSettingResponse("vars.hudBuddyInfo", isEnabled, true);
 }
Exemplo n.º 53
0
        void Game_PlayerRespawnTime(FrostbiteClient sender, int limit) {
            this.m_iPreviousSuccessPlayerRespawnTimePacket = limit;

            this.OnSettingResponse("vars.playerrespawntime", (decimal)limit, true);
        }
Exemplo n.º 54
0
 private void m_prcClient_HudClassAbility(FrostbiteClient sender, bool isEnabled)
 {
     this.OnSettingResponse("vars.hudClassAbility", isEnabled, true);
 }
Exemplo n.º 55
0
        void Game_CtfRoundTimeModifier(FrostbiteClient sender, int limit)
        {
            this.m_iPreviousSuccessCtfRoundTimeModifierPacket = limit;

            this.OnSettingResponse("vars.ctfRoundTimeModifier", (decimal)limit, true);
        }
Exemplo n.º 56
0
 private void m_prcClient_HudCrosshair(FrostbiteClient sender, bool isEnabled)
 {
     this.OnSettingResponse("vars.hudCrosshair", isEnabled, true);
 }
Exemplo n.º 57
0
        void Game_RoundWarmupTimeout(FrostbiteClient sender, int limit)
        {
            this.m_iPreviousSuccessRoundWarmupTimeout = limit;

            this.OnSettingResponse("vars.roundWarmupTimeout", (decimal)limit, true);
        }
Exemplo n.º 58
0
 private void Game_HudEnemyTag(FrostbiteClient sender, bool isEnabled)
 {
     this.OnSettingResponse("vars.hudEnemyTag", isEnabled, true);
 }
Exemplo n.º 59
0
 private void Game_IsForceReloadWholeMags(FrostbiteClient sender, bool isEnabled) {
     this.OnSettingResponse("vars.forceReloadWholeMags", isEnabled, true);
 }
Exemplo n.º 60
0
 private void m_prcClient_PlayerAuthenticated(FrostbiteClient sender, string[] parameters)
 {
     this.ProcessEvent(EventType.Playerlist, CapturableEvents.PlayerAuthenticated, parameters);
 }