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


C# PRoConClient类代码示例

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


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

示例1: Initialize

        public void Initialize(PRoConApplication praApplication, PRoConClient prcClient) {
            this.m_praApplication = praApplication;
            foreach (Account accAccount in this.m_praApplication.AccountsList) {

                if (this.AccountPrivileges.Contains(accAccount.Name) == false) {
                    AccountPrivilege apPrivs = new AccountPrivilege(accAccount, new CPrivileges());
                    apPrivs.AccountPrivilegesChanged += new AccountPrivilege.AccountPrivilegesChangedHandler(apPrivs_AccountPrivilegesChanged);
                    this.AccountPrivileges.Add(apPrivs);
                }
                else {
                    this.AccountPrivileges[accAccount.Name].AccountPrivilegesChanged += new AccountPrivilege.AccountPrivilegesChangedHandler(apPrivs_AccountPrivilegesChanged);
                }

            }
            this.m_praApplication.AccountsList.AccountAdded += new AccountDictionary.AccountAlteredHandler(AccountsList_AccountAdded);
            this.m_praApplication.AccountsList.AccountRemoved += new AccountDictionary.AccountAlteredHandler(AccountsList_AccountRemoved);

            this.m_prcClient = prcClient;

            this.m_prcClient.SocketException += new PRoConClient.SocketExceptionHandler(m_prcClient_SocketException);
            this.m_prcClient.ConnectionFailure += new PRoConClient.FailureHandler(m_prcClient_ConnectionFailure);
            this.m_prcClient.ConnectionClosed += new PRoConClient.EmptyParamterHandler(m_prcClient_ConnectionClosed);
            this.m_prcClient.Game.Login += new FrostbiteClient.EmptyParamterHandler(m_prcClient_CommandLogin);

            this.ClientConnected += new LayerAccountHandler(PRoConLayer_ClientConnected);

            if (this.LayerEnabled == true && this.IsLayerOnline == false) {
                this.StartLayerListener();
            }
        }
开发者ID:ratdart,项目名称:Procon-1,代码行数:30,代码来源:PRoConLayer.cs

示例2: m_prcClient_GameTypeDiscovered

        private void m_prcClient_GameTypeDiscovered(PRoConClient sender) {

            this.Client.Game.TeamKillCountForKick += new FrostbiteClient.LimitHandler(m_prcClient_TeamKillCountForKick);
            this.Client.Game.TeamKillValueForKick += new FrostbiteClient.LimitHandler(m_prcClient_TeamKillValueForKick);
            this.Client.Game.TeamKillValueIncrease += new FrostbiteClient.LimitHandler(m_prcClient_TeamKillValueIncrease);
            this.Client.Game.TeamKillValueDecreasePerSecond += new FrostbiteClient.LimitHandler(m_prcClient_TeamKillValueDecreasePerSecond);
        }
开发者ID:ratdart,项目名称:Procon-1,代码行数:7,代码来源:uscServerSettingsTeamKills.cs

示例3: ChatConsole

        public ChatConsole(PRoConClient prcClient)
            : base()
        {
            this.m_prcClient = prcClient;

            this.FileHostNamePort = this.m_prcClient.FileHostNamePort;
            this.LoggingStartedPrefix = "Chat logging started";
            this.LoggingStoppedPrefix = "Chat logging stopped";
            this.FileNameSuffix = "chat";

            this.LogJoinLeaving = false;
            this.LogKills = false;
            this.Scrolling = true;
            this.DisplayTypeIndex = 0;
            this.DisplayTimeIndex = 0;

            this.MessageHistory = new Queue<ChatMessage>();

            this.m_prcClient.Game.Chat += new FrostbiteClient.RawChatHandler(m_prcClient_Chat);

            this.m_prcClient.PlayerKilled += new PRoConClient.PlayerKilledHandler(m_prcClient_PlayerKilled);
            this.m_prcClient.Game.PlayerJoin += new FrostbiteClient.PlayerEventHandler(m_prcClient_PlayerJoin);
            this.m_prcClient.Game.PlayerLeft += new FrostbiteClient.PlayerLeaveHandler(m_prcClient_PlayerLeft);

            this.m_prcClient.ProconAdminSaying += new PRoConClient.ProconAdminSayingHandler(m_prcClient_ProconAdminSaying);
            this.m_prcClient.ProconAdminYelling += new PRoConClient.ProconAdminYellingHandler(m_prcClient_ProconAdminYelling);

            this.m_prcClient.ReadRemoteChatConsole += new PRoConClient.ReadRemoteConsoleHandler(m_prcClient_ReadRemoteChatConsole);
        }
开发者ID:eaceaser,项目名称:PRoCon,代码行数:29,代码来源:ChatConsole.cs

示例4: Client_GameTypeDiscovered

        private void Client_GameTypeDiscovered(PRoConClient sender) {
            this.Client.Game.TeamBalance += new FrostbiteClient.IsEnabledHandler(Client_TeamBalance);
            this.Client.Game.KillCam += new FrostbiteClient.IsEnabledHandler(Client_KillCam);
            this.Client.Game.MiniMap += new FrostbiteClient.IsEnabledHandler(Client_MiniMap);
            this.Client.Game.CrossHair += new FrostbiteClient.IsEnabledHandler(Client_CrossHair);
            this.Client.Game.ThreeDSpotting += new FrostbiteClient.IsEnabledHandler(Client_ThreeDSpotting);
            this.Client.Game.ThirdPersonVehicleCameras += new FrostbiteClient.IsEnabledHandler(Client_ThirdPersonVehicleCameras);
            this.Client.Game.MiniMapSpotting += new FrostbiteClient.IsEnabledHandler(Client_MiniMapSpotting);

            this.Client.Game.VehicleSpawnAllowed += new FrostbiteClient.IsEnabledHandler(Game_VehicleSpawnAllowed);
            this.Client.Game.VehicleSpawnDelay += new FrostbiteClient.LimitHandler(Game_VehicleSpawnDelay);
            this.Client.Game.BulletDamage += new FrostbiteClient.LimitHandler(Game_BulletDamage);
            this.Client.Game.NameTag += new FrostbiteClient.IsEnabledHandler(Game_NameTag);
            this.Client.Game.RegenerateHealth += new FrostbiteClient.IsEnabledHandler(Game_RegenerateHealth);
            this.Client.Game.OnlySquadLeaderSpawn += new FrostbiteClient.IsEnabledHandler(Game_OnlySquadLeaderSpawn);
            this.Client.Game.UnlockMode += new FrostbiteClient.UnlockModeHandler(Game_UnlockMode);
            this.Client.Game.SoldierHealth += new FrostbiteClient.LimitHandler(Game_SoldierHealth);
            this.Client.Game.Hud += new FrostbiteClient.IsEnabledHandler(Game_Hud);
            this.Client.Game.PlayerManDownTime += new FrostbiteClient.LimitHandler(Game_PlayerManDownTime);
            this.Client.Game.RoundRestartPlayerCount += new FrostbiteClient.LimitHandler(Game_RoundRestartPlayerCount);
            this.Client.Game.RoundStartPlayerCount += new FrostbiteClient.LimitHandler(Game_RoundStartPlayerCount);
            this.Client.Game.PlayerRespawnTime += new FrostbiteClient.LimitHandler(Game_PlayerRespawnTime);
            this.Client.Game.GameModeCounter += new FrostbiteClient.LimitHandler(Game_GameModeCounter);
            this.Client.Game.IdleTimeout += new FrostbiteClient.LimitHandler(Client_IdleTimeout);
            this.Client.Game.IdleBanRounds += new FrostbiteClient.LimitHandler(Game_IdleBanRounds);
            this.Client.Game.ServerMessage += new FrostbiteClient.ServerMessageHandler(Game_ServerMessage);

            this.Client.Game.ReservedSlotsListAggressiveJoin += new FrostbiteClient.IsEnabledHandler(Game_ReservedSlotsListAggressiveJoin);
            this.Client.Game.RoundLockdownCountdown += new FrostbiteClient.LimitHandler(Game_RoundLockdownCountdown);
            this.Client.Game.RoundWarmupTimeout += new FrostbiteClient.LimitHandler(Game_RoundWarmupTimeout);

            this.Client.Game.PremiumStatus += new FrostbiteClient.IsEnabledHandler(Game_PremiumStatus);
        }
开发者ID:ratdart,项目名称:Procon-1,代码行数:33,代码来源:uscServerSettingsConfigGeneratorBF3.cs

示例5: Client_GameTypeDiscovered

 private void Client_GameTypeDiscovered(PRoConClient sender) {
     this.InvokeIfRequired(() => {
         this.Client.Game.ServerName += new FrostbiteClient.ServerNameHandler(m_prcClient_ServerName);
         this.Client.Game.BannerUrl += new FrostbiteClient.BannerUrlHandler(m_prcClient_BannerUrl);
         this.Client.Game.ServerDescription += new FrostbiteClient.ServerDescriptionHandler(m_prcClient_ServerDescription);
     });
 }
开发者ID:bensonk,项目名称:Procon-1,代码行数:7,代码来源:uscServerSettingsDetails.cs

示例6: Client_GameTypeDiscovered

        private void Client_GameTypeDiscovered(PRoConClient sender) {
            this.Client.Game.Ranked += new FrostbiteClient.IsEnabledHandler(Client_Ranked);
            this.Client.Game.Punkbuster += new FrostbiteClient.IsEnabledHandler(Client_Punkbuster);
            this.Client.Game.ServerName += new FrostbiteClient.ServerNameHandler(Client_ServerName);
            this.Client.Game.GamePassword += new FrostbiteClient.PasswordHandler(Client_GamePassword);
            
            this.Client.Game.Hardcore += new FrostbiteClient.IsEnabledHandler(Client_Hardcore);
            
            //this.Client.Game.RankLimit += new FrostbiteClient.LimitHandler(Client_RankLimit);
            //this.Client.Game.TeamBalance += new FrostbiteClient.IsEnabledHandler(Client_TeamBalance);
            this.Client.Game.FriendlyFire += new FrostbiteClient.IsEnabledHandler(Client_FriendlyFire);
            this.Client.Game.PlayerLimit += new FrostbiteClient.LimitHandler(Client_PlayerLimit);
            this.Client.Game.BannerUrl += new FrostbiteClient.BannerUrlHandler(Client_BannerUrl);
            this.Client.Game.ServerDescription += new FrostbiteClient.ServerDescriptionHandler(Client_ServerDescription);

            //this.Client.Game.KillCam += new FrostbiteClient.IsEnabledHandler(Client_KillCam);
            //this.Client.Game.MiniMap += new FrostbiteClient.IsEnabledHandler(Client_MiniMap);
            //this.Client.Game.CrossHair += new FrostbiteClient.IsEnabledHandler(Client_CrossHair);
            //this.Client.Game.ThreeDSpotting += new FrostbiteClient.IsEnabledHandler(Client_ThreeDSpotting);
            //this.Client.Game.ThirdPersonVehicleCameras += new FrostbiteClient.IsEnabledHandler(Client_ThirdPersonVehicleCameras);
            //this.Client.Game.MiniMapSpotting += new FrostbiteClient.IsEnabledHandler(Client_MiniMapSpotting);

            this.Client.Game.TeamKillCountForKick += new FrostbiteClient.LimitHandler(Client_TeamKillCountForKick);
            this.Client.Game.TeamKillValueForKick += new FrostbiteClient.LimitHandler(Client_TeamKillValueForKick);
            this.Client.Game.TeamKillValueIncrease += new FrostbiteClient.LimitHandler(Client_TeamKillValueIncrease);
            this.Client.Game.TeamKillValueDecreasePerSecond += new FrostbiteClient.LimitHandler(Client_TeamKillValueDecreasePerSecond);

            this.Client.Game.IdleTimeout += new FrostbiteClient.LimitHandler(Client_IdleTimeout);
            this.Client.Game.ProfanityFilter += new FrostbiteClient.IsEnabledHandler(Client_ProfanityFilter);

            this.Client.Game.LevelVariablesList += new FrostbiteClient.LevelVariableListHandler(Client_LevelVariablesList);

            this.Client.Game.ListPlaylists += new FrostbiteClient.ListPlaylistsHandler(Client_ListPlaylists);
            this.Client.Game.SupportedMaps += new FrostbiteClient.SupportedMapsHandler(Client_SupportedMaps);
        }
开发者ID:phelom,项目名称:Procon-1,代码行数:35,代码来源:uscServerSettingsConfigGenerator.cs

示例7: Client_GameTypeDiscovered

        private void Client_GameTypeDiscovered(PRoConClient sender) {

            this.Client.Game.ServerName += new FrostbiteClient.ServerNameHandler(m_prcClient_ServerName);
            this.Client.Game.ServerDescription += new FrostbiteClient.ServerDescriptionHandler(m_prcClient_ServerDescription);
            this.Client.Game.ServerMessage += new FrostbiteClient.ServerMessageHandler(m_prcClient_ServerMessage);
            
        }
开发者ID:NSGod,项目名称:Procon-1,代码行数:7,代码来源:uscServerSettingsDetailsBF4.cs

示例8: ListsSettings

        public ListsSettings(PRoConClient prcClient)
        {
            this.m_isManualBansVisible = false;

            this.m_prcClient = prcClient;
            this.m_prcClient.Game.PlaylistSet += new FrostbiteClient.PlaylistSetHandler(m_prcClient_PlaylistSet);
        }
开发者ID:eaceaser,项目名称:PRoCon,代码行数:7,代码来源:ListsSettings.cs

示例9: Client_GameTypeDiscovered

        private void Client_GameTypeDiscovered(PRoConClient sender) {
            this.InvokeIfRequired(() => {
                this.Client.Game.ThirdPersonVehicleCameras += new FrostbiteClient.IsEnabledHandler(Client_ThirdPersonVehicleCameras);
                // deprecated R-5 this.Client.Game.AllUnlocksUnlocked += new FrostbiteClient.IsEnabledHandler(Game_AllUnlocksUnlocked);
                this.Client.Game.TeamBalance += new FrostbiteClient.IsEnabledHandler(Client_TeamBalance);
                this.Client.Game.BuddyOutline += new FrostbiteClient.IsEnabledHandler(Game_BuddyOutline);
                this.Client.Game.BulletDamage += new FrostbiteClient.LimitHandler(Game_BulletDamage);

                this.Client.Game.HudCrosshair += new FrostbiteClient.IsEnabledHandler(Game_HudCrosshair);
                this.Client.Game.HudEnemyTag += new FrostbiteClient.IsEnabledHandler(Game_HudEnemyTag);
                this.Client.Game.HudExplosiveIcons += new FrostbiteClient.IsEnabledHandler(Game_HudExplosiveIcons);
                this.Client.Game.HudGameMode += new FrostbiteClient.IsEnabledHandler(Game_HudGameMode);
                this.Client.Game.HudHealthAmmo += new FrostbiteClient.IsEnabledHandler(Game_HudHealthAmmo);
                this.Client.Game.HudMinimap += new FrostbiteClient.IsEnabledHandler(Game_HudMinimap);

                this.Client.Game.HudObiturary += new FrostbiteClient.IsEnabledHandler(Game_HudObiturary);
                this.Client.Game.HudPointsTracker += new FrostbiteClient.IsEnabledHandler(Game_HudPointsTracker);
                this.Client.Game.HudUnlocks += new FrostbiteClient.IsEnabledHandler(Game_HudUnlocks);

                this.Client.Game.IdleBanRounds += new FrostbiteClient.LimitHandler(Game_IdleBanRounds);
                this.Client.Game.IdleTimeout += new FrostbiteClient.LimitHandler(Client_IdleTimeout);
                this.Client.Game.KillCam += new FrostbiteClient.IsEnabledHandler(Client_KillCam);

                this.Client.Game.PlayerManDownTime += new FrostbiteClient.LimitHandler(Game_PlayerManDownTime);
                this.Client.Game.PlayerRespawnTime += new FrostbiteClient.LimitHandler(Game_PlayerRespawnTime);
                this.Client.Game.Playlist += new FrostbiteClient.PlaylistSetHandler(Game_Playlist);
                this.Client.Game.RegenerateHealth += new FrostbiteClient.IsEnabledHandler(Game_RegenerateHealth);
                this.Client.Game.RoundRestartPlayerCount += new FrostbiteClient.LimitHandler(Game_RoundRestartPlayerCount);
                this.Client.Game.RoundStartPlayerCount += new FrostbiteClient.LimitHandler(Game_RoundStartPlayerCount);

                this.Client.Game.SoldierHealth += new FrostbiteClient.LimitHandler(Game_SoldierHealth);
                this.Client.Game.GameModeCounter += new FrostbiteClient.LimitHandler(Game_GameModeCounter);
                this.Client.Game.ServerMessage += new FrostbiteClient.ServerMessageHandler(Game_ServerMessage);
            });
        }
开发者ID:bensonk,项目名称:Procon-1,代码行数:35,代码来源:uscServerSettingsConfigGeneratorMOHW.cs

示例10: m_prcClient_GameTypeDiscovered

        private void m_prcClient_GameTypeDiscovered(PRoConClient sender) {
            this.InvokeIfRequired(() => {
                this.m_client.ProconPrivileges += new PRoConClient.ProconPrivilegesHandler(m_client_ProconPrivileges);
                this.m_client.FullTextChatModerationListList += new PRoConClient.FullTextChatModerationListListHandler(m_client_FullTextChatModerationListList);

                this.m_client.Game.TextChatModerationListAddPlayer += new FrostbiteClient.TextChatModerationListAddPlayerHandler(Game_TextChatModerationListAddPlayer);
                this.m_client.Game.TextChatModerationListRemovePlayer += new FrostbiteClient.TextChatModerationListRemovePlayerHandler(Game_TextChatModerationListRemovePlayer);
            });
        }
开发者ID:EBassie,项目名称:Procon-1,代码行数:9,代码来源:uscTextChatModerationListcs.cs

示例11: EventCaptures

        public EventCaptures(PRoConClient prcClient)
        {
            this.CapturedEvents = new NotificationList<CapturableEvents>();

            foreach (CapturableEvents item in Enum.GetValues(typeof(CapturableEvents))) {
                this.CapturedEvents.Add(item);
            }

            this.CapturedEvents.ItemAdded += new NotificationList<CapturableEvents>.ItemModifiedHandler(CapturedEvents_ItemAdded);
            this.CapturedEvents.ItemRemoved += new NotificationList<CapturableEvents>.ItemModifiedHandler(CapturedEvents_ItemRemoved);

            this.LogEntries = new Queue<CapturedEvent>();

            this.m_isOptionsVisible = false;
            this.m_iMaximumDisplayedEvents = 200;

            if ((this.m_prcClient = prcClient) != null) {
                this.FileHostNamePort = this.m_prcClient.FileHostNamePort;
                this.LoggingStartedPrefix = "Events logging started";
                this.LoggingStoppedPrefix = "Events logging stopped";
                this.FileNameSuffix = "events";

                this.m_prcClient.ConnectAttempt += new PRoConClient.EmptyParamterHandler(m_prcClient_CommandConnectAttempt);
                this.m_prcClient.ConnectSuccess += new PRoConClient.EmptyParamterHandler(m_prcClient_CommandConnectSuccess);
                this.m_prcClient.ConnectionFailure += new PRoConClient.FailureHandler(m_prcClient_ConnectionFailure);
                this.m_prcClient.SocketException += new PRoConClient.SocketExceptionHandler(m_prcClient_SocketException);
                this.m_prcClient.ConnectionClosed += new PRoConClient.EmptyParamterHandler(m_prcClient_ConnectionClosed);

                this.m_prcClient.Login += new PRoConClient.EmptyParamterHandler(m_prcClient_CommandLogin);
                this.m_prcClient.Logout += new PRoConClient.EmptyParamterHandler(m_prcClient_CommandLogout);
                this.m_prcClient.LoginFailure += new PRoConClient.AuthenticationFailureHandler(m_prcClient_CommandLoginFailure);

                this.m_prcClient.Game.LevelStarted += new FrostbiteClient.EmptyParamterHandler(m_prcClient_LevelStarted);
                this.m_prcClient.Game.LoadingLevel += new FrostbiteClient.LoadingLevelHandler(m_prcClient_LoadingLevel);

                this.m_prcClient.Game.PlayerJoin += new FrostbiteClient.PlayerEventHandler(m_prcClient_PlayerJoin);
                this.m_prcClient.Game.PlayerLeft += new FrostbiteClient.PlayerLeaveHandler(m_prcClient_PlayerLeft);
                this.m_prcClient.Game.PlayerKicked += new FrostbiteClient.PlayerKickedHandler(m_prcClient_PlayerKicked);

                this.m_prcClient.Game.PlayerKickedByAdmin += new FrostbiteClient.PlayerKickedHandler(Game_PlayerKickedByAdmin);
                this.m_prcClient.Game.PlayerKilledByAdmin += new FrostbiteClient.PlayerKilledByAdminHandler(Game_PlayerKilledByAdmin);
                this.m_prcClient.Game.PlayerMovedByAdmin += new FrostbiteClient.PlayerMovedByAdminHandler(Game_PlayerMovedByAdmin);

                this.m_prcClient.PlayerKilled += new PRoConClient.PlayerKilledHandler(m_prcClient_PlayerKilled);
                this.m_prcClient.PunkbusterPlayerUnbanned += new PRoConClient.PunkbusterBanHandler(m_prcClient_PlayerUnbanned);

                this.m_prcClient.Game.BanListAdd += new FrostbiteClient.BanListAddHandler(m_prcClient_BanListAdd);
                this.m_prcClient.Game.BanListRemove += new FrostbiteClient.BanListRemoveHandler(m_prcClient_BanListRemove);

                this.m_prcClient.CompilingPlugins += new PRoConClient.EmptyParamterHandler(m_prcClient_CompilingPlugins);
                this.m_prcClient.RecompilingPlugins += new PRoConClient.EmptyParamterHandler(m_prcClient_RecompilingPlugins);
                this.m_prcClient.PluginsCompiled += new PRoConClient.EmptyParamterHandler(m_prcClient_PluginsCompiled);

                this.m_prcClient.Game.PlayerChangedTeam += new FrostbiteClient.PlayerTeamChangeHandler(m_prcClient_PlayerChangedTeam);
                this.m_prcClient.Game.PlayerChangedSquad += new FrostbiteClient.PlayerTeamChangeHandler(m_prcClient_PlayerChangedSquad);
            }
        }
开发者ID:eaceaser,项目名称:PRoCon,代码行数:57,代码来源:EventCaptures.cs

示例12: m_prcClient_GameTypeDiscovered

        private void m_prcClient_GameTypeDiscovered(PRoConClient sender) {
            this.m_prcClient.EventsLogging.CapturedEvents.ItemAdded += new NotificationList<CapturableEvents>.ItemModifiedHandler(CapturedEvents_ItemAdded);
            this.m_prcClient.EventsLogging.CapturedEvents.ItemRemoved += new NotificationList<CapturableEvents>.ItemModifiedHandler(CapturedEvents_ItemRemoved);

            this.m_prcClient.EventsLogging.MaximumDisplayedEventsChange += new EventCaptures.MaximumDisplayedEventsChangeHandler(LoggedEvents_MaximumDisplayedEventsChange);
            this.m_prcClient.EventsLogging.OptionsVisibleChange += new EventCaptures.OptionsVisibleChangeHandler(LoggedEvents_OptionsHiddenChange);

            this.m_prcClient.EventsLogging.LoggedEvent += new EventCaptures.LoggedEventHandler(LoggedEvents_LoggedEvent);
        }
开发者ID:NSGod,项目名称:Procon-1,代码行数:9,代码来源:uscEventsPanel.cs

示例13: item_GameTypeDiscovered

 private void item_GameTypeDiscovered(PRoConClient sender) {
     sender.ConnectionClosed += new PRoConClient.EmptyParamterHandler(sender_ConnectionClosed);
     sender.ConnectionFailure += new PRoConClient.FailureHandler(sender_ConnectionFailure);
     sender.ConnectSuccess += new PRoConClient.EmptyParamterHandler(sender_ConnectSuccess);
     sender.Login += new PRoConClient.EmptyParamterHandler(sender_Login);
     sender.LoginAttempt += new PRoConClient.EmptyParamterHandler(sender_LoginAttempt);
     sender.LoginFailure += new PRoConClient.AuthenticationFailureHandler(sender_LoginFailure);
     sender.Logout += new PRoConClient.EmptyParamterHandler(sender_Logout);
 }
开发者ID:ratdart,项目名称:Procon-1,代码行数:9,代码来源:BasicConsole.cs

示例14: SetConnection

 public void SetConnection(PRoConClient prcClient) {
     if ((this.m_prcClient = prcClient) != null) {
         if (this.m_prcClient.Game != null) {
             this.m_prcClient_GameTypeDiscovered(prcClient);
         }
         else {
             this.m_prcClient.GameTypeDiscovered += new PRoConClient.EmptyParamterHandler(m_prcClient_GameTypeDiscovered);
         }
     }
 }
开发者ID:NSGod,项目名称:Procon-1,代码行数:10,代码来源:uscEventsPanel.cs

示例15: Client_GameTypeDiscovered

 private void Client_GameTypeDiscovered(PRoConClient sender) {
     this.Client.Game.RankLimit += new FrostbiteClient.LimitHandler(Client_RankLimit);
     this.Client.Game.TeamBalance += new FrostbiteClient.IsEnabledHandler(Client_TeamBalance);
     this.Client.Game.KillCam += new FrostbiteClient.IsEnabledHandler(Client_KillCam);
     this.Client.Game.MiniMap += new FrostbiteClient.IsEnabledHandler(Client_MiniMap);
     this.Client.Game.CrossHair += new FrostbiteClient.IsEnabledHandler(Client_CrossHair);
     this.Client.Game.ThreeDSpotting += new FrostbiteClient.IsEnabledHandler(Client_ThreeDSpotting);
     this.Client.Game.ThirdPersonVehicleCameras += new FrostbiteClient.IsEnabledHandler(Client_ThirdPersonVehicleCameras);
     this.Client.Game.MiniMapSpotting += new FrostbiteClient.IsEnabledHandler(Client_MiniMapSpotting);
 }
开发者ID:ratdart,项目名称:Procon-1,代码行数:10,代码来源:uscServerSettingsConfigGeneratorBFBC2.cs


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