ServerCommand Enumeration |
Note: This API is now obsolete.
Namespace: SampSharp.Core.Communication
[ObsoleteAttribute("Multi-process mode is deprecated and will be removed in a future release.")] public enum ServerCommand
| Member name | Value | Description | |
|---|---|---|---|
| Nop | 0 | No operation. | |
| Ping | 1 | An instruction which can be sent to the server to request a Pong | |
| 2 | An instruction which can be sent to the server to print a message to the console. | ||
| Response | 3 | A message which can be sent to the server to deliver the response of a PublicCall or received from the server carrying a reply after FindNative or InvokeNative. | |
| Reconnect | 4 | An instruction which can be sent to the server to indicate the client will disconnect and connect again. | |
| RegisterCall | 5 | An instruction which can be sent to the server to register a callback. | |
| FindNative | 6 | An instruction which can be sent to the server to look a native up. | |
| InvokeNative | 7 | An instruction which can be sent to the server to invoke a native. | |
| Start | 8 | Once sent to the server, Tick and PublicCall calls will start being sent. | |
| Disconnect | 9 | An instruction which tells the server to expect the socket to close at any time. | |
| Alive | 16 | An instruction telling the server the client is still alive. | |
| Tick | 17 | A call sent by the server every server tick. | |
| Pong | 18 | A reply sent by the server after a Ping. | |
| PublicCall | 19 | A call sent by the server when a callback has been called. | |
| Reply | 20 | Obsolete. Obsolete. | |
| Announce | 21 | An announcement sent by the server after connecting to the server. |