C# Class RTSEngine.Data.Team.RTSRace

Mostrar archivo Open project: RegrowthStudios/VoxelRTS Class Usage Examples

Public Properties

Property Type Description
ActiveBuildings RTSEngine.Data.Team.RTSBuildingData[]
ActiveUnits RTSEngine.Data.Team.RTSUnitData[]
Buildings RTSEngine.Data.Team.RTSBuildingData[]
GlobalBuildSpeed int
IconKey string
InfoFile System.IO.FileInfo
SCAction ReflectedScript
SCActionInitArgs object
SCMovement ReflectedScript
SCMovementInitArgs object
SCTargeting ReflectedScript
SCTargetingInitArgs object
Units RTSEngine.Data.Team.RTSUnitData[]

Public Methods

Method Description
Deserialize ( BinaryReader s, GameState state ) : RTSRace
LoadBuilding ( ReflectedScript>.Dictionary d, int index, string rootPath, string file ) : void
LoadUnit ( ReflectedScript>.Dictionary d, int index, string rootPath, string file ) : void
RTSRace ( ) : System
Serialize ( BinaryWriter s, RTSRace race ) : void
SetController ( ReflectedScript>.Dictionary d, string cType, string key ) : void
UpdateActiveBuildings ( ) : void
UpdateActiveUnits ( ) : void

Method Details

Deserialize() public static method

public static Deserialize ( BinaryReader s, GameState state ) : RTSRace
s System.IO.BinaryReader
state GameState
return RTSRace

LoadBuilding() public method

public LoadBuilding ( ReflectedScript>.Dictionary d, int index, string rootPath, string file ) : void
d ReflectedScript>.Dictionary
index int
rootPath string
file string
return void

LoadUnit() public method

public LoadUnit ( ReflectedScript>.Dictionary d, int index, string rootPath, string file ) : void
d ReflectedScript>.Dictionary
index int
rootPath string
file string
return void

RTSRace() public method

public RTSRace ( ) : System
return System

Serialize() public static method

public static Serialize ( BinaryWriter s, RTSRace race ) : void
s System.IO.BinaryWriter
race RTSRace
return void

SetController() public method

public SetController ( ReflectedScript>.Dictionary d, string cType, string key ) : void
d ReflectedScript>.Dictionary
cType string
key string
return void

UpdateActiveBuildings() public method

public UpdateActiveBuildings ( ) : void
return void

UpdateActiveUnits() public method

public UpdateActiveUnits ( ) : void
return void

Property Details

ActiveBuildings public_oe property

public RTSBuildingData[],RTSEngine.Data.Team ActiveBuildings
return RTSEngine.Data.Team.RTSBuildingData[]

ActiveUnits public_oe property

public RTSUnitData[],RTSEngine.Data.Team ActiveUnits
return RTSEngine.Data.Team.RTSUnitData[]

Buildings public_oe property

public RTSBuildingData[],RTSEngine.Data.Team Buildings
return RTSEngine.Data.Team.RTSBuildingData[]

GlobalBuildSpeed public_oe property

public int GlobalBuildSpeed
return int

IconKey public_oe property

public string IconKey
return string

InfoFile public_oe property

public FileInfo,System.IO InfoFile
return System.IO.FileInfo

SCAction public_oe property

public ReflectedScript SCAction
return ReflectedScript

SCActionInitArgs public_oe property

public object SCActionInitArgs
return object

SCMovement public_oe property

public ReflectedScript SCMovement
return ReflectedScript

SCMovementInitArgs public_oe property

public object SCMovementInitArgs
return object

SCTargeting public_oe property

public ReflectedScript SCTargeting
return ReflectedScript

SCTargetingInitArgs public_oe property

public object SCTargetingInitArgs
return object

Units public_oe property

public RTSUnitData[],RTSEngine.Data.Team Units
return RTSEngine.Data.Team.RTSUnitData[]