C# Класс PRoConEvents.TrueBalancer

Наследование: PRoCon.Core.Plugin.PRoConPluginAPI, IPRoConPluginInterface
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
BalancingTimer ( ) : void
CompareTeams ( ) : void
DebugInfo ( string DebugMessage ) : void
DebugInfoGuard ( string DebugMessage ) : void
DebugInfoSkill ( string DebugMessage ) : void
GetDisplayPluginVariables ( ) : List
GetPluginAuthor ( ) : string
GetPluginDescription ( ) : string
GetPluginName ( ) : string
GetPluginVariables ( ) : List
GetPluginVersion ( ) : string
GetPluginWebsite ( ) : string
GetSoldierNames ( ) : List
KeepAllSquads ( ) : void
KeepClanMates ( ) : void
KeepNoSquads ( ) : void
LogMove ( string MoveMsg ) : void
OnCommandScrambleNow ( string strSpeaker, string strText, PRoCon.Core.Plugin.Commands.MatchCommand mtcCommand, CapturedCommand capCommand, PRoCon.Core.CPlayerSubset subMatchedScope ) : void
OnCommandScrambleRound ( string strSpeaker, string strText, PRoCon.Core.Plugin.Commands.MatchCommand mtcCommand, CapturedCommand capCommand, PRoCon.Core.CPlayerSubset subMatchedScope ) : void
OnCommandTBForceMove ( string strSpeaker, string strText, PRoCon.Core.Plugin.Commands.MatchCommand mtcCommand, CapturedCommand capCommand, PRoCon.Core.CPlayerSubset subMatchedScope ) : void
OnCommandTBMove ( string strSpeaker, string strText, PRoCon.Core.Plugin.Commands.MatchCommand mtcCommand, CapturedCommand capCommand, PRoCon.Core.CPlayerSubset subMatchedScope ) : void
OnLevelLoaded ( string mapFileName, string Gamemode, int roundsPlayed, int roundsTotal ) : void
OnListPlayers ( List lstPlayers, PRoCon.Core.CPlayerSubset cpsSubset ) : void
OnLogin ( ) : void
OnPlayerKilled ( PRoCon.Core.Kill killInfo ) : void
OnPlayerLeft ( PRoCon.Core.Players.CPlayerInfo cpiPlayer ) : void
OnPlayerMovedByAdmin ( string soldierName, int destinationTeamId, int destinationSquadId, bool forceKilled ) : void
OnPlayerSpawned ( string soldierName, PRoCon.Core.Players.Inventory spawnedInventory ) : void
OnPlayerSquadChange ( string soldierName, int teamId, int squadId ) : void
OnPlayerTeamChange ( string strSoldierName, int iTeamID, int iSquadID ) : void
OnPluginDisable ( ) : void
OnPluginEnable ( ) : void
OnPluginLoaded ( string strHostName, string strPort, string strPRoConVersion ) : void
OnReservedSlotsList ( List soldierNames ) : void
OnResponseError ( List lstRequestWords, string strError ) : void
OnRestartLevel ( ) : void
OnRoundOver ( int iWinningTeamID ) : void
OnRoundOverPlayers ( List lstPlayers ) : void
OnRoundOverTeamScores ( List teamScores ) : void
OnRunNextLevel ( ) : void
OnScrambleViaPRoCon ( ) : void
OnServerInfo ( PRoCon.Core.CServerInfo csiServerInfo ) : void
ScrambleNow ( ) : void
SetPluginVariable ( string strVariable, string strValue ) : void
StartScrambler ( ) : void
TBValue ( double TBrank, double TBskill, double TBspm, double TBspmcombat, double TBkdr ) : double
TrueBalancer ( ) : System
startBalancing ( ) : void

Приватные методы

Метод Описание
PostBalanceValue ( string message ) : void
RegisterAllCommands ( ) : void
UnregisterAllCommands ( ) : void
UpdateCheck ( ) : void

Описание методов

BalancingTimer() публичный Метод

public BalancingTimer ( ) : void
Результат void

CompareTeams() публичный Метод

public CompareTeams ( ) : void
Результат void

DebugInfo() публичный Метод

public DebugInfo ( string DebugMessage ) : void
DebugMessage string
Результат void

DebugInfoGuard() публичный Метод

public DebugInfoGuard ( string DebugMessage ) : void
DebugMessage string
Результат void

DebugInfoSkill() публичный Метод

public DebugInfoSkill ( string DebugMessage ) : void
DebugMessage string
Результат void

GetDisplayPluginVariables() публичный Метод

public GetDisplayPluginVariables ( ) : List
Результат List

GetPluginAuthor() публичный Метод

public GetPluginAuthor ( ) : string
Результат string

GetPluginDescription() публичный Метод

public GetPluginDescription ( ) : string
Результат string

GetPluginName() публичный Метод

public GetPluginName ( ) : string
Результат string

GetPluginVariables() публичный Метод

public GetPluginVariables ( ) : List
Результат List

GetPluginVersion() публичный Метод

public GetPluginVersion ( ) : string
Результат string

GetPluginWebsite() публичный Метод

public GetPluginWebsite ( ) : string
Результат string

GetSoldierNames() публичный Метод

public GetSoldierNames ( ) : List
Результат List

KeepAllSquads() публичный Метод

public KeepAllSquads ( ) : void
Результат void

KeepClanMates() публичный Метод

public KeepClanMates ( ) : void
Результат void

KeepNoSquads() публичный Метод

public KeepNoSquads ( ) : void
Результат void

LogMove() публичный Метод

public LogMove ( string MoveMsg ) : void
MoveMsg string
Результат void

OnCommandScrambleNow() публичный Метод

public OnCommandScrambleNow ( string strSpeaker, string strText, PRoCon.Core.Plugin.Commands.MatchCommand mtcCommand, CapturedCommand capCommand, PRoCon.Core.CPlayerSubset subMatchedScope ) : void
strSpeaker string
strText string
mtcCommand PRoCon.Core.Plugin.Commands.MatchCommand
capCommand CapturedCommand
subMatchedScope PRoCon.Core.CPlayerSubset
Результат void

OnCommandScrambleRound() публичный Метод

public OnCommandScrambleRound ( string strSpeaker, string strText, PRoCon.Core.Plugin.Commands.MatchCommand mtcCommand, CapturedCommand capCommand, PRoCon.Core.CPlayerSubset subMatchedScope ) : void
strSpeaker string
strText string
mtcCommand PRoCon.Core.Plugin.Commands.MatchCommand
capCommand CapturedCommand
subMatchedScope PRoCon.Core.CPlayerSubset
Результат void

OnCommandTBForceMove() публичный Метод

public OnCommandTBForceMove ( string strSpeaker, string strText, PRoCon.Core.Plugin.Commands.MatchCommand mtcCommand, CapturedCommand capCommand, PRoCon.Core.CPlayerSubset subMatchedScope ) : void
strSpeaker string
strText string
mtcCommand PRoCon.Core.Plugin.Commands.MatchCommand
capCommand CapturedCommand
subMatchedScope PRoCon.Core.CPlayerSubset
Результат void

OnCommandTBMove() публичный Метод

public OnCommandTBMove ( string strSpeaker, string strText, PRoCon.Core.Plugin.Commands.MatchCommand mtcCommand, CapturedCommand capCommand, PRoCon.Core.CPlayerSubset subMatchedScope ) : void
strSpeaker string
strText string
mtcCommand PRoCon.Core.Plugin.Commands.MatchCommand
capCommand CapturedCommand
subMatchedScope PRoCon.Core.CPlayerSubset
Результат void

OnLevelLoaded() публичный Метод

public OnLevelLoaded ( string mapFileName, string Gamemode, int roundsPlayed, int roundsTotal ) : void
mapFileName string
Gamemode string
roundsPlayed int
roundsTotal int
Результат void

OnListPlayers() публичный Метод

public OnListPlayers ( List lstPlayers, PRoCon.Core.CPlayerSubset cpsSubset ) : void
lstPlayers List
cpsSubset PRoCon.Core.CPlayerSubset
Результат void

OnLogin() публичный Метод

public OnLogin ( ) : void
Результат void

OnPlayerKilled() публичный Метод

public OnPlayerKilled ( PRoCon.Core.Kill killInfo ) : void
killInfo PRoCon.Core.Kill
Результат void

OnPlayerLeft() публичный Метод

public OnPlayerLeft ( PRoCon.Core.Players.CPlayerInfo cpiPlayer ) : void
cpiPlayer PRoCon.Core.Players.CPlayerInfo
Результат void

OnPlayerMovedByAdmin() публичный Метод

public OnPlayerMovedByAdmin ( string soldierName, int destinationTeamId, int destinationSquadId, bool forceKilled ) : void
soldierName string
destinationTeamId int
destinationSquadId int
forceKilled bool
Результат void

OnPlayerSpawned() публичный Метод

public OnPlayerSpawned ( string soldierName, PRoCon.Core.Players.Inventory spawnedInventory ) : void
soldierName string
spawnedInventory PRoCon.Core.Players.Inventory
Результат void

OnPlayerSquadChange() публичный Метод

public OnPlayerSquadChange ( string soldierName, int teamId, int squadId ) : void
soldierName string
teamId int
squadId int
Результат void

OnPlayerTeamChange() публичный Метод

public OnPlayerTeamChange ( string strSoldierName, int iTeamID, int iSquadID ) : void
strSoldierName string
iTeamID int
iSquadID int
Результат void

OnPluginDisable() публичный Метод

public OnPluginDisable ( ) : void
Результат void

OnPluginEnable() публичный Метод

public OnPluginEnable ( ) : void
Результат void

OnPluginLoaded() публичный Метод

public OnPluginLoaded ( string strHostName, string strPort, string strPRoConVersion ) : void
strHostName string
strPort string
strPRoConVersion string
Результат void

OnReservedSlotsList() публичный Метод

public OnReservedSlotsList ( List soldierNames ) : void
soldierNames List
Результат void

OnResponseError() публичный Метод

public OnResponseError ( List lstRequestWords, string strError ) : void
lstRequestWords List
strError string
Результат void

OnRestartLevel() публичный Метод

public OnRestartLevel ( ) : void
Результат void

OnRoundOver() публичный Метод

public OnRoundOver ( int iWinningTeamID ) : void
iWinningTeamID int
Результат void

OnRoundOverPlayers() публичный Метод

public OnRoundOverPlayers ( List lstPlayers ) : void
lstPlayers List
Результат void

OnRoundOverTeamScores() публичный Метод

public OnRoundOverTeamScores ( List teamScores ) : void
teamScores List
Результат void

OnRunNextLevel() публичный Метод

public OnRunNextLevel ( ) : void
Результат void

OnScrambleViaPRoCon() публичный Метод

public OnScrambleViaPRoCon ( ) : void
Результат void

OnServerInfo() публичный Метод

public OnServerInfo ( PRoCon.Core.CServerInfo csiServerInfo ) : void
csiServerInfo PRoCon.Core.CServerInfo
Результат void

ScrambleNow() публичный Метод

public ScrambleNow ( ) : void
Результат void

SetPluginVariable() публичный Метод

public SetPluginVariable ( string strVariable, string strValue ) : void
strVariable string
strValue string
Результат void

StartScrambler() публичный Метод

public StartScrambler ( ) : void
Результат void

TBValue() публичный Метод

public TBValue ( double TBrank, double TBskill, double TBspm, double TBspmcombat, double TBkdr ) : double
TBrank double
TBskill double
TBspm double
TBspmcombat double
TBkdr double
Результат double

TrueBalancer() публичный Метод

public TrueBalancer ( ) : System
Результат System

startBalancing() публичный Метод

public startBalancing ( ) : void
Результат void