Свойство | Тип | Описание | |
---|---|---|---|
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 |
Метод | Описание | |
---|---|---|
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 |
Метод | Описание | |
---|---|---|
ContainsAllProjectedCellsCovering ( MPos uv ) : bool | ||
ProjectCellInner ( MPos uv ) : OpenRA.PPos[] | ||
UpdateEdgeCells ( ) : List |
public CellContaining ( OpenRA.WPos pos ) : OpenRA.CPos | ||
pos | OpenRA.WPos | |
Результат | OpenRA.CPos |
public CenterOfCell ( OpenRA.CPos cell ) : OpenRA.WPos | ||
cell | OpenRA.CPos | |
Результат | OpenRA.WPos |
public CenterOfSubCell ( OpenRA.CPos cell, SubCell subCell ) : OpenRA.WPos | ||
cell | OpenRA.CPos | |
subCell | SubCell | |
Результат | OpenRA.WPos |
public ChooseClosestEdgeCell ( OpenRA.CPos cell ) : OpenRA.CPos | ||
cell | OpenRA.CPos | |
Результат | OpenRA.CPos |
public ChooseClosestEdgeCell ( MPos uv ) : MPos | ||
uv | MPos | |
Результат | MPos |
public ChooseClosestMatchingEdgeCell ( OpenRA.CPos cell, bool>.Func |
||
cell | OpenRA.CPos | |
match | bool>.Func | |
Результат | OpenRA.CPos |
public ChooseRandomCell ( MersenneTwister rand ) : OpenRA.CPos | ||
rand | MersenneTwister | |
Результат | OpenRA.CPos |
public ChooseRandomEdgeCell ( MersenneTwister rand ) : OpenRA.CPos | ||
rand | MersenneTwister | |
Результат | OpenRA.CPos |
public Clamp ( OpenRA.CPos cell ) : OpenRA.CPos | ||
cell | OpenRA.CPos | |
Результат | OpenRA.CPos |
public Clamp ( OpenRA.PPos puv ) : OpenRA.PPos | ||
puv | OpenRA.PPos | |
Результат | OpenRA.PPos |
public static ComputeUID ( IReadOnlyPackage package ) : string | ||
package | IReadOnlyPackage | |
Результат | string |
public Contains ( OpenRA.CPos cell ) : bool | ||
cell | OpenRA.CPos | |
Результат | bool |
public Contains ( OpenRA.PPos puv ) : bool | ||
puv | OpenRA.PPos | |
Результат | bool |
public DistanceAboveTerrain ( OpenRA.WPos pos ) : WDist | ||
pos | OpenRA.WPos | |
Результат | WDist |
public DistanceToEdge ( OpenRA.WPos pos, OpenRA.WVec dir ) : WDist | ||
pos | OpenRA.WPos | |
dir | OpenRA.WVec | |
Результат | WDist |
public FacingBetween ( OpenRA.CPos cell, OpenRA.CPos towards, int fallbackfacing ) : int | ||
cell | OpenRA.CPos | |
towards | OpenRA.CPos | |
fallbackfacing | int | |
Результат | int |
public FindTilesInAnnulus ( OpenRA.CPos center, int minRange, int maxRange, bool allowOutsideBounds = false ) : IEnumerable |
||
center | OpenRA.CPos | |
minRange | int | |
maxRange | int | |
allowOutsideBounds | bool | |
Результат | IEnumerable |
public FindTilesInCircle ( OpenRA.CPos center, int maxRange, bool allowOutsideBounds = false ) : IEnumerable |
||
center | OpenRA.CPos | |
maxRange | int | |
allowOutsideBounds | bool | |
Результат | IEnumerable |
public GetTerrainIndex ( OpenRA.CPos cell ) : byte | ||
cell | OpenRA.CPos | |
Результат | byte |
public GetTerrainInfo ( OpenRA.CPos cell ) : |
||
cell | OpenRA.CPos | |
Результат |
public InitializeCellProjection ( ) : void | ||
Результат | void |
public Map ( OpenRA.ModData modData, IReadOnlyPackage package ) : System | ||
modData | OpenRA.ModData | |
package | IReadOnlyPackage | |
Результат | System |
public Map ( OpenRA.ModData modData, |
||
modData | OpenRA.ModData | |
tileset | ||
width | int | |
height | int | |
Результат | System |
public ProjectedCellCovering ( OpenRA.WPos pos ) : OpenRA.PPos | ||
pos | OpenRA.WPos | |
Результат | OpenRA.PPos |
public ProjectedCellsCovering ( MPos uv ) : OpenRA.PPos[] | ||
uv | MPos | |
Результат | OpenRA.PPos[] |
public Resize ( int width, int height ) : void | ||
width | int | |
height | int | |
Результат | void |
public Save ( IReadWritePackage toPackage ) : void | ||
toPackage | IReadWritePackage | |
Результат | void |
public SetBounds ( PPos tl, PPos br ) : void | ||
tl | PPos | |
br | PPos | |
Результат | void |
public TryGetPackageContaining ( string path, IReadOnlyPackage &package, string &filename ) : bool | ||
path | string | |
package | IReadOnlyPackage | |
filename | string | |
Результат | bool |
public TryOpen ( string filename, Stream &s ) : bool | ||
filename | string | |
s | Stream | |
Результат | bool |
public UpdateProjection ( CPos cell ) : void | ||
cell | CPos | |
Результат | void |
public MiniYaml NotificationDefinitions | ||
Результат | MiniYaml |
public MiniYaml VoxelSequenceDefinitions | ||
Результат | MiniYaml |