C# Class Auxilium_Server.Program

Show file Open project: banksyhf/Auxilium

Private Properties

Property Type Description
AwardPoints void
BanUser bool
Broadcast void
BroadcastExclusive void
CheckCommand bool
ClearChat void
ClientFromUsername Auxilium_Server.Classes.Client
ClientRead void
ClientState void
FullUserListUpdate void
GenerateAuthCode string
GetMOTD string
GetNews string
GetProfile object[]
GlobalBroadcast void
HandleAuthCodePacket void
HandleChannelPacket void
HandleChatPacket void
HandleEditProfilePacket void
HandleKeepAlivePacket void
HandleNewsPacket void
HandlePMPacket void
HandleRegisterPacket void
HandleResendVerificationPacket void
HandleSignInPacket void
HandleViewProfilePacket void
HandleWakeup void
IsValidData bool
IsValidName bool
KickUser bool
LetsDoThis void
Main void
Monitor void
MuteUser void
ParseArguments string[]
SendChannelList void
SendEmail bool
SendLoginBarrage void
SendProfile void
SendProfileTo void
SendUserListUpdates void
ServerState void
SetUserRank bool
UnbanUser bool
UnmuteUser void
UpdateAndSaveUsers void

Private Methods

Method Description
AwardPoints ( Client c ) : void
BanUser ( string name, int ipBan ) : bool
Broadcast ( byte channel, byte data ) : void
BroadcastExclusive ( ushort userID, byte channel, byte data, Client client = null ) : void
CheckCommand ( Client c, string query ) : bool
ClearChat ( ) : void
ClientFromUsername ( string name ) : Client
ClientRead ( Server s, Client c, byte e ) : void
ClientState ( Server s, Client c, bool open ) : void
FullUserListUpdate ( ) : void
GenerateAuthCode ( string text ) : string
GetMOTD ( ) : string
GetNews ( ) : string
GetProfile ( ServerPacket header, string username ) : object[]
GlobalBroadcast ( byte data ) : void
HandleAuthCodePacket ( Client c, string authCode ) : void
HandleChannelPacket ( Client c, byte channel ) : void
HandleChatPacket ( Client c, string message ) : void
HandleEditProfilePacket ( Client c, string avatar, string bio, string profile ) : void
HandleKeepAlivePacket ( Client c ) : void
HandleNewsPacket ( Client c ) : void
HandlePMPacket ( Client c, string recipient, string message, string subject, ushort id = default(ushort) ) : void
HandleRegisterPacket ( Client c, string name, string pass, string email ) : void
HandleResendVerificationPacket ( Client c ) : void
HandleSignInPacket ( Client c, string name, string pass ) : void
HandleViewProfilePacket ( Client c, string username ) : void
HandleWakeup ( Client c, bool suppress = false ) : void
IsValidData ( string data ) : bool
IsValidName ( string name ) : bool
KickUser ( string name ) : bool
LetsDoThis ( ) : void
Main ( string args ) : void
Monitor ( object state ) : void
MuteUser ( Client c, string name, bool global ) : void
ParseArguments ( string commandLine ) : string[]
SendChannelList ( Client c ) : void
SendEmail ( string email, string username, string authCode = "", byte authType = 1 ) : bool
SendLoginBarrage ( Client c ) : void
SendProfile ( Client c ) : void
SendProfileTo ( Client fromClient, Client toClient ) : void
SendUserListUpdates ( Client c ) : void
ServerState ( Server s, bool open ) : void
SetUserRank ( string name, string rank ) : bool
UnbanUser ( string name ) : bool
UnmuteUser ( Client c, string name, bool global ) : void
UpdateAndSaveUsers ( bool shutDown ) : void