C# Class Terraria.NetMessage

Afficher le fichier Open project: EmuDevs/EDTerraria

Méthodes publiques

Свойство Type Description
buffer Terraria.MessageBuffer[]

Méthodes publiques

Méthode 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 méthode

public static BootPlayer ( int plr, string msg ) : void
plr int
msg string
Résultat void

CheckBytes() public static méthode

public static CheckBytes ( int bufferIndex = 256 ) : void
bufferIndex int
Résultat void

CompressTileBlock() public static méthode

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
Résultat int

CompressTileBlock_Inner() public static méthode

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
Résultat void

DecompressTileBlock() public static méthode

public static DecompressTileBlock ( byte buffer, int bufferStart, int bufferLength ) : void
buffer byte
bufferStart int
bufferLength int
Résultat void

DecompressTileBlock_Inner() public static méthode

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
Résultat void

RecieveBytes() public static méthode

public static RecieveBytes ( byte bytes, int streamLength, int i = 256 ) : void
bytes byte
streamLength int
i int
Résultat void

SendAnglerQuest() public static méthode

public static SendAnglerQuest ( ) : void
Résultat void

SendData() public static méthode

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
Résultat void

SendObjectPlacment() public static méthode

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
Résultat void

SendSection() public static méthode

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

SendTemporaryAnimation() public static méthode

public static SendTemporaryAnimation ( int whoAmi, int animationType, int tileType, int xCoord, int yCoord ) : void
whoAmi int
animationType int
tileType int
xCoord int
yCoord int
Résultat void

SendTileRange() public static méthode

public static SendTileRange ( int whoAmi, int tileX, int tileY, int xSize, int ySize ) : void
whoAmi int
tileX int
tileY int
xSize int
ySize int
Résultat void

SendTileSquare() public static méthode

public static SendTileSquare ( int whoAmi, int tileX, int tileY, int size ) : void
whoAmi int
tileX int
tileY int
size int
Résultat void

SendTravelShop() public static méthode

public static SendTravelShop ( ) : void
Résultat void

greetPlayer() public static méthode

public static greetPlayer ( int plr ) : void
plr int
Résultat void

sendWater() public static méthode

public static sendWater ( int x, int y ) : void
x int
y int
Résultat void

syncPlayers() public static méthode

public static syncPlayers ( ) : void
Résultat void

Property Details

buffer public_oe static_oe property

public static MessageBuffer[],Terraria buffer
Résultat Terraria.MessageBuffer[]