本文整理汇总了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;
}
示例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);
}
示例3: Game_IsHitIndicator
private void Game_IsHitIndicator(FrostbiteClient sender, bool isEnabled) {
this.OnSettingResponse("vars.hitIndicatorsEnabled", isEnabled, true);
}
示例4: Game_RoundLockdownCountdown
void Game_RoundLockdownCountdown(FrostbiteClient sender, int limit)
{
this.m_iPreviousSuccessRoundLockdownCountdownPacket = limit;
this.OnSettingResponse("vars.roundLockdownCountdown", (decimal)limit, true);
}
示例5: Game_GameModeCounter
void Game_GameModeCounter(FrostbiteClient sender, int limit)
{
this.m_iPreviousSuccessGameModeCounterPacket = limit;
this.OnSettingResponse("vars.gameModeCounter", (decimal)limit, true);
}
示例6: Game_SoldierHealth
void Game_SoldierHealth(FrostbiteClient sender, int limit) {
this.m_iPreviousSuccessSoldierHealth = limit;
this.OnSettingResponse("vars.soldierhealth", (decimal)limit, true);
}
示例7: Game_BulletDamage
void Game_BulletDamage(FrostbiteClient sender, int limit) {
this.m_iPreviousSuccessBulletDamage = limit;
this.OnSettingResponse("vars.bulletdamage", (decimal)limit, true);
}
示例8: Game_VehicleSpawnAllowed
private void Game_VehicleSpawnAllowed(FrostbiteClient sender, bool isEnabled) {
this.OnSettingResponse("vars.vehiclespawnallowed", isEnabled, true);
}
示例9: m_prcClient_CrossHair
private void m_prcClient_CrossHair(FrostbiteClient sender, bool isEnabled) {
this.OnSettingResponse("vars.crosshair", isEnabled, true);
}
示例10: m_prcClient_ThreeDSpotting
private void m_prcClient_ThreeDSpotting(FrostbiteClient sender, bool isEnabled) {
this.OnSettingResponse("vars.3dspotting", isEnabled, true);
}
示例11: m_prcClient_ThirdPersonVehicleCameras
private void m_prcClient_ThirdPersonVehicleCameras(FrostbiteClient sender, bool isEnabled) {
this.OnSettingResponse("vars.thirdpersonvehiclecameras", isEnabled, true);
}
示例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;
}
}
示例13: Game_FairFight
void Game_FairFight(FrostbiteClient sender, bool isEnabled)
{
if (isEnabled == true) {
this.AppendSetting("fairFight.activate");
} else {
this.AppendSetting("fairFight.deactivate");
}
}
示例14: Game_AlwaysAllowSpectators
void Game_AlwaysAllowSpectators(FrostbiteClient sender, bool isEnabled) {
this.AppendSetting("vars.alwaysAllowSpectators", isEnabled.ToString());
}
示例15: Game_IsCommander
void Game_IsCommander(FrostbiteClient sender, bool isEnabled) {
this.AppendSetting("vars.hacker", isEnabled.ToString());
}