C# Class TrinityCore_Manager.TCM.TCAction

Mostrar archivo Open project: TrinityCore-Manager/TrinityCore-Manager-v3

Public Methods

Method Description
AddAccount ( string username, string password ) : System.Threading.Tasks.Task
AnnounceToServer ( string message ) : System.Threading.Tasks.Task
BanAccount ( string username, int bantime, string bannedBy, string reason ) : System.Threading.Tasks.Task
BanCharacter ( string playerName ) : System.Threading.Tasks.Task
BanIPAddress ( string ip, int bantime, int unbantime, string bannedBy, string banReason ) : System.Threading.Tasks.Task
CreateGuild ( string guildName, string leaderName ) : System.Threading.Tasks.Task
CustomizeCharacter ( string playerName ) : System.Threading.Tasks.Task
DeleteCharacter ( string playerName ) : System.Threading.Tasks.Task
DeleteGuild ( string guildName ) : System.Threading.Tasks.Task
ExecuteCommand ( string command ) : System.Threading.Tasks.Task
ForceCharRename ( string playerName ) : System.Threading.Tasks.Task
InviteToGuild ( string playerName, string guildName ) : System.Threading.Tasks.Task
KickPlayer ( string player, string reason ) : System.Threading.Tasks.Task
ModifyAccountLevel ( string playerName, int newLevel ) : System.Threading.Tasks.Task
MutePlayer ( string playerName, int timeInMin, string reason = "" ) : System.Threading.Tasks.Task
NotifiyServer ( string notification ) : System.Threading.Tasks.Task
NotifyGMs ( string message ) : System.Threading.Tasks.Task
RenameCharacter ( string oldName, string newName ) : System.Threading.Tasks.Task
RenameGuild ( string oldGuildName, string newGuildName ) : System.Threading.Tasks.Task
RepairCharacterItems ( string playerName ) : System.Threading.Tasks.Task
RequestChangeFaction ( string charName ) : System.Threading.Tasks.Task
RequestChangeRace ( string charName ) : System.Threading.Tasks.Task
RevivePlayer ( string playerName ) : System.Threading.Tasks.Task
SaveAllPlayers ( ) : System.Threading.Tasks.Task
SendItems ( string playerName, string subject, string text ) : System.Threading.Tasks.Task
SendMail ( string playerName, string subject, string text ) : System.Threading.Tasks.Task
SendMessageToPlayer ( string playerName, string message ) : System.Threading.Tasks.Task
SendMoney ( string playerName, string subject, string text, int money ) : System.Threading.Tasks.Task
SetAccountLock ( string accountName, AccountLockType lockType, bool locked ) : System.Threading.Tasks.Task
SetGMLevel ( string username, GMLevel gmlevel, int realmid ) : System.Threading.Tasks.Task
SetPlayerExpansion ( string username, Expansion exp ) : System.Threading.Tasks.Task
SetPlayerGuildRank ( string playerName, int rank ) : System.Threading.Tasks.Task
SetPlayerLimit ( int limit ) : System.Threading.Tasks.Task
SetPlayerPassword ( string username, string password ) : System.Threading.Tasks.Task
SetServerMotd ( string motd ) : System.Threading.Tasks.Task
StopCombatForPlayer ( string playerName ) : System.Threading.Tasks.Task
UnbanIPAddress ( string ip ) : System.Threading.Tasks.Task
UninviteFromGuild ( string playerName ) : System.Threading.Tasks.Task
UnmutePlayer ( string playerName ) : System.Threading.Tasks.Task
UnstuckPlayer ( string playerName, UnstuckLocation location ) : System.Threading.Tasks.Task

Private Methods

Method Description
GetClient ( ) : TCMClient
IsRA ( ) : bool

Method Details

AddAccount() public static method

public static AddAccount ( string username, string password ) : System.Threading.Tasks.Task
username string
password string
return System.Threading.Tasks.Task

AnnounceToServer() public static method

public static AnnounceToServer ( string message ) : System.Threading.Tasks.Task
message string
return System.Threading.Tasks.Task

BanAccount() public static method

public static BanAccount ( string username, int bantime, string bannedBy, string reason ) : System.Threading.Tasks.Task
username string
bantime int
bannedBy string
reason string
return System.Threading.Tasks.Task

BanCharacter() public static method

public static BanCharacter ( string playerName ) : System.Threading.Tasks.Task
playerName string
return System.Threading.Tasks.Task

BanIPAddress() public static method

public static BanIPAddress ( string ip, int bantime, int unbantime, string bannedBy, string banReason ) : System.Threading.Tasks.Task
ip string
bantime int
unbantime int
bannedBy string
banReason string
return System.Threading.Tasks.Task

CreateGuild() public static method

public static CreateGuild ( string guildName, string leaderName ) : System.Threading.Tasks.Task
guildName string
leaderName string
return System.Threading.Tasks.Task

CustomizeCharacter() public static method

public static CustomizeCharacter ( string playerName ) : System.Threading.Tasks.Task
playerName string
return System.Threading.Tasks.Task

DeleteCharacter() public static method

public static DeleteCharacter ( string playerName ) : System.Threading.Tasks.Task
playerName string
return System.Threading.Tasks.Task

DeleteGuild() public static method

public static DeleteGuild ( string guildName ) : System.Threading.Tasks.Task
guildName string
return System.Threading.Tasks.Task

ExecuteCommand() public static method

public static ExecuteCommand ( string command ) : System.Threading.Tasks.Task
command string
return System.Threading.Tasks.Task

ForceCharRename() public static method

public static ForceCharRename ( string playerName ) : System.Threading.Tasks.Task
playerName string
return System.Threading.Tasks.Task

InviteToGuild() public static method

public static InviteToGuild ( string playerName, string guildName ) : System.Threading.Tasks.Task
playerName string
guildName string
return System.Threading.Tasks.Task

KickPlayer() public static method

public static KickPlayer ( string player, string reason ) : System.Threading.Tasks.Task
player string
reason string
return System.Threading.Tasks.Task

ModifyAccountLevel() public static method

public static ModifyAccountLevel ( string playerName, int newLevel ) : System.Threading.Tasks.Task
playerName string
newLevel int
return System.Threading.Tasks.Task

MutePlayer() public static method

public static MutePlayer ( string playerName, int timeInMin, string reason = "" ) : System.Threading.Tasks.Task
playerName string
timeInMin int
reason string
return System.Threading.Tasks.Task

NotifiyServer() public static method

public static NotifiyServer ( string notification ) : System.Threading.Tasks.Task
notification string
return System.Threading.Tasks.Task

NotifyGMs() public static method

public static NotifyGMs ( string message ) : System.Threading.Tasks.Task
message string
return System.Threading.Tasks.Task

RenameCharacter() public static method

public static RenameCharacter ( string oldName, string newName ) : System.Threading.Tasks.Task
oldName string
newName string
return System.Threading.Tasks.Task

RenameGuild() public static method

public static RenameGuild ( string oldGuildName, string newGuildName ) : System.Threading.Tasks.Task
oldGuildName string
newGuildName string
return System.Threading.Tasks.Task

RepairCharacterItems() public static method

public static RepairCharacterItems ( string playerName ) : System.Threading.Tasks.Task
playerName string
return System.Threading.Tasks.Task

RequestChangeFaction() public static method

public static RequestChangeFaction ( string charName ) : System.Threading.Tasks.Task
charName string
return System.Threading.Tasks.Task

RequestChangeRace() public static method

public static RequestChangeRace ( string charName ) : System.Threading.Tasks.Task
charName string
return System.Threading.Tasks.Task

RevivePlayer() public static method

public static RevivePlayer ( string playerName ) : System.Threading.Tasks.Task
playerName string
return System.Threading.Tasks.Task

SaveAllPlayers() public static method

public static SaveAllPlayers ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

SendItems() public static method

public static SendItems ( string playerName, string subject, string text ) : System.Threading.Tasks.Task
playerName string
subject string
text string
return System.Threading.Tasks.Task

SendMail() public static method

public static SendMail ( string playerName, string subject, string text ) : System.Threading.Tasks.Task
playerName string
subject string
text string
return System.Threading.Tasks.Task

SendMessageToPlayer() public static method

public static SendMessageToPlayer ( string playerName, string message ) : System.Threading.Tasks.Task
playerName string
message string
return System.Threading.Tasks.Task

SendMoney() public static method

public static SendMoney ( string playerName, string subject, string text, int money ) : System.Threading.Tasks.Task
playerName string
subject string
text string
money int
return System.Threading.Tasks.Task

SetAccountLock() public static method

public static SetAccountLock ( string accountName, AccountLockType lockType, bool locked ) : System.Threading.Tasks.Task
accountName string
lockType AccountLockType
locked bool
return System.Threading.Tasks.Task

SetGMLevel() public static method

public static SetGMLevel ( string username, GMLevel gmlevel, int realmid ) : System.Threading.Tasks.Task
username string
gmlevel GMLevel
realmid int
return System.Threading.Tasks.Task

SetPlayerExpansion() public static method

public static SetPlayerExpansion ( string username, Expansion exp ) : System.Threading.Tasks.Task
username string
exp Expansion
return System.Threading.Tasks.Task

SetPlayerGuildRank() public static method

public static SetPlayerGuildRank ( string playerName, int rank ) : System.Threading.Tasks.Task
playerName string
rank int
return System.Threading.Tasks.Task

SetPlayerLimit() public static method

public static SetPlayerLimit ( int limit ) : System.Threading.Tasks.Task
limit int
return System.Threading.Tasks.Task

SetPlayerPassword() public static method

public static SetPlayerPassword ( string username, string password ) : System.Threading.Tasks.Task
username string
password string
return System.Threading.Tasks.Task

SetServerMotd() public static method

public static SetServerMotd ( string motd ) : System.Threading.Tasks.Task
motd string
return System.Threading.Tasks.Task

StopCombatForPlayer() public static method

public static StopCombatForPlayer ( string playerName ) : System.Threading.Tasks.Task
playerName string
return System.Threading.Tasks.Task

UnbanIPAddress() public static method

public static UnbanIPAddress ( string ip ) : System.Threading.Tasks.Task
ip string
return System.Threading.Tasks.Task

UninviteFromGuild() public static method

public static UninviteFromGuild ( string playerName ) : System.Threading.Tasks.Task
playerName string
return System.Threading.Tasks.Task

UnmutePlayer() public static method

public static UnmutePlayer ( string playerName ) : System.Threading.Tasks.Task
playerName string
return System.Threading.Tasks.Task

UnstuckPlayer() public static method

public static UnstuckPlayer ( string playerName, UnstuckLocation location ) : System.Threading.Tasks.Task
playerName string
location UnstuckLocation
return System.Threading.Tasks.Task