Property | Type | Description | |
---|---|---|---|
ActorDefinitions | List |
||
Author | string | ||
Bounds | |||
Categories | string[] | ||
Grid | |||
LockPreview | bool | ||
MusicDefinitions | MiniYaml | ||
NotificationDefinitions | MiniYaml | ||
PlayerDefinitions | List |
||
RequiresMod | string | ||
RuleDefinitions | MiniYaml | ||
SequenceDefinitions | MiniYaml | ||
TileFormat | byte | ||
Tileset | string | ||
Title | string | ||
TranslationDefinitions | MiniYaml | ||
Visibility | MapVisibility | ||
VoiceDefinitions | MiniYaml | ||
VoxelSequenceDefinitions | MiniYaml | ||
WeaponDefinitions | MiniYaml |
Method | Description | |
---|---|---|
CellContaining ( OpenRA.WPos pos ) : OpenRA.CPos | ||
CenterOfCell ( OpenRA.CPos cell ) : OpenRA.WPos | ||
CenterOfSubCell ( OpenRA.CPos cell, SubCell subCell ) : OpenRA.WPos | ||
ChooseClosestEdgeCell ( OpenRA.CPos cell ) : OpenRA.CPos | ||
ChooseClosestEdgeCell ( MPos uv ) : MPos | ||
ChooseClosestMatchingEdgeCell ( OpenRA.CPos cell, bool>.Func |
||
ChooseRandomCell ( MersenneTwister rand ) : OpenRA.CPos | ||
ChooseRandomEdgeCell ( MersenneTwister rand ) : OpenRA.CPos | ||
Clamp ( OpenRA.CPos cell ) : OpenRA.CPos | ||
Clamp ( MPos uv ) : MPos | ||
Clamp ( OpenRA.PPos puv ) : OpenRA.PPos | ||
ComputeUID ( IReadOnlyPackage package ) : string | ||
Contains ( OpenRA.CPos cell ) : bool | ||
Contains ( MPos uv ) : bool | ||
Contains ( OpenRA.PPos puv ) : bool | ||
DistanceAboveTerrain ( OpenRA.WPos pos ) : WDist | ||
DistanceToEdge ( OpenRA.WPos pos, OpenRA.WVec dir ) : WDist | ||
Exists ( string filename ) : bool | ||
FacingBetween ( OpenRA.CPos cell, OpenRA.CPos towards, int fallbackfacing ) : int | ||
FindTilesInAnnulus ( OpenRA.CPos center, int minRange, int maxRange, bool allowOutsideBounds = false ) : IEnumerable |
||
FindTilesInCircle ( OpenRA.CPos center, int maxRange, bool allowOutsideBounds = false ) : IEnumerable |
||
FixOpenAreas ( ) : void | ||
GetTerrainIndex ( OpenRA.CPos cell ) : byte | ||
GetTerrainInfo ( OpenRA.CPos cell ) : |
||
InitializeCellProjection ( ) : void | ||
Map ( OpenRA.ModData modData, IReadOnlyPackage package ) : System | ||
Map ( OpenRA.ModData modData, |
Initializes a new map created by the editor or importer. The map will not receive a valid UID until after it has been saved and reloaded.
|
|
Open ( string filename ) : Stream | ||
PostInit ( ) : void | ||
ProjectedCellCovering ( OpenRA.WPos pos ) : OpenRA.PPos | ||
ProjectedCellsCovering ( MPos uv ) : OpenRA.PPos[] | ||
Resize ( int width, int height ) : void | ||
Save ( IReadWritePackage toPackage ) : void | ||
SaveBinaryData ( ) : byte[] | ||
SavePreview ( ) : byte[] | ||
SetBounds ( PPos tl, PPos br ) : void | ||
TryGetPackageContaining ( string path, IReadOnlyPackage &package, string &filename ) : bool | ||
TryOpen ( string filename, Stream &s ) : bool | ||
Unproject ( PPos puv ) : List |
||
UpdateProjection ( CPos cell ) : void |
Method | Description | |
---|---|---|
ContainsAllProjectedCellsCovering ( MPos uv ) : bool | ||
ProjectCellInner ( MPos uv ) : OpenRA.PPos[] | ||
UpdateEdgeCells ( ) : List |
public CellContaining ( OpenRA.WPos pos ) : OpenRA.CPos | ||
pos | OpenRA.WPos | |
return | OpenRA.CPos |
public CenterOfCell ( OpenRA.CPos cell ) : OpenRA.WPos | ||
cell | OpenRA.CPos | |
return | OpenRA.WPos |
public CenterOfSubCell ( OpenRA.CPos cell, SubCell subCell ) : OpenRA.WPos | ||
cell | OpenRA.CPos | |
subCell | SubCell | |
return | OpenRA.WPos |
public ChooseClosestEdgeCell ( OpenRA.CPos cell ) : OpenRA.CPos | ||
cell | OpenRA.CPos | |
return | OpenRA.CPos |
public ChooseClosestEdgeCell ( MPos uv ) : MPos | ||
uv | MPos | |
return | MPos |
public ChooseClosestMatchingEdgeCell ( OpenRA.CPos cell, bool>.Func |
||
cell | OpenRA.CPos | |
match | bool>.Func | |
return | OpenRA.CPos |
public ChooseRandomCell ( MersenneTwister rand ) : OpenRA.CPos | ||
rand | MersenneTwister | |
return | OpenRA.CPos |
public ChooseRandomEdgeCell ( MersenneTwister rand ) : OpenRA.CPos | ||
rand | MersenneTwister | |
return | OpenRA.CPos |
public Clamp ( OpenRA.CPos cell ) : OpenRA.CPos | ||
cell | OpenRA.CPos | |
return | OpenRA.CPos |
public Clamp ( OpenRA.PPos puv ) : OpenRA.PPos | ||
puv | OpenRA.PPos | |
return | OpenRA.PPos |
public static ComputeUID ( IReadOnlyPackage package ) : string | ||
package | IReadOnlyPackage | |
return | string |
public DistanceAboveTerrain ( OpenRA.WPos pos ) : WDist | ||
pos | OpenRA.WPos | |
return | WDist |
public DistanceToEdge ( OpenRA.WPos pos, OpenRA.WVec dir ) : WDist | ||
pos | OpenRA.WPos | |
dir | OpenRA.WVec | |
return | WDist |
public FacingBetween ( OpenRA.CPos cell, OpenRA.CPos towards, int fallbackfacing ) : int | ||
cell | OpenRA.CPos | |
towards | OpenRA.CPos | |
fallbackfacing | int | |
return | int |
public FindTilesInAnnulus ( OpenRA.CPos center, int minRange, int maxRange, bool allowOutsideBounds = false ) : IEnumerable |
||
center | OpenRA.CPos | |
minRange | int | |
maxRange | int | |
allowOutsideBounds | bool | |
return | IEnumerable |
public FindTilesInCircle ( OpenRA.CPos center, int maxRange, bool allowOutsideBounds = false ) : IEnumerable |
||
center | OpenRA.CPos | |
maxRange | int | |
allowOutsideBounds | bool | |
return | IEnumerable |
public GetTerrainIndex ( OpenRA.CPos cell ) : byte | ||
cell | OpenRA.CPos | |
return | byte |
public GetTerrainInfo ( OpenRA.CPos cell ) : |
||
cell | OpenRA.CPos | |
return |
public Map ( OpenRA.ModData modData, IReadOnlyPackage package ) : System | ||
modData | OpenRA.ModData | |
package | IReadOnlyPackage | |
return | System |
public Map ( OpenRA.ModData modData, |
||
modData | OpenRA.ModData | |
tileset | ||
width | int | |
height | int | |
return | System |
public ProjectedCellCovering ( OpenRA.WPos pos ) : OpenRA.PPos | ||
pos | OpenRA.WPos | |
return | OpenRA.PPos |
public ProjectedCellsCovering ( MPos uv ) : OpenRA.PPos[] | ||
uv | MPos | |
return | OpenRA.PPos[] |
public Resize ( int width, int height ) : void | ||
width | int | |
height | int | |
return | void |
public Save ( IReadWritePackage toPackage ) : void | ||
toPackage | IReadWritePackage | |
return | void |
public TryGetPackageContaining ( string path, IReadOnlyPackage &package, string &filename ) : bool | ||
path | string | |
package | IReadOnlyPackage | |
filename | string | |
return | bool |
public TryOpen ( string filename, Stream &s ) : bool | ||
filename | string | |
s | Stream | |
return | bool |
public MiniYaml VoxelSequenceDefinitions | ||
return | MiniYaml |