C# Class WorldEditor.WorldMap

显示文件 Open project: rotators/tools Class Usage Examples

Private Properties

Property Type Description
ItemsInZone int

Public Methods

Method 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

Method Description
ItemsInZone ( Zone i, int ItemPid ) : int

Method Details

ClearAllBrushed() public method

public ClearAllBrushed ( ) : void
return void

Compile() public method

public Compile ( ) : bool
return bool

DeleteSelected() public method

public DeleteSelected ( ) : bool
return bool

DrawAvailable() public method

public DrawAvailable ( Graphics g ) : void
g System.Drawing.Graphics
return void

DrawBrushed() public method

public DrawBrushed ( Graphics g ) : void
g System.Drawing.Graphics
return void

DrawDifficultyZones() public method

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

DrawFilteredWorldZones() public method

public DrawFilteredWorldZones ( IFilter Filter, Graphics g ) : void
Filter IFilter
g System.Drawing.Graphics
return void

DrawGroupDensity() public method

public DrawGroupDensity ( Graphics g, bool ShowNumbers ) : void
g System.Drawing.Graphics
ShowNumbers bool
return void

DrawGroupQuantities() public method

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

DrawItemZones() public method

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

DrawLocations() public method

public DrawLocations ( Graphics g ) : void
g System.Drawing.Graphics
return void

DrawModified() public method

public DrawModified ( Graphics g ) : void
g System.Drawing.Graphics
return void

DrawObjects() public method

public DrawObjects ( Graphics g ) : void
g System.Drawing.Graphics
return void

DrawScript() public method

public DrawScript ( Graphics g ) : void
g System.Drawing.Graphics
return void

DrawSelectedZone() public method

public DrawSelectedZone ( Graphics g ) : void
g System.Drawing.Graphics
return void

DrawZoneValue() public method

public DrawZoneValue ( Graphics g, List zones ) : void
g System.Drawing.Graphics
zones List
return void

GetGroups() public method

public GetGroups ( ) : List
return List

GetLocation() public method

public GetLocation ( int x, int y ) : Location
x int
y int
return Location

GetLocations() public method

public GetLocations ( ) : List
return List

GetSelectedZone() public method

public GetSelectedZone ( ) : IZone
return IZone

GetWorldMapFormat() public method

public GetWorldMapFormat ( ) : IWorldMapFormat
return IWorldMapFormat

GetZone() public method

public GetZone ( int x, int y ) : IZone
x int
y int
return IZone

GetZones() public method

public GetZones ( ) : List
return List

IsModified() public method

public IsModified ( ) : bool
return bool

LoadZones() public method

public LoadZones ( FOCommon.Parsers.EncounterGroupParser GroupParser ) : bool
GroupParser FOCommon.Parsers.EncounterGroupParser
return bool

ModifyChance() public method

public ModifyChance ( string text ) : bool
text string
return bool

ModifyDifficulty() public method

public ModifyDifficulty ( string value ) : bool
value string
return bool

ModifyGroups() public method

public ModifyGroups ( List groups ) : bool
groups List
return bool

ModifyLocation() public method

public ModifyLocation ( List locations ) : bool
locations List
return bool

ModifySelectedZoneWithBrush() public method

public ModifySelectedZoneWithBrush ( List Groups, List Locations, List Flags, bool add, int chance ) : bool
Groups List
Locations List
Flags List
add bool
chance int
return bool

MoveSelectedZone() public method

public MoveSelectedZone ( int x, int y ) : bool
x int
y int
return bool

NewZone() public method

public NewZone ( int x, int y ) : IZone
x int
y int
return IZone

Parse() public method

public Parse ( ) : void
return void

RefreshZoneGroups() public method

public RefreshZoneGroups ( ) : void
return void

ReplaceSelectedZone() public method

public ReplaceSelectedZone ( IZone zone, ICopy ICopyParams ) : void
zone IZone
ICopyParams ICopy
return void

Save() public method

public Save ( ) : bool
return bool

SaveLocations() public method

public SaveLocations ( ) : void
return void

SaveMaps() public method

public SaveMaps ( ) : void
return void

SaveSelected() public method

public SaveSelected ( ) : void
return void

SaveZones() public method

public SaveZones ( ) : bool
return bool

SetSelectedZone() public method

public SetSelectedZone ( int x, int y ) : void
x int
y int
return void

WorldMap() public method

public WorldMap ( string WorldMapFileName, string CompiledWorldMapFilename, IWorldMapFormat WMFormat ) : System
WorldMapFileName string
CompiledWorldMapFilename string
WMFormat IWorldMapFormat
return System