C# Class PRoConEvents.TrueBalancer

Inheritance: PRoCon.Core.Plugin.PRoConPluginAPI, IPRoConPluginInterface
Afficher le fichier Open project: Pure-Battlefield/TrueBalancer-PURE Class Usage Examples

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
PostBalanceValue ( string message ) : void
RegisterAllCommands ( ) : void
UnregisterAllCommands ( ) : void
UpdateCheck ( ) : void

Method Details

BalancingTimer() public méthode

public BalancingTimer ( ) : void
Résultat void

CompareTeams() public méthode

public CompareTeams ( ) : void
Résultat void

DebugInfo() public méthode

public DebugInfo ( string DebugMessage ) : void
DebugMessage string
Résultat void

DebugInfoGuard() public méthode

public DebugInfoGuard ( string DebugMessage ) : void
DebugMessage string
Résultat void

DebugInfoSkill() public méthode

public DebugInfoSkill ( string DebugMessage ) : void
DebugMessage string
Résultat void

GetDisplayPluginVariables() public méthode

public GetDisplayPluginVariables ( ) : List
Résultat List

GetPluginAuthor() public méthode

public GetPluginAuthor ( ) : string
Résultat string

GetPluginDescription() public méthode

public GetPluginDescription ( ) : string
Résultat string

GetPluginName() public méthode

public GetPluginName ( ) : string
Résultat string

GetPluginVariables() public méthode

public GetPluginVariables ( ) : List
Résultat List

GetPluginVersion() public méthode

public GetPluginVersion ( ) : string
Résultat string

GetPluginWebsite() public méthode

public GetPluginWebsite ( ) : string
Résultat string

GetSoldierNames() public méthode

public GetSoldierNames ( ) : List
Résultat List

KeepAllSquads() public méthode

public KeepAllSquads ( ) : void
Résultat void

KeepClanMates() public méthode

public KeepClanMates ( ) : void
Résultat void

KeepNoSquads() public méthode

public KeepNoSquads ( ) : void
Résultat void

LogMove() public méthode

public LogMove ( string MoveMsg ) : void
MoveMsg string
Résultat void

OnCommandScrambleNow() public méthode

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
Résultat void

OnCommandScrambleRound() public méthode

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
Résultat void

OnCommandTBForceMove() public méthode

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
Résultat void

OnCommandTBMove() public méthode

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
Résultat void

OnLevelLoaded() public méthode

public OnLevelLoaded ( string mapFileName, string Gamemode, int roundsPlayed, int roundsTotal ) : void
mapFileName string
Gamemode string
roundsPlayed int
roundsTotal int
Résultat void

OnListPlayers() public méthode

public OnListPlayers ( List lstPlayers, PRoCon.Core.CPlayerSubset cpsSubset ) : void
lstPlayers List
cpsSubset PRoCon.Core.CPlayerSubset
Résultat void

OnLogin() public méthode

public OnLogin ( ) : void
Résultat void

OnPlayerKilled() public méthode

public OnPlayerKilled ( PRoCon.Core.Kill killInfo ) : void
killInfo PRoCon.Core.Kill
Résultat void

OnPlayerLeft() public méthode

public OnPlayerLeft ( PRoCon.Core.Players.CPlayerInfo cpiPlayer ) : void
cpiPlayer PRoCon.Core.Players.CPlayerInfo
Résultat void

OnPlayerMovedByAdmin() public méthode

public OnPlayerMovedByAdmin ( string soldierName, int destinationTeamId, int destinationSquadId, bool forceKilled ) : void
soldierName string
destinationTeamId int
destinationSquadId int
forceKilled bool
Résultat void

OnPlayerSpawned() public méthode

public OnPlayerSpawned ( string soldierName, PRoCon.Core.Players.Inventory spawnedInventory ) : void
soldierName string
spawnedInventory PRoCon.Core.Players.Inventory
Résultat void

OnPlayerSquadChange() public méthode

public OnPlayerSquadChange ( string soldierName, int teamId, int squadId ) : void
soldierName string
teamId int
squadId int
Résultat void

OnPlayerTeamChange() public méthode

public OnPlayerTeamChange ( string strSoldierName, int iTeamID, int iSquadID ) : void
strSoldierName string
iTeamID int
iSquadID int
Résultat void

OnPluginDisable() public méthode

public OnPluginDisable ( ) : void
Résultat void

OnPluginEnable() public méthode

public OnPluginEnable ( ) : void
Résultat void

OnPluginLoaded() public méthode

public OnPluginLoaded ( string strHostName, string strPort, string strPRoConVersion ) : void
strHostName string
strPort string
strPRoConVersion string
Résultat void

OnReservedSlotsList() public méthode

public OnReservedSlotsList ( List soldierNames ) : void
soldierNames List
Résultat void

OnResponseError() public méthode

public OnResponseError ( List lstRequestWords, string strError ) : void
lstRequestWords List
strError string
Résultat void

OnRestartLevel() public méthode

public OnRestartLevel ( ) : void
Résultat void

OnRoundOver() public méthode

public OnRoundOver ( int iWinningTeamID ) : void
iWinningTeamID int
Résultat void

OnRoundOverPlayers() public méthode

public OnRoundOverPlayers ( List lstPlayers ) : void
lstPlayers List
Résultat void

OnRoundOverTeamScores() public méthode

public OnRoundOverTeamScores ( List teamScores ) : void
teamScores List
Résultat void

OnRunNextLevel() public méthode

public OnRunNextLevel ( ) : void
Résultat void

OnScrambleViaPRoCon() public méthode

public OnScrambleViaPRoCon ( ) : void
Résultat void

OnServerInfo() public méthode

public OnServerInfo ( PRoCon.Core.CServerInfo csiServerInfo ) : void
csiServerInfo PRoCon.Core.CServerInfo
Résultat void

ScrambleNow() public méthode

public ScrambleNow ( ) : void
Résultat void

SetPluginVariable() public méthode

public SetPluginVariable ( string strVariable, string strValue ) : void
strVariable string
strValue string
Résultat void

StartScrambler() public méthode

public StartScrambler ( ) : void
Résultat void

TBValue() public méthode

public TBValue ( double TBrank, double TBskill, double TBspm, double TBspmcombat, double TBkdr ) : double
TBrank double
TBskill double
TBspm double
TBspmcombat double
TBkdr double
Résultat double

TrueBalancer() public méthode

public TrueBalancer ( ) : System
Résultat System

startBalancing() public méthode

public startBalancing ( ) : void
Résultat void