C# Class Schumix.GameAddon.MaffiaGames.MaffiaGame

Datei anzeigen Open project: Schumix/Schumix2

Public Methods

Method Description
DisableHl ( string Name ) : string
EndGameText ( ) : void
EndText ( ) : void
GameOver ( string Name ) : void
GetDetective ( ) : string
GetDetectiveList ( ) : string>.Dictionary
GetDoctor ( ) : string
GetDoctorList ( ) : string>.Dictionary
GetKiller ( ) : string
GetKillerList ( ) : string>.Dictionary
GetNormalList ( ) : string>.Dictionary
GetOwner ( ) : string
GetPlayerFList ( ) : Player>.Dictionary
GetPlayerList ( ) : string>.Dictionary
GetPlayerName ( string Name ) : string
GetPlayers ( ) : int
Join ( string Name ) : void
Kill ( string Name, string Killer ) : void
Leave ( string Name ) : void
Leave ( string Name, string NickName ) : void
Lynch ( string Name, string NickName, string Channel ) : void
MaffiaGame ( string ServerName, string Name, string Channel, GameCommand gc ) : System
NewGame ( string Name, string Channel ) : void
NewNick ( int Id, string OldName, string NewName ) : void
NewOwnerTime ( ) : void
NewPlayerTime ( string Name ) : void
RemoveRanks ( bool night = false ) : void
Rescue ( string Name, string NickName ) : void
See ( string Name, string NickName ) : void
Start ( ) : void
Stats ( ) : void
StopThread ( ) : void

Private Methods

Method Description
AddRanks ( ) : void
Clean ( ) : void
Corpse ( string Name ) : void
EndGame ( bool ghosttext = false ) : void
EndGame ( string newghost, bool ghosttext = false ) : void
Game ( ) : void
GetPlayerMaster ( string Name ) : bool
GetRank ( string Name ) : Rank
HandleIsOwnerAfk ( object sender, ElapsedEventArgs e ) : void
HandleIsPlayerAfk ( object sender, ElapsedEventArgs e ) : void
IsRunning ( string Channel, string Name = "" ) : bool
IsStarted ( string Channel, string Name ) : bool
LynchPlayer ( string namess ) : void
RemovePlayer ( string Name, string channel ) : void
StartPlayerMsgTimer ( ) : void
StartThread ( ) : void

Method Details

DisableHl() public method

public DisableHl ( string Name ) : string
Name string
return string

EndGameText() public method

public EndGameText ( ) : void
return void

EndText() public method

public EndText ( ) : void
return void

GameOver() public method

public GameOver ( string Name ) : void
Name string
return void

GetDetective() public method

public GetDetective ( ) : string
return string

GetDetectiveList() public method

public GetDetectiveList ( ) : string>.Dictionary
return string>.Dictionary

GetDoctor() public method

public GetDoctor ( ) : string
return string

GetDoctorList() public method

public GetDoctorList ( ) : string>.Dictionary
return string>.Dictionary

GetKiller() public method

public GetKiller ( ) : string
return string

GetKillerList() public method

public GetKillerList ( ) : string>.Dictionary
return string>.Dictionary

GetNormalList() public method

public GetNormalList ( ) : string>.Dictionary
return string>.Dictionary

GetOwner() public method

public GetOwner ( ) : string
return string

GetPlayerFList() public method

public GetPlayerFList ( ) : Player>.Dictionary
return Player>.Dictionary

GetPlayerList() public method

public GetPlayerList ( ) : string>.Dictionary
return string>.Dictionary

GetPlayerName() public method

public GetPlayerName ( string Name ) : string
Name string
return string

GetPlayers() public method

public GetPlayers ( ) : int
return int

Join() public method

public Join ( string Name ) : void
Name string
return void

Kill() public method

public Kill ( string Name, string Killer ) : void
Name string
Killer string
return void

Leave() public method

public Leave ( string Name ) : void
Name string
return void

Leave() public method

public Leave ( string Name, string NickName ) : void
Name string
NickName string
return void

Lynch() public method

public Lynch ( string Name, string NickName, string Channel ) : void
Name string
NickName string
Channel string
return void

MaffiaGame() public method

public MaffiaGame ( string ServerName, string Name, string Channel, GameCommand gc ) : System
ServerName string
Name string
Channel string
gc GameCommand
return System

NewGame() public method

public NewGame ( string Name, string Channel ) : void
Name string
Channel string
return void

NewNick() public method

public NewNick ( int Id, string OldName, string NewName ) : void
Id int
OldName string
NewName string
return void

NewOwnerTime() public method

public NewOwnerTime ( ) : void
return void

NewPlayerTime() public method

public NewPlayerTime ( string Name ) : void
Name string
return void

RemoveRanks() public method

public RemoveRanks ( bool night = false ) : void
night bool
return void

Rescue() public method

public Rescue ( string Name, string NickName ) : void
Name string
NickName string
return void

See() public method

public See ( string Name, string NickName ) : void
Name string
NickName string
return void

Start() public method

public Start ( ) : void
return void

Stats() public method

public Stats ( ) : void
return void

StopThread() public method

public StopThread ( ) : void
return void