C# Class Terraria.NetMessage

Datei anzeigen Open project: EmuDevs/EDTerraria

Public Properties

Property Type Description
buffer Terraria.MessageBuffer[]

Public Methods

Method Description
BootPlayer ( int plr, string msg ) : void
CheckBytes ( int bufferIndex = 256 ) : void
CompressTileBlock ( int xStart, int yStart, short width, short height, byte buffer, int bufferStart ) : int
CompressTileBlock_Inner ( BinaryWriter writer, int xStart, int yStart, int width, int height ) : void
DecompressTileBlock ( byte buffer, int bufferStart, int bufferLength ) : void
DecompressTileBlock_Inner ( BinaryReader reader, int xStart, int yStart, int width, int height ) : void
RecieveBytes ( byte bytes, int streamLength, int i = 256 ) : void
SendAnglerQuest ( ) : void
SendData ( int msgType, int remoteClient = -1, int ignoreClient = -1, string text = "", int number, float number2 = 0.0f, float number3 = 0.0f, float number4 = 0.0f, int number5, int number6, int number7 ) : void
SendObjectPlacment ( int whoAmi, int x, int y, int type, int style, int alternative, int random, int direction ) : void
SendSection ( int whoAmi, int sectionX, int sectionY, bool skipSent = false ) : void
SendTemporaryAnimation ( int whoAmi, int animationType, int tileType, int xCoord, int yCoord ) : void
SendTileRange ( int whoAmi, int tileX, int tileY, int xSize, int ySize ) : void
SendTileSquare ( int whoAmi, int tileX, int tileY, int size ) : void
SendTravelShop ( ) : void
greetPlayer ( int plr ) : void
sendWater ( int x, int y ) : void
syncPlayers ( ) : void

Method Details

BootPlayer() public static method

public static BootPlayer ( int plr, string msg ) : void
plr int
msg string
return void

CheckBytes() public static method

public static CheckBytes ( int bufferIndex = 256 ) : void
bufferIndex int
return void

CompressTileBlock() public static method

public static CompressTileBlock ( int xStart, int yStart, short width, short height, byte buffer, int bufferStart ) : int
xStart int
yStart int
width short
height short
buffer byte
bufferStart int
return int

CompressTileBlock_Inner() public static method

public static CompressTileBlock_Inner ( BinaryWriter writer, int xStart, int yStart, int width, int height ) : void
writer System.IO.BinaryWriter
xStart int
yStart int
width int
height int
return void

DecompressTileBlock() public static method

public static DecompressTileBlock ( byte buffer, int bufferStart, int bufferLength ) : void
buffer byte
bufferStart int
bufferLength int
return void

DecompressTileBlock_Inner() public static method

public static DecompressTileBlock_Inner ( BinaryReader reader, int xStart, int yStart, int width, int height ) : void
reader System.IO.BinaryReader
xStart int
yStart int
width int
height int
return void

RecieveBytes() public static method

public static RecieveBytes ( byte bytes, int streamLength, int i = 256 ) : void
bytes byte
streamLength int
i int
return void

SendAnglerQuest() public static method

public static SendAnglerQuest ( ) : void
return void

SendData() public static method

public static SendData ( int msgType, int remoteClient = -1, int ignoreClient = -1, string text = "", int number, float number2 = 0.0f, float number3 = 0.0f, float number4 = 0.0f, int number5, int number6, int number7 ) : void
msgType int
remoteClient int
ignoreClient int
text string
number int
number2 float
number3 float
number4 float
number5 int
number6 int
number7 int
return void

SendObjectPlacment() public static method

public static SendObjectPlacment ( int whoAmi, int x, int y, int type, int style, int alternative, int random, int direction ) : void
whoAmi int
x int
y int
type int
style int
alternative int
random int
direction int
return void

SendSection() public static method

public static SendSection ( int whoAmi, int sectionX, int sectionY, bool skipSent = false ) : void
whoAmi int
sectionX int
sectionY int
skipSent bool
return void

SendTemporaryAnimation() public static method

public static SendTemporaryAnimation ( int whoAmi, int animationType, int tileType, int xCoord, int yCoord ) : void
whoAmi int
animationType int
tileType int
xCoord int
yCoord int
return void

SendTileRange() public static method

public static SendTileRange ( int whoAmi, int tileX, int tileY, int xSize, int ySize ) : void
whoAmi int
tileX int
tileY int
xSize int
ySize int
return void

SendTileSquare() public static method

public static SendTileSquare ( int whoAmi, int tileX, int tileY, int size ) : void
whoAmi int
tileX int
tileY int
size int
return void

SendTravelShop() public static method

public static SendTravelShop ( ) : void
return void

greetPlayer() public static method

public static greetPlayer ( int plr ) : void
plr int
return void

sendWater() public static method

public static sendWater ( int x, int y ) : void
x int
y int
return void

syncPlayers() public static method

public static syncPlayers ( ) : void
return void

Property Details

buffer public_oe static_oe property

public static MessageBuffer[],Terraria buffer
return Terraria.MessageBuffer[]