C# Class OpenRA.Order

Show file Open project: pchote/OpenRA Class Usage Examples

Public Properties

Property Type Description
ExtraData uint
ExtraLocation OpenRA.CPos
IsImmediate bool
OrderString string
Queued bool
Subject OpenRA.Actor
SuppressVisualFeedback bool
TargetActor OpenRA.Actor
TargetLocation OpenRA.CPos
TargetString string

Public Methods

Method Description
CancelProduction ( OpenRA.Actor subject, string item, int count ) : Order
Chat ( bool team, string text ) : Order
Command ( string text ) : Order
Deserialize ( World world, BinaryReader r ) : Order
HandshakeResponse ( string text ) : Order
Order ( ) : System
Order ( string orderString, OpenRA.Actor subject, bool queued ) : System
Order ( string orderstring, Order order ) : System
PauseGame ( bool paused ) : Order
PauseProduction ( OpenRA.Actor subject, string item, bool pause ) : Order
Pong ( string pingTime ) : Order
Serialize ( ) : byte[]
StartProduction ( OpenRA.Actor subject, string item, int count ) : Order
ToString ( ) : string

Private Methods

Method Description
Order ( string orderString, OpenRA.Actor subject, OpenRA.Actor targetActor, OpenRA.CPos targetLocation, string targetString, bool queued, OpenRA.CPos extraLocation, uint extraData ) : System
TryGetActorFromUInt ( World world, uint aID, OpenRA.Actor &ret ) : bool
UIntFromActor ( OpenRA.Actor a ) : uint

Method Details

CancelProduction() public static method

public static CancelProduction ( OpenRA.Actor subject, string item, int count ) : Order
subject OpenRA.Actor
item string
count int
return Order

Chat() public static method

public static Chat ( bool team, string text ) : Order
team bool
text string
return Order

Command() public static method

public static Command ( string text ) : Order
text string
return Order

Deserialize() public static method

public static Deserialize ( World world, BinaryReader r ) : Order
world World
r System.IO.BinaryReader
return Order

HandshakeResponse() public static method

public static HandshakeResponse ( string text ) : Order
text string
return Order

Order() public method

public Order ( ) : System
return System

Order() public method

public Order ( string orderString, OpenRA.Actor subject, bool queued ) : System
orderString string
subject OpenRA.Actor
queued bool
return System

Order() public method

public Order ( string orderstring, Order order ) : System
orderstring string
order Order
return System

PauseGame() public static method

public static PauseGame ( bool paused ) : Order
paused bool
return Order

PauseProduction() public static method

public static PauseProduction ( OpenRA.Actor subject, string item, bool pause ) : Order
subject OpenRA.Actor
item string
pause bool
return Order

Pong() public static method

public static Pong ( string pingTime ) : Order
pingTime string
return Order

Serialize() public method

public Serialize ( ) : byte[]
return byte[]

StartProduction() public static method

public static StartProduction ( OpenRA.Actor subject, string item, int count ) : Order
subject OpenRA.Actor
item string
count int
return Order

ToString() public method

public ToString ( ) : string
return string

Property Details

ExtraData public property

public uint ExtraData
return uint

ExtraLocation public property

public CPos,OpenRA ExtraLocation
return OpenRA.CPos

IsImmediate public property

public bool IsImmediate
return bool

OrderString public property

public string OrderString
return string

Queued public property

public bool Queued
return bool

Subject public property

public Actor,OpenRA Subject
return OpenRA.Actor

SuppressVisualFeedback public property

public bool SuppressVisualFeedback
return bool

TargetActor public property

public Actor,OpenRA TargetActor
return OpenRA.Actor

TargetLocation public property

public CPos,OpenRA TargetLocation
return OpenRA.CPos

TargetString public property

public string TargetString
return string