C# Class WorldEditor.WorldMap

Afficher le fichier Open project: rotators/tools Class Usage Examples

Private Properties

Свойство Type Description
ItemsInZone int

Méthodes publiques

Méthode Description
ClearAllBrushed ( ) : void
Compile ( ) : bool
DeleteSelected ( ) : bool
DrawAvailable ( Graphics g ) : void
DrawBrushed ( Graphics g ) : void
DrawDifficultyZones ( Graphics g, bool IsAbove, int Val, bool ShowNumbers ) : void
DrawFilteredWorldZones ( IFilter Filter, Graphics g ) : void
DrawGroupDensity ( Graphics g, bool ShowNumbers ) : void
DrawGroupQuantities ( Graphics g, bool ShowNumbers, int modifier ) : void
DrawItemZones ( Graphics g, string ItemDefine, bool ShowNumbers ) : void
DrawLocations ( Graphics g ) : void
DrawModified ( Graphics g ) : void
DrawObjects ( Graphics g ) : void
DrawScript ( Graphics g ) : void
DrawSelectedZone ( Graphics g ) : void
DrawZoneValue ( Graphics g, List zones ) : void
GetGroups ( ) : List
GetLocation ( int x, int y ) : Location
GetLocations ( ) : List
GetSelectedZone ( ) : IZone
GetWorldMapFormat ( ) : IWorldMapFormat
GetZone ( int x, int y ) : IZone
GetZones ( ) : List
IsModified ( ) : bool
LoadZones ( FOCommon.Parsers.EncounterGroupParser GroupParser ) : bool
ModifyChance ( string text ) : bool
ModifyDifficulty ( string value ) : bool
ModifyGroups ( List groups ) : bool
ModifyLocation ( List locations ) : bool
ModifySelectedZoneWithBrush ( List Groups, List Locations, List Flags, bool add, int chance ) : bool
MoveSelectedZone ( int x, int y ) : bool
NewZone ( int x, int y ) : IZone
Parse ( ) : void
RefreshZoneGroups ( ) : void
ReplaceSelectedZone ( IZone zone, ICopy ICopyParams ) : void
Save ( ) : bool
SaveLocations ( ) : void
SaveMaps ( ) : void
SaveSelected ( ) : void
SaveZones ( ) : bool
SetSelectedZone ( int x, int y ) : void
WorldMap ( string WorldMapFileName, string CompiledWorldMapFilename, IWorldMapFormat WMFormat ) : System

Private Methods

Méthode Description
ItemsInZone ( Zone i, int ItemPid ) : int

Method Details

ClearAllBrushed() public méthode

public ClearAllBrushed ( ) : void
Résultat void

Compile() public méthode

public Compile ( ) : bool
Résultat bool

DeleteSelected() public méthode

public DeleteSelected ( ) : bool
Résultat bool

DrawAvailable() public méthode

public DrawAvailable ( Graphics g ) : void
g System.Drawing.Graphics
Résultat void

DrawBrushed() public méthode

public DrawBrushed ( Graphics g ) : void
g System.Drawing.Graphics
Résultat void

DrawDifficultyZones() public méthode

public DrawDifficultyZones ( Graphics g, bool IsAbove, int Val, bool ShowNumbers ) : void
g System.Drawing.Graphics
IsAbove bool
Val int
ShowNumbers bool
Résultat void

DrawFilteredWorldZones() public méthode

public DrawFilteredWorldZones ( IFilter Filter, Graphics g ) : void
Filter IFilter
g System.Drawing.Graphics
Résultat void

DrawGroupDensity() public méthode

public DrawGroupDensity ( Graphics g, bool ShowNumbers ) : void
g System.Drawing.Graphics
ShowNumbers bool
Résultat void

DrawGroupQuantities() public méthode

public DrawGroupQuantities ( Graphics g, bool ShowNumbers, int modifier ) : void
g System.Drawing.Graphics
ShowNumbers bool
modifier int
Résultat void

DrawItemZones() public méthode

public DrawItemZones ( Graphics g, string ItemDefine, bool ShowNumbers ) : void
g System.Drawing.Graphics
ItemDefine string
ShowNumbers bool
Résultat void

DrawLocations() public méthode

public DrawLocations ( Graphics g ) : void
g System.Drawing.Graphics
Résultat void

DrawModified() public méthode

public DrawModified ( Graphics g ) : void
g System.Drawing.Graphics
Résultat void

DrawObjects() public méthode

public DrawObjects ( Graphics g ) : void
g System.Drawing.Graphics
Résultat void

DrawScript() public méthode

public DrawScript ( Graphics g ) : void
g System.Drawing.Graphics
Résultat void

DrawSelectedZone() public méthode

public DrawSelectedZone ( Graphics g ) : void
g System.Drawing.Graphics
Résultat void

DrawZoneValue() public méthode

public DrawZoneValue ( Graphics g, List zones ) : void
g System.Drawing.Graphics
zones List
Résultat void

GetGroups() public méthode

public GetGroups ( ) : List
Résultat List

GetLocation() public méthode

public GetLocation ( int x, int y ) : Location
x int
y int
Résultat Location

GetLocations() public méthode

public GetLocations ( ) : List
Résultat List

GetSelectedZone() public méthode

public GetSelectedZone ( ) : IZone
Résultat IZone

GetWorldMapFormat() public méthode

public GetWorldMapFormat ( ) : IWorldMapFormat
Résultat IWorldMapFormat

GetZone() public méthode

public GetZone ( int x, int y ) : IZone
x int
y int
Résultat IZone

GetZones() public méthode

public GetZones ( ) : List
Résultat List

IsModified() public méthode

public IsModified ( ) : bool
Résultat bool

LoadZones() public méthode

public LoadZones ( FOCommon.Parsers.EncounterGroupParser GroupParser ) : bool
GroupParser FOCommon.Parsers.EncounterGroupParser
Résultat bool

ModifyChance() public méthode

public ModifyChance ( string text ) : bool
text string
Résultat bool

ModifyDifficulty() public méthode

public ModifyDifficulty ( string value ) : bool
value string
Résultat bool

ModifyGroups() public méthode

public ModifyGroups ( List groups ) : bool
groups List
Résultat bool

ModifyLocation() public méthode

public ModifyLocation ( List locations ) : bool
locations List
Résultat bool

ModifySelectedZoneWithBrush() public méthode

public ModifySelectedZoneWithBrush ( List Groups, List Locations, List Flags, bool add, int chance ) : bool
Groups List
Locations List
Flags List
add bool
chance int
Résultat bool

MoveSelectedZone() public méthode

public MoveSelectedZone ( int x, int y ) : bool
x int
y int
Résultat bool

NewZone() public méthode

public NewZone ( int x, int y ) : IZone
x int
y int
Résultat IZone

Parse() public méthode

public Parse ( ) : void
Résultat void

RefreshZoneGroups() public méthode

public RefreshZoneGroups ( ) : void
Résultat void

ReplaceSelectedZone() public méthode

public ReplaceSelectedZone ( IZone zone, ICopy ICopyParams ) : void
zone IZone
ICopyParams ICopy
Résultat void

Save() public méthode

public Save ( ) : bool
Résultat bool

SaveLocations() public méthode

public SaveLocations ( ) : void
Résultat void

SaveMaps() public méthode

public SaveMaps ( ) : void
Résultat void

SaveSelected() public méthode

public SaveSelected ( ) : void
Résultat void

SaveZones() public méthode

public SaveZones ( ) : bool
Résultat bool

SetSelectedZone() public méthode

public SetSelectedZone ( int x, int y ) : void
x int
y int
Résultat void

WorldMap() public méthode

public WorldMap ( string WorldMapFileName, string CompiledWorldMapFilename, IWorldMapFormat WMFormat ) : System
WorldMapFileName string
CompiledWorldMapFilename string
WMFormat IWorldMapFormat
Résultat System