C# Class FSO.SimAntics.VMArchitecture

Afficher le fichier Open project: RHY3756547/FreeSO Class Usage Examples

Méthodes publiques

Свойство Type Description
Commands List
Context VMContext
Floors FSO.LotView.Model.FloorTile[][]
Height int
LastTestCost int
ObjectSupport bool[][]
RoomData List
Rooms FSO.SimAntics.Model.VMRoomMap[]
Stories int
Supported bool[][]
VisFloors FSO.LotView.Model.FloorTile[][]
VisWalls FSO.LotView.Model.WallTile[][]
Walls FSO.LotView.Model.WallTile[][]
WallsAt List[]
Width int

Méthodes publiques

Méthode Description
GetFloor ( short tileX, short tileY, sbyte level ) : FSO.LotView.Model.FloorTile
GetOffset ( int tileX, int tileY ) : ushort
GetWall ( short tileX, short tileY, sbyte level ) : FSO.LotView.Model.WallTile
Load ( VMArchitectureMarshal input ) : void
RaycastWall ( Point p1, Point p2, sbyte level ) : bool

Checks if there is a wall between two (Full Tile) points.

RegenRoomMap ( ) : void
RegenWallsAt ( ) : void
RegenerateSupported ( int level ) : void
RunCommands ( List commands, bool transient ) : int
Save ( ) : VMArchitectureMarshal
SetFloor ( short tileX, short tileY, sbyte level, FSO.LotView.Model.FloorTile floor, bool force ) : bool
SetObjectSupported ( short x, short y, sbyte level, bool support ) : void
SetTimeOfDay ( double time ) : void
SetWall ( short tileX, short tileY, sbyte level, FSO.LotView.Model.WallTile wall ) : void
SignalRedraw ( ) : void
SimulateCommands ( List commands, bool visualChange ) : int
Tick ( ) : void
VMArchitecture ( VMArchitectureMarshal input, VMContext context, FSO.LotView.Model.Blueprint blueprint ) : System
VMArchitecture ( int width, int height, FSO.LotView.Model.Blueprint blueprint, VMContext context ) : System
WallDirtyState ( VMArchitectureMarshal input ) : void

Private Methods

Méthode Description
GetFloorRef ( ushort id ) : FloorReference
GetPatternRef ( ushort id ) : WallReference

Method Details

GetFloor() public méthode

public GetFloor ( short tileX, short tileY, sbyte level ) : FSO.LotView.Model.FloorTile
tileX short
tileY short
level sbyte
Résultat FSO.LotView.Model.FloorTile

GetOffset() public méthode

public GetOffset ( int tileX, int tileY ) : ushort
tileX int
tileY int
Résultat ushort

GetWall() public méthode

public GetWall ( short tileX, short tileY, sbyte level ) : FSO.LotView.Model.WallTile
tileX short
tileY short
level sbyte
Résultat FSO.LotView.Model.WallTile

Load() public méthode

public Load ( VMArchitectureMarshal input ) : void
input FSO.SimAntics.Marshals.VMArchitectureMarshal
Résultat void

RaycastWall() public méthode

Checks if there is a wall between two (Full Tile) points.
public RaycastWall ( Point p1, Point p2, sbyte level ) : bool
p1 Point Start Position (Full Tile Pos)
p2 Point End Position (Full Tile Pos)
level sbyte Level for both points
Résultat bool

RegenRoomMap() public méthode

public RegenRoomMap ( ) : void
Résultat void

RegenWallsAt() public méthode

public RegenWallsAt ( ) : void
Résultat void

RegenerateSupported() public méthode

public RegenerateSupported ( int level ) : void
level int
Résultat void

RunCommands() public méthode

public RunCommands ( List commands, bool transient ) : int
commands List
transient bool
Résultat int

Save() public méthode

public Save ( ) : VMArchitectureMarshal
Résultat FSO.SimAntics.Marshals.VMArchitectureMarshal

SetFloor() public méthode

public SetFloor ( short tileX, short tileY, sbyte level, FSO.LotView.Model.FloorTile floor, bool force ) : bool
tileX short
tileY short
level sbyte
floor FSO.LotView.Model.FloorTile
force bool
Résultat bool

SetObjectSupported() public méthode

public SetObjectSupported ( short x, short y, sbyte level, bool support ) : void
x short
y short
level sbyte
support bool
Résultat void

SetTimeOfDay() public méthode

public SetTimeOfDay ( double time ) : void
time double
Résultat void

SetWall() public méthode

public SetWall ( short tileX, short tileY, sbyte level, FSO.LotView.Model.WallTile wall ) : void
tileX short
tileY short
level sbyte
wall FSO.LotView.Model.WallTile
Résultat void

SignalRedraw() public méthode

public SignalRedraw ( ) : void
Résultat void

SimulateCommands() public méthode

public SimulateCommands ( List commands, bool visualChange ) : int
commands List
visualChange bool
Résultat int

Tick() public méthode

public Tick ( ) : void
Résultat void

VMArchitecture() public méthode

public VMArchitecture ( VMArchitectureMarshal input, VMContext context, FSO.LotView.Model.Blueprint blueprint ) : System
input FSO.SimAntics.Marshals.VMArchitectureMarshal
context VMContext
blueprint FSO.LotView.Model.Blueprint
Résultat System

VMArchitecture() public méthode

public VMArchitecture ( int width, int height, FSO.LotView.Model.Blueprint blueprint, VMContext context ) : System
width int
height int
blueprint FSO.LotView.Model.Blueprint
context VMContext
Résultat System

WallDirtyState() public méthode

public WallDirtyState ( VMArchitectureMarshal input ) : void
input FSO.SimAntics.Marshals.VMArchitectureMarshal
Résultat void

Property Details

Commands public_oe property

public List Commands
Résultat List

Context public_oe property

public VMContext,FSO.SimAntics Context
Résultat VMContext

Floors public_oe property

public FloorTile[][],FSO.LotView.Model Floors
Résultat FSO.LotView.Model.FloorTile[][]

Height public_oe property

public int Height
Résultat int

LastTestCost public_oe property

public int LastTestCost
Résultat int

ObjectSupport public_oe property

public bool[][] ObjectSupport
Résultat bool[][]

RoomData public_oe property

public List RoomData
Résultat List

Rooms public_oe property

public VMRoomMap[],FSO.SimAntics.Model Rooms
Résultat FSO.SimAntics.Model.VMRoomMap[]

Stories public_oe property

public int Stories
Résultat int

Supported public_oe property

public bool[][] Supported
Résultat bool[][]

VisFloors public_oe property

public FloorTile[][],FSO.LotView.Model VisFloors
Résultat FSO.LotView.Model.FloorTile[][]

VisWalls public_oe property

public WallTile[][],FSO.LotView.Model VisWalls
Résultat FSO.LotView.Model.WallTile[][]

Walls public_oe property

public WallTile[][],FSO.LotView.Model Walls
Résultat FSO.LotView.Model.WallTile[][]

WallsAt public_oe property

public List[] WallsAt
Résultat List[]

Width public_oe property

public int Width
Résultat int