C# Class OpenRA.Network.OrderIO

显示文件 Open project: pchote/OpenRA Class Usage Examples

Public Methods

Method Description
ReadInt2 ( this r ) : int2
SerializeSync ( int sync ) : byte[]
ToOrderList ( this bytes, World world ) : List
Write ( this w, CPos cell ) : void
Write ( this s, byte buf ) : void
Write ( this w, int2 p ) : void

Method Details

ReadInt2() public static method

public static ReadInt2 ( this r ) : int2
r this
return int2

SerializeSync() public static method

public static SerializeSync ( int sync ) : byte[]
sync int
return byte[]

ToOrderList() public static method

public static ToOrderList ( this bytes, World world ) : List
bytes this
world World
return List

Write() public static method

public static Write ( this w, CPos cell ) : void
w this
cell CPos
return void

Write() public static method

public static Write ( this s, byte buf ) : void
s this
buf byte
return void

Write() public static method

public static Write ( this w, int2 p ) : void
w this
p int2
return void