Property | Type | Description | |
---|---|---|---|
BHAVDirty | bool | ||
CheckGlobalLink | VMTSOGlobalLinkStub | ||
EODHost | VMEODHost | ||
Entities | List |
||
GlobalState | short[] | ||
Headline | VMHeadlineRendererProvider | ||
LotName | string | ||
MyUID | uint | ||
PlatformState | |||
Ready | bool |
Method | Description | |
---|---|---|
AddEntity ( FSO.SimAntics.VMEntity entity ) : void |
Adds an entity to this Virtual Machine.
|
|
AddToObjList ( List |
||
Assemble ( FSO.Files.Formats.IFF.Chunks.BHAV bhav ) : FSO.SimAntics.VMRoutine |
Assembles a set of instructions.
|
|
BHAVChanged ( FSO.Files.Formats.IFF.Chunks.BHAV bhav ) : void | ||
CloseNet ( VMCloseNetReason reason ) : void | ||
ForwardCommand ( |
||
GetGlobalValue ( ushort var ) : short |
Gets a global value set for this Virtual Machine.
|
|
GetObjectById ( short id ) : FSO.SimAntics.VMEntity |
Gets an entity from this VM.
|
|
GetObjectByPersist ( uint id ) : FSO.SimAntics.VMEntity | ||
GetUserIP ( uint uid ) : string | ||
Init ( ) : void |
Initializes this Virtual Machine.
|
|
InternalTick ( ) : void | ||
Load ( |
||
OnPacket ( |
||
RemoveEntity ( FSO.SimAntics.VMEntity entity ) : void |
Removes an entity from this Virtual Machine.
|
|
ReplaceNet ( |
||
Reset ( ) : void | ||
Sandbox ( ) : |
||
SandboxRestore ( |
||
Save ( ) : |
||
SendCommand ( |
||
SetGlobalValue ( ushort var, short value ) : bool |
Sets a global value for this Virtual Machine.
|
|
SignalChatEvent ( VMChatEvent evt ) : void |
Signals a chat event to all listeners. (usually a UI)
|
|
SignalDialog ( FSO.SimAntics.Model.VMDialogInfo info ) : void |
Signals a Dialog to all listeners. (usually a UI)
|
|
SignalEODMessage ( VMNetEODMessageCmd msg ) : void | ||
Update ( ) : void | ||
VM ( |
Constructs a new Virtual Machine instance.
|
Method | Description | |
---|---|---|
BreakpointHit ( FSO.SimAntics.VMEntity entity ) : void | ||
NextObjID ( ) : short |
Finds the next free object ID and remembers it for use when making another object.
|
|
Tick ( ) : void | ||
VM_OnBHAVChange ( ) : void |
public AddEntity ( FSO.SimAntics.VMEntity entity ) : void | ||
entity | FSO.SimAntics.VMEntity | The entity to add. |
return | void |
public static AddToObjList ( List |
||
list | List |
|
entity | FSO.SimAntics.VMEntity | |
return | void |
public Assemble ( FSO.Files.Formats.IFF.Chunks.BHAV bhav ) : FSO.SimAntics.VMRoutine | ||
bhav | FSO.Files.Formats.IFF.Chunks.BHAV | The instruction set to assemble. |
return | FSO.SimAntics.VMRoutine |
public static BHAVChanged ( FSO.Files.Formats.IFF.Chunks.BHAV bhav ) : void | ||
bhav | FSO.Files.Formats.IFF.Chunks.BHAV | |
return | void |
public CloseNet ( VMCloseNetReason reason ) : void | ||
reason | VMCloseNetReason | |
return | void |
public ForwardCommand ( |
||
cmd | ||
return | void |
public GetGlobalValue ( ushort var ) : short | ||
var | ushort | The index of the global value to get. WARNING: Throws exception if index is OOB. /// Must be in range of 0 - 31. |
return | short |
public GetObjectById ( short id ) : FSO.SimAntics.VMEntity | ||
id | short | The entity's ID. |
return | FSO.SimAntics.VMEntity |
public GetObjectByPersist ( uint id ) : FSO.SimAntics.VMEntity | ||
id | uint | |
return | FSO.SimAntics.VMEntity |
public Load ( |
||
input | ||
return | void |
public OnPacket ( |
||
Client | ||
Packet | GonzoNet.ProcessedPacket | |
return | void |
public RemoveEntity ( FSO.SimAntics.VMEntity entity ) : void | ||
entity | FSO.SimAntics.VMEntity | The entity to remove. |
return | void |
public ReplaceNet ( |
||
driver | ||
return | void |
public SandboxRestore ( |
||
state | ||
return | void |
public SendCommand ( |
||
cmd | ||
return | void |
public SetGlobalValue ( ushort var, short value ) : bool | ||
var | ushort | Index for value, must be in range 0 - 31. |
value | short | Global value. |
return | bool |
public SignalChatEvent ( VMChatEvent evt ) : void | ||
evt | VMChatEvent | |
return | void |
public SignalDialog ( FSO.SimAntics.Model.VMDialogInfo info ) : void | ||
info | FSO.SimAntics.Model.VMDialogInfo | The dialog info to pass along. |
return | void |
public SignalEODMessage ( VMNetEODMessageCmd msg ) : void | ||
msg | VMNetEODMessageCmd | |
return | void |
public VM ( |
||
context | The VMContext instance to use. | |
driver | ||
headline | VMHeadlineRendererProvider | |
return | System |
public VMTSOGlobalLinkStub CheckGlobalLink | ||
return | VMTSOGlobalLinkStub |
public VMHeadlineRendererProvider Headline | ||
return | VMHeadlineRendererProvider |
public VMPlatformState,FSO.SimAntics.Model PlatformState | ||
return |