C# Class ManicDigger.NetworkHelper

Afficher le fichier Open project: GlennMR/800Craft-Client Class Usage Examples

Méthodes publiques

Свойство Type Description
StringLength int

Méthodes publiques

Méthode Description
HeadingByte ( Vector3 orientation ) : byte
PitchByte ( Vector3 orientation ) : byte
ReadInt16 ( BinaryReader br ) : int
ReadInt32 ( BinaryReader br ) : int
ReadString64 ( BinaryReader br ) : string
StringToBytes ( string s ) : byte[]
WriteInt16 ( BinaryWriter bw, short v ) : void
WriteInt32 ( BinaryWriter bw, int v ) : void
WriteString64 ( BinaryWriter bw, string s ) : void

Private Methods

Méthode Description
BytesToString ( byte s ) : string

Method Details

HeadingByte() public static méthode

public static HeadingByte ( Vector3 orientation ) : byte
orientation Vector3
Résultat byte

PitchByte() public static méthode

public static PitchByte ( Vector3 orientation ) : byte
orientation Vector3
Résultat byte

ReadInt16() public static méthode

public static ReadInt16 ( BinaryReader br ) : int
br System.IO.BinaryReader
Résultat int

ReadInt32() public static méthode

public static ReadInt32 ( BinaryReader br ) : int
br System.IO.BinaryReader
Résultat int

ReadString64() public static méthode

public static ReadString64 ( BinaryReader br ) : string
br System.IO.BinaryReader
Résultat string

StringToBytes() public static méthode

public static StringToBytes ( string s ) : byte[]
s string
Résultat byte[]

WriteInt16() public static méthode

public static WriteInt16 ( BinaryWriter bw, short v ) : void
bw System.IO.BinaryWriter
v short
Résultat void

WriteInt32() public static méthode

public static WriteInt32 ( BinaryWriter bw, int v ) : void
bw System.IO.BinaryWriter
v int
Résultat void

WriteString64() public static méthode

public static WriteString64 ( BinaryWriter bw, string s ) : void
bw System.IO.BinaryWriter
s string
Résultat void

Property Details

StringLength public_oe static_oe property

public static int StringLength
Résultat int