当前位置: 首页>>代码示例>>C#>>正文


C# FrostbiteClient类代码示例

本文整理汇总了C#中FrostbiteClient的典型用法代码示例。如果您正苦于以下问题:C# FrostbiteClient类的具体用法?C# FrostbiteClient怎么用?C# FrostbiteClient使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


FrostbiteClient类属于命名空间,在下文中一共展示了FrostbiteClient类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: OnSettingsBannerURLSuccess

        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;
        }
开发者ID:eaceaser,项目名称:PRoCon,代码行数:14,代码来源:uscServerSettingsDetails.cs

示例2: Game_ServerType

 // 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);
 }
开发者ID:markrlomas,项目名称:Procon-1,代码行数:4,代码来源:uscServerSettingsConfigGeneratorBFHL.cs

示例3: Game_IsHitIndicator

 private void Game_IsHitIndicator(FrostbiteClient sender, bool isEnabled) {
     this.OnSettingResponse("vars.hitIndicatorsEnabled", isEnabled, true);
 }
开发者ID:phelom,项目名称:Procon-1,代码行数:3,代码来源:uscServerSettingsGameplayBF4.cs

示例4: Game_RoundLockdownCountdown

        void Game_RoundLockdownCountdown(FrostbiteClient sender, int limit)
        {
            this.m_iPreviousSuccessRoundLockdownCountdownPacket = limit;

            this.OnSettingResponse("vars.roundLockdownCountdown", (decimal)limit, true);
        }
开发者ID:phelom,项目名称:Procon-1,代码行数:6,代码来源:uscServerSettingsGameplayBF4.cs

示例5: Game_GameModeCounter

        void Game_GameModeCounter(FrostbiteClient sender, int limit)
        {
            this.m_iPreviousSuccessGameModeCounterPacket = limit;

            this.OnSettingResponse("vars.gameModeCounter", (decimal)limit, true);
        }
开发者ID:phelom,项目名称:Procon-1,代码行数:6,代码来源:uscServerSettingsGameplayBF4.cs

示例6: Game_SoldierHealth

        void Game_SoldierHealth(FrostbiteClient sender, int limit) {
            this.m_iPreviousSuccessSoldierHealth = limit;

            this.OnSettingResponse("vars.soldierhealth", (decimal)limit, true);
        }
开发者ID:phelom,项目名称:Procon-1,代码行数:5,代码来源:uscServerSettingsGameplayBF4.cs

示例7: Game_BulletDamage

        void Game_BulletDamage(FrostbiteClient sender, int limit) {
            this.m_iPreviousSuccessBulletDamage = limit;

            this.OnSettingResponse("vars.bulletdamage", (decimal)limit, true);
        }
开发者ID:phelom,项目名称:Procon-1,代码行数:5,代码来源:uscServerSettingsGameplayBF4.cs

示例8: Game_VehicleSpawnAllowed

 private void Game_VehicleSpawnAllowed(FrostbiteClient sender, bool isEnabled) {
     this.OnSettingResponse("vars.vehiclespawnallowed", isEnabled, true);
 }
开发者ID:phelom,项目名称:Procon-1,代码行数:3,代码来源:uscServerSettingsGameplayBF4.cs

示例9: m_prcClient_CrossHair

 private void m_prcClient_CrossHair(FrostbiteClient sender, bool isEnabled) {
     this.OnSettingResponse("vars.crosshair", isEnabled, true);
 }
开发者ID:phelom,项目名称:Procon-1,代码行数:3,代码来源:uscServerSettingsGameplayBF4.cs

示例10: m_prcClient_ThreeDSpotting

 private void m_prcClient_ThreeDSpotting(FrostbiteClient sender, bool isEnabled) {
     this.OnSettingResponse("vars.3dspotting", isEnabled, true);
 }
开发者ID:phelom,项目名称:Procon-1,代码行数:3,代码来源:uscServerSettingsGameplayBF4.cs

示例11: m_prcClient_ThirdPersonVehicleCameras

 private void m_prcClient_ThirdPersonVehicleCameras(FrostbiteClient sender, bool isEnabled) {
     this.OnSettingResponse("vars.thirdpersonvehiclecameras", isEnabled, true);
 }
开发者ID:phelom,项目名称:Procon-1,代码行数:3,代码来源:uscServerSettingsGameplayBF4.cs

示例12: Game_TeamFactionOverride

 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;
     }
 }
开发者ID:markrlomas,项目名称:Procon-1,代码行数:16,代码来源:uscServerSettingsConfigGeneratorBFHL.cs

示例13: Game_FairFight

 void Game_FairFight(FrostbiteClient sender, bool isEnabled)
 {
     if (isEnabled == true) {
         this.AppendSetting("fairFight.activate");
     } else {
         this.AppendSetting("fairFight.deactivate");
     }
 }
开发者ID:markrlomas,项目名称:Procon-1,代码行数:8,代码来源:uscServerSettingsConfigGeneratorBFHL.cs

示例14: Game_AlwaysAllowSpectators

 void Game_AlwaysAllowSpectators(FrostbiteClient sender, bool isEnabled) {
     this.AppendSetting("vars.alwaysAllowSpectators", isEnabled.ToString());
 }
开发者ID:markrlomas,项目名称:Procon-1,代码行数:3,代码来源:uscServerSettingsConfigGeneratorBFHL.cs

示例15: Game_IsCommander

 void Game_IsCommander(FrostbiteClient sender, bool isEnabled) {
     this.AppendSetting("vars.hacker", isEnabled.ToString());
 }
开发者ID:markrlomas,项目名称:Procon-1,代码行数:3,代码来源:uscServerSettingsConfigGeneratorBFHL.cs


注:本文中的FrostbiteClient类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。