C# Class YurikoCS.Player

Show file Open project: ItalianDevs4PM/Yuriko-CS

Public Methods

Method Description
AddPermission ( Permission permission ) : bool
GetIPAddress ( ) : string
GetIPEndPoint ( ) : IPEndPoint
GetPacketQueue ( ) : Packet>.Dictionary
GetPort ( ) : short
GetUsername ( ) : string
HandleDataPackets ( byte data, IAsyncResult res ) : void
HasPermission ( string node ) : bool
IsOP ( ) : bool
OverridePermission ( Permission permission ) : bool
Player ( IPEndPoint endpoint ) : System
RecalculatePermissions ( ) : void
RemovePermission ( Permission permission ) : bool
SendDirectDataPacket ( Packet packet ) : void
SendQueuedDataPacket ( Packet packet ) : void

Method Details

AddPermission() public method

public AddPermission ( Permission permission ) : bool
permission Permission
return bool

GetIPAddress() public method

public GetIPAddress ( ) : string
return string

GetIPEndPoint() public method

public GetIPEndPoint ( ) : IPEndPoint
return System.Net.IPEndPoint

GetPacketQueue() public method

public GetPacketQueue ( ) : Packet>.Dictionary
return Packet>.Dictionary

GetPort() public method

public GetPort ( ) : short
return short

GetUsername() public method

public GetUsername ( ) : string
return string

HandleDataPackets() public method

public HandleDataPackets ( byte data, IAsyncResult res ) : void
data byte
res IAsyncResult
return void

HasPermission() public method

public HasPermission ( string node ) : bool
node string
return bool

IsOP() public method

public IsOP ( ) : bool
return bool

OverridePermission() public method

public OverridePermission ( Permission permission ) : bool
permission Permission
return bool

Player() public method

public Player ( IPEndPoint endpoint ) : System
endpoint System.Net.IPEndPoint
return System

RecalculatePermissions() public method

public RecalculatePermissions ( ) : void
return void

RemovePermission() public method

public RemovePermission ( Permission permission ) : bool
permission Permission
return bool

SendDirectDataPacket() public method

public SendDirectDataPacket ( Packet packet ) : void
packet Packet
return void

SendQueuedDataPacket() public method

public SendQueuedDataPacket ( Packet packet ) : void
packet Packet
return void