C# Class PRoConEvents.TrueBalancer

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

Public Methods

Method 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

Method Description
PostBalanceValue ( string message ) : void
RegisterAllCommands ( ) : void
UnregisterAllCommands ( ) : void
UpdateCheck ( ) : void

Method Details

BalancingTimer() public method

public BalancingTimer ( ) : void
return void

CompareTeams() public method

public CompareTeams ( ) : void
return void

DebugInfo() public method

public DebugInfo ( string DebugMessage ) : void
DebugMessage string
return void

DebugInfoGuard() public method

public DebugInfoGuard ( string DebugMessage ) : void
DebugMessage string
return void

DebugInfoSkill() public method

public DebugInfoSkill ( string DebugMessage ) : void
DebugMessage string
return void

GetDisplayPluginVariables() public method

public GetDisplayPluginVariables ( ) : List
return List

GetPluginAuthor() public method

public GetPluginAuthor ( ) : string
return string

GetPluginDescription() public method

public GetPluginDescription ( ) : string
return string

GetPluginName() public method

public GetPluginName ( ) : string
return string

GetPluginVariables() public method

public GetPluginVariables ( ) : List
return List

GetPluginVersion() public method

public GetPluginVersion ( ) : string
return string

GetPluginWebsite() public method

public GetPluginWebsite ( ) : string
return string

GetSoldierNames() public method

public GetSoldierNames ( ) : List
return List

KeepAllSquads() public method

public KeepAllSquads ( ) : void
return void

KeepClanMates() public method

public KeepClanMates ( ) : void
return void

KeepNoSquads() public method

public KeepNoSquads ( ) : void
return void

LogMove() public method

public LogMove ( string MoveMsg ) : void
MoveMsg string
return void

OnCommandScrambleNow() public method

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
return void

OnCommandScrambleRound() public method

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
return void

OnCommandTBForceMove() public method

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
return void

OnCommandTBMove() public method

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
return void

OnLevelLoaded() public method

public OnLevelLoaded ( string mapFileName, string Gamemode, int roundsPlayed, int roundsTotal ) : void
mapFileName string
Gamemode string
roundsPlayed int
roundsTotal int
return void

OnListPlayers() public method

public OnListPlayers ( List lstPlayers, PRoCon.Core.CPlayerSubset cpsSubset ) : void
lstPlayers List
cpsSubset PRoCon.Core.CPlayerSubset
return void

OnLogin() public method

public OnLogin ( ) : void
return void

OnPlayerKilled() public method

public OnPlayerKilled ( PRoCon.Core.Kill killInfo ) : void
killInfo PRoCon.Core.Kill
return void

OnPlayerLeft() public method

public OnPlayerLeft ( PRoCon.Core.Players.CPlayerInfo cpiPlayer ) : void
cpiPlayer PRoCon.Core.Players.CPlayerInfo
return void

OnPlayerMovedByAdmin() public method

public OnPlayerMovedByAdmin ( string soldierName, int destinationTeamId, int destinationSquadId, bool forceKilled ) : void
soldierName string
destinationTeamId int
destinationSquadId int
forceKilled bool
return void

OnPlayerSpawned() public method

public OnPlayerSpawned ( string soldierName, PRoCon.Core.Players.Inventory spawnedInventory ) : void
soldierName string
spawnedInventory PRoCon.Core.Players.Inventory
return void

OnPlayerSquadChange() public method

public OnPlayerSquadChange ( string soldierName, int teamId, int squadId ) : void
soldierName string
teamId int
squadId int
return void

OnPlayerTeamChange() public method

public OnPlayerTeamChange ( string strSoldierName, int iTeamID, int iSquadID ) : void
strSoldierName string
iTeamID int
iSquadID int
return void

OnPluginDisable() public method

public OnPluginDisable ( ) : void
return void

OnPluginEnable() public method

public OnPluginEnable ( ) : void
return void

OnPluginLoaded() public method

public OnPluginLoaded ( string strHostName, string strPort, string strPRoConVersion ) : void
strHostName string
strPort string
strPRoConVersion string
return void

OnReservedSlotsList() public method

public OnReservedSlotsList ( List soldierNames ) : void
soldierNames List
return void

OnResponseError() public method

public OnResponseError ( List lstRequestWords, string strError ) : void
lstRequestWords List
strError string
return void

OnRestartLevel() public method

public OnRestartLevel ( ) : void
return void

OnRoundOver() public method

public OnRoundOver ( int iWinningTeamID ) : void
iWinningTeamID int
return void

OnRoundOverPlayers() public method

public OnRoundOverPlayers ( List lstPlayers ) : void
lstPlayers List
return void

OnRoundOverTeamScores() public method

public OnRoundOverTeamScores ( List teamScores ) : void
teamScores List
return void

OnRunNextLevel() public method

public OnRunNextLevel ( ) : void
return void

OnScrambleViaPRoCon() public method

public OnScrambleViaPRoCon ( ) : void
return void

OnServerInfo() public method

public OnServerInfo ( PRoCon.Core.CServerInfo csiServerInfo ) : void
csiServerInfo PRoCon.Core.CServerInfo
return void

ScrambleNow() public method

public ScrambleNow ( ) : void
return void

SetPluginVariable() public method

public SetPluginVariable ( string strVariable, string strValue ) : void
strVariable string
strValue string
return void

StartScrambler() public method

public StartScrambler ( ) : void
return void

TBValue() public method

public TBValue ( double TBrank, double TBskill, double TBspm, double TBspmcombat, double TBkdr ) : double
TBrank double
TBskill double
TBspm double
TBspmcombat double
TBkdr double
return double

TrueBalancer() public method

public TrueBalancer ( ) : System
return System

startBalancing() public method

public startBalancing ( ) : void
return void