C# Class OpenRA.MapPreview

Datei anzeigen Open project: pchote/OpenRA

Public Properties

Property Type Description
Uid string

Public Methods

Method Description
CancelInstall ( ) : void
Delete ( ) : void
Dispose ( ) : void
GetMinimap ( ) : Sprite
Install ( System.Action onSuccess ) : void
Invalidate ( ) : void
MapPreview ( OpenRA.ModData modData, string uid, MapGridType gridType, MapCache cache ) : System
PreloadRules ( ) : void
UpdateFromMap ( IReadOnlyPackage p, IReadOnlyPackage parent, MapClassification classification, string mapCompatibility, MapGridType gridType ) : void
UpdateRemoteSearch ( MapStatus status, MiniYaml yaml, Action parseMetadata = null ) : void

Private Methods

Method Description
IReadOnlyFileSystem ( string filename ) : Stream
IReadOnlyFileSystem ( string filename ) : bool
IReadOnlyFileSystem ( string path, IReadOnlyPackage &package, string &filename ) : bool
IReadOnlyFileSystem ( string filename, Stream &s ) : bool
LoadRuleSection ( MiniYaml>.Dictionary yaml, string section ) : MiniYaml
SetMinimap ( Sprite minimap ) : void

Method Details

CancelInstall() public method

public CancelInstall ( ) : void
return void

Delete() public method

public Delete ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

GetMinimap() public method

public GetMinimap ( ) : Sprite
return OpenRA.Graphics.Sprite

Install() public method

public Install ( System.Action onSuccess ) : void
onSuccess System.Action
return void

Invalidate() public method

public Invalidate ( ) : void
return void

MapPreview() public method

public MapPreview ( OpenRA.ModData modData, string uid, MapGridType gridType, MapCache cache ) : System
modData OpenRA.ModData
uid string
gridType MapGridType
cache MapCache
return System

PreloadRules() public method

public PreloadRules ( ) : void
return void

UpdateFromMap() public method

public UpdateFromMap ( IReadOnlyPackage p, IReadOnlyPackage parent, MapClassification classification, string mapCompatibility, MapGridType gridType ) : void
p IReadOnlyPackage
parent IReadOnlyPackage
classification MapClassification
mapCompatibility string
gridType MapGridType
return void

UpdateRemoteSearch() public method

public UpdateRemoteSearch ( MapStatus status, MiniYaml yaml, Action parseMetadata = null ) : void
status MapStatus
yaml MiniYaml
parseMetadata Action
return void

Property Details

Uid public_oe property

public string Uid
return string