C# Класс FSO.SimAntics.NetPlay.Model.Commands.VMNetAsyncResponseCmd

For asynchronous events, such as transactions, inventory access and plugins. Updates the state for a thread waiting on an asynchronous response, usually waking it up. CANNOT be sent by clients. Must be sent to server. The intention is for the async state updates being sent to the SimAntics VM are run at the same time on both the client and server VMs.
Наследование: FSO.SimAntics.NetPlay.Model.VMNetCommandBodyAbstract
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
ID short
State FSO.SimAntics.Model.TSOPlatform.VMAsyncState

Открытые методы

Метод Описание
Deserialize ( BinaryReader reader ) : void
Execute ( VM vm ) : bool
SerializeInto ( BinaryWriter writer ) : void
VMNetAsyncResponseCmd ( ) : System
VMNetAsyncResponseCmd ( short id, VMAsyncState state ) : System

Описание методов

Deserialize() публичный Метод

public Deserialize ( BinaryReader reader ) : void
reader System.IO.BinaryReader
Результат void

Execute() публичный Метод

public Execute ( VM vm ) : bool
vm VM
Результат bool

SerializeInto() публичный Метод

public SerializeInto ( BinaryWriter writer ) : void
writer System.IO.BinaryWriter
Результат void

VMNetAsyncResponseCmd() публичный Метод

public VMNetAsyncResponseCmd ( ) : System
Результат System

VMNetAsyncResponseCmd() публичный Метод

public VMNetAsyncResponseCmd ( short id, VMAsyncState state ) : System
id short
state FSO.SimAntics.Model.TSOPlatform.VMAsyncState
Результат System

Описание свойств

ID публичное свойство

public short ID
Результат short

State публичное свойство

public VMAsyncState,FSO.SimAntics.Model.TSOPlatform State
Результат FSO.SimAntics.Model.TSOPlatform.VMAsyncState