C# Class MultiEditor.MultiEditorComponentList

Afficher le fichier Open project: polserver/poltools Class Usage Examples

Méthodes publiques

Свойство Type Description
DoubleSurfaceCount int
WalkableCount int

Méthodes publiques

Méthode Description
AddToSDKComponentList ( int id ) : void

Export to given multi id

CalcDoubleSurface ( ) : void
CalcSolver ( ) : void
CalcSolver ( int x, int y ) : void
CalcWalkable ( ) : void
ConvertToSDK ( ) : MultiComponentList
GetImage ( Graphics gfx, int xoff, int yoff, int maxheight, Point mouseLoc, bool drawFloor, bool forcerefresh ) : void

Gets Bitmap of Multi and sets HoverTile

GetSelected ( Point mouseLoc, int maxheight, bool drawFloor ) : MultiTile

Gets MultiTile from given Pixel Location

GetXYArray ( int x, int y ) : List
MultiEditorComponentList ( MultiComponentList list, MultiEditor parent ) : System

Create a ComponentList from UltimaSDK

MultiEditorComponentList ( int width, int height, MultiEditor parent ) : System

Create a blank ComponentList

Resize ( int width, int height ) : void

Resizes Multi size

SetFloorZ ( int Z ) : void
TileAdd ( int x, int y, int z, ushort id ) : void

Adds an MultiTile to specific location

TileMove ( MultiTile tile, int newx, int newy ) : void

Moves given MultiTile

TileRemove ( MultiTile tile ) : void

Removes specific MultiTile

TileZMod ( MultiTile tile, int modz ) : void

Alters Z level for given MultiTile

TileZSet ( MultiTile tile, int setz ) : void

Sets Z value of given MultiTile

Undo ( int index ) : void
UndoClear ( ) : void

Private Methods

Méthode Description
AddToUndoList ( string Action ) : void
RecalcMinMax ( ) : void

Recalcs Bitmap size

RecalcMinMax ( MultiTile tile ) : void

Method Details

AddToSDKComponentList() public méthode

Export to given multi id
public AddToSDKComponentList ( int id ) : void
id int
Résultat void

CalcDoubleSurface() public méthode

public CalcDoubleSurface ( ) : void
Résultat void

CalcSolver() public méthode

public CalcSolver ( ) : void
Résultat void

CalcSolver() public méthode

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

CalcWalkable() public méthode

public CalcWalkable ( ) : void
Résultat void

ConvertToSDK() public méthode

public ConvertToSDK ( ) : MultiComponentList
Résultat Ultima.MultiComponentList

GetImage() public méthode

Gets Bitmap of Multi and sets HoverTile
public GetImage ( Graphics gfx, int xoff, int yoff, int maxheight, Point mouseLoc, bool drawFloor, bool forcerefresh ) : void
gfx System.Drawing.Graphics
xoff int
yoff int
maxheight int
mouseLoc Point
drawFloor bool
forcerefresh bool
Résultat void

GetSelected() public méthode

Gets MultiTile from given Pixel Location
public GetSelected ( Point mouseLoc, int maxheight, bool drawFloor ) : MultiTile
mouseLoc Point
maxheight int
drawFloor bool
Résultat MultiTile

GetXYArray() public méthode

public GetXYArray ( int x, int y ) : List
x int
y int
Résultat List

MultiEditorComponentList() public méthode

Create a ComponentList from UltimaSDK
public MultiEditorComponentList ( MultiComponentList list, MultiEditor parent ) : System
list Ultima.MultiComponentList
parent MultiEditor
Résultat System

MultiEditorComponentList() public méthode

Create a blank ComponentList
public MultiEditorComponentList ( int width, int height, MultiEditor parent ) : System
width int
height int
parent MultiEditor
Résultat System

Resize() public méthode

Resizes Multi size
public Resize ( int width, int height ) : void
width int
height int
Résultat void

SetFloorZ() public méthode

public SetFloorZ ( int Z ) : void
Z int
Résultat void

TileAdd() public méthode

Adds an MultiTile to specific location
public TileAdd ( int x, int y, int z, ushort id ) : void
x int
y int
z int
id ushort
Résultat void

TileMove() public méthode

Moves given MultiTile
public TileMove ( MultiTile tile, int newx, int newy ) : void
tile MultiTile
newx int
newy int
Résultat void

TileRemove() public méthode

Removes specific MultiTile
public TileRemove ( MultiTile tile ) : void
tile MultiTile
Résultat void

TileZMod() public méthode

Alters Z level for given MultiTile
public TileZMod ( MultiTile tile, int modz ) : void
tile MultiTile
modz int
Résultat void

TileZSet() public méthode

Sets Z value of given MultiTile
public TileZSet ( MultiTile tile, int setz ) : void
tile MultiTile
setz int
Résultat void

Undo() public méthode

public Undo ( int index ) : void
index int
Résultat void

UndoClear() public méthode

public UndoClear ( ) : void
Résultat void

Property Details

DoubleSurfaceCount public_oe property

public int DoubleSurfaceCount
Résultat int

WalkableCount public_oe property

public int WalkableCount
Résultat int