C# Class tdsm.core.ServerCore.IAPISocketExtensions

Mostrar archivo Open project: DeathCradle/Terraria-s-Dedicated-Server-Mod

Public Methods

Method Description
CanSendWater ( this sock ) : bool
IsPlaying ( this sock ) : bool
Kick ( this sock, string reason ) : void
RemoteAddress ( this sock ) : string
SetState ( this sock, SlotState state ) : void
State ( this sock ) : SlotState

Method Details

CanSendWater() public static method

public static CanSendWater ( this sock ) : bool
sock this
return bool

IsPlaying() public static method

public static IsPlaying ( this sock ) : bool
sock this
return bool

Kick() public static method

public static Kick ( this sock, string reason ) : void
sock this
reason string
return void

RemoteAddress() public static method

public static RemoteAddress ( this sock ) : string
sock this
return string

SetState() public static method

public static SetState ( this sock, SlotState state ) : void
sock this
state SlotState
return void

State() public static method

public static State ( this sock ) : SlotState
sock this
return SlotState