C# Class MineFrog.Player

Exibir arquivo Open project: Merlin33069/MineFrog Class Usage Examples

Public Properties

Property Type Description
Average1 Averager
Average2 Averager
Average3 Averager
Average4 Averager
EnableHistoryMode bool
EnableLavaMode bool
EnableWaterMode bool
Level Level
OldLevel Level
OldPosition Pos
Position Pos
UID int
UserId byte
Username string
_delta Pos
_ip string
_isDisconnected bool
_isLoading bool
_isLoggedIn bool
pdb PDB

Private Properties

Property Type Description
BeginRead void
Disconnect void
FreeId byte
HTNO byte[]
HandleCommand void
HandleLogin void
HandleMessage void
HandlePosAndOrientPacket void
HandleSetBlockPacket void
KillThisPlayer void
NTHO ushort
Player System
ReceiveIdentificationPacket void
ReceiveMessage void
ReceivePosAndOrientPacket void
ReceiveSetBlockPacket void
SendAllDeSpawns void
SendAllSpawns void
SendBlockChange void
SendDie void
SendGlobalChat void
SendGlobalMessage void
SendGlobalMessageActual void
SendKick void
SendLevelChat void
SendMap void
SendMotd void
SendPacket void
SendRaw void
SendRaw void
SendSpawn void
SendTeleportThisPlayer void
Start void
UpdatePlayerPos void

Public Methods

Method Description
GZip ( byte mapSize, byte levelData ) : byte[]
SendMessage ( string message ) : void
SwitchMap ( Level l ) : void

Private Methods

Method Description
BeginRead ( ) : void
Disconnect ( ) : void
FreeId ( ) : byte
HTNO ( short x ) : byte[]
HandleCommand ( string message ) : void
HandleLogin ( object incoming ) : void
HandleMessage ( object incoming ) : void
HandlePosAndOrientPacket ( object incoming ) : void
HandleSetBlockPacket ( object incoming ) : void
KillThisPlayer ( ) : void
NTHO ( byte x, int offset ) : ushort
Player ( TcpClient client ) : System
ReceiveIdentificationPacket ( ) : void
ReceiveMessage ( ) : void
ReceivePosAndOrientPacket ( ) : void
ReceiveSetBlockPacket ( ) : void
SendAllDeSpawns ( ) : void
SendAllSpawns ( ) : void
SendBlockChange ( ushort x, ushort y, ushort z, byte type ) : void
SendDie ( Player player ) : void
SendGlobalChat ( Player player, string message ) : void
SendGlobalMessage ( string message ) : void
SendGlobalMessageActual ( string message ) : void
SendKick ( string message ) : void
SendLevelChat ( Player player, string message ) : void
SendMap ( ) : void
SendMotd ( ) : void
SendPacket ( Packet p ) : void
SendRaw ( byte id ) : void
SendRaw ( byte id, byte data ) : void
SendSpawn ( Player player ) : void
SendTeleportThisPlayer ( Pos newPosition ) : void
Start ( ) : void
UpdatePlayerPos ( ) : void

Method Details

GZip() public static method

public static GZip ( byte mapSize, byte levelData ) : byte[]
mapSize byte
levelData byte
return byte[]

SendMessage() public method

public SendMessage ( string message ) : void
message string
return void

SwitchMap() public method

public SwitchMap ( Level l ) : void
l Level
return void

Property Details

Average1 public_oe static_oe property

public static Averager,MineFrog Average1
return Averager

Average2 public_oe static_oe property

public static Averager,MineFrog Average2
return Averager

Average3 public_oe static_oe property

public static Averager,MineFrog Average3
return Averager

Average4 public_oe static_oe property

public static Averager,MineFrog Average4
return Averager

EnableHistoryMode public_oe property

public bool EnableHistoryMode
return bool

EnableLavaMode public_oe property

public bool EnableLavaMode
return bool

EnableWaterMode public_oe property

public bool EnableWaterMode
return bool

Level public_oe property

public Level,MineFrog Level
return Level

OldLevel public_oe property

public Level,MineFrog OldLevel
return Level

OldPosition public_oe property

public Pos,MineFrog OldPosition
return Pos

Position public_oe property

public Pos,MineFrog Position
return Pos

UID public_oe property

public int UID
return int

UserId public_oe property

public byte UserId
return byte

Username public_oe property

public string Username
return string

_delta public_oe property

public Pos,MineFrog _delta
return Pos

_ip public_oe property

public string _ip
return string

_isDisconnected public_oe property

public bool _isDisconnected
return bool

_isLoading public_oe property

public bool _isLoading
return bool

_isLoggedIn public_oe property

public bool _isLoggedIn
return bool

pdb public_oe property

public PDB pdb
return PDB