C# 클래스 FSO.SimAntics.VMArchitecture

파일 보기 프로젝트 열기: RHY3756547/FreeSO 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
GetFloorRef ( ushort id ) : FloorReference
GetPatternRef ( ushort id ) : WallReference

메소드 상세

GetFloor() 공개 메소드

public GetFloor ( short tileX, short tileY, sbyte level ) : FSO.LotView.Model.FloorTile
tileX short
tileY short
level sbyte
리턴 FSO.LotView.Model.FloorTile

GetOffset() 공개 메소드

public GetOffset ( int tileX, int tileY ) : ushort
tileX int
tileY int
리턴 ushort

GetWall() 공개 메소드

public GetWall ( short tileX, short tileY, sbyte level ) : FSO.LotView.Model.WallTile
tileX short
tileY short
level sbyte
리턴 FSO.LotView.Model.WallTile

Load() 공개 메소드

public Load ( VMArchitectureMarshal input ) : void
input FSO.SimAntics.Marshals.VMArchitectureMarshal
리턴 void

RaycastWall() 공개 메소드

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
리턴 bool

RegenRoomMap() 공개 메소드

public RegenRoomMap ( ) : void
리턴 void

RegenWallsAt() 공개 메소드

public RegenWallsAt ( ) : void
리턴 void

RegenerateSupported() 공개 메소드

public RegenerateSupported ( int level ) : void
level int
리턴 void

RunCommands() 공개 메소드

public RunCommands ( List commands, bool transient ) : int
commands List
transient bool
리턴 int

Save() 공개 메소드

public Save ( ) : VMArchitectureMarshal
리턴 FSO.SimAntics.Marshals.VMArchitectureMarshal

SetFloor() 공개 메소드

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
리턴 bool

SetObjectSupported() 공개 메소드

public SetObjectSupported ( short x, short y, sbyte level, bool support ) : void
x short
y short
level sbyte
support bool
리턴 void

SetTimeOfDay() 공개 메소드

public SetTimeOfDay ( double time ) : void
time double
리턴 void

SetWall() 공개 메소드

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
리턴 void

SignalRedraw() 공개 메소드

public SignalRedraw ( ) : void
리턴 void

SimulateCommands() 공개 메소드

public SimulateCommands ( List commands, bool visualChange ) : int
commands List
visualChange bool
리턴 int

Tick() 공개 메소드

public Tick ( ) : void
리턴 void

VMArchitecture() 공개 메소드

public VMArchitecture ( VMArchitectureMarshal input, VMContext context, FSO.LotView.Model.Blueprint blueprint ) : System
input FSO.SimAntics.Marshals.VMArchitectureMarshal
context VMContext
blueprint FSO.LotView.Model.Blueprint
리턴 System

VMArchitecture() 공개 메소드

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
리턴 System

WallDirtyState() 공개 메소드

public WallDirtyState ( VMArchitectureMarshal input ) : void
input FSO.SimAntics.Marshals.VMArchitectureMarshal
리턴 void

프로퍼티 상세

Commands 공개적으로 프로퍼티

public List Commands
리턴 List

Context 공개적으로 프로퍼티

public VMContext,FSO.SimAntics Context
리턴 VMContext

Floors 공개적으로 프로퍼티

public FloorTile[][],FSO.LotView.Model Floors
리턴 FSO.LotView.Model.FloorTile[][]

Height 공개적으로 프로퍼티

public int Height
리턴 int

LastTestCost 공개적으로 프로퍼티

public int LastTestCost
리턴 int

ObjectSupport 공개적으로 프로퍼티

public bool[][] ObjectSupport
리턴 bool[][]

RoomData 공개적으로 프로퍼티

public List RoomData
리턴 List

Rooms 공개적으로 프로퍼티

public VMRoomMap[],FSO.SimAntics.Model Rooms
리턴 FSO.SimAntics.Model.VMRoomMap[]

Stories 공개적으로 프로퍼티

public int Stories
리턴 int

Supported 공개적으로 프로퍼티

public bool[][] Supported
리턴 bool[][]

VisFloors 공개적으로 프로퍼티

public FloorTile[][],FSO.LotView.Model VisFloors
리턴 FSO.LotView.Model.FloorTile[][]

VisWalls 공개적으로 프로퍼티

public WallTile[][],FSO.LotView.Model VisWalls
리턴 FSO.LotView.Model.WallTile[][]

Walls 공개적으로 프로퍼티

public WallTile[][],FSO.LotView.Model Walls
리턴 FSO.LotView.Model.WallTile[][]

WallsAt 공개적으로 프로퍼티

public List[] WallsAt
리턴 List[]

Width 공개적으로 프로퍼티

public int Width
리턴 int