Click or drag to resize

MultiProcessGameModeClient Class

Note: This API is now obsolete.

Represents a SampSharp game mode client for remote SA-MP servers.
Inheritance Hierarchy
SystemObject
  SampSharp.CoreMultiProcessGameModeClient

Namespace:  SampSharp.Core
Assembly:  SampSharp.Core (in SampSharp.Core.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
[ObsoleteAttribute("Multi-process mode is deprecated and will be removed in a future release.")]
public sealed class MultiProcessGameModeClient : IGameModeClient, 
	IGameModeRunner, ISynchronizationProvider

The MultiProcessGameModeClient type exposes the following members.

Constructors
  NameDescription
Public methodMultiProcessGameModeClient
Initializes a new instance of the MultiProcessGameModeClient class.
Top
Properties
  NameDescription
Public propertyClient
Gets the client of this game mode runner.
Public propertyCommunicationClient
Gets the communication client.
Public propertyEncoding
Gets the default encoding to use when translating server messages.
Public propertyIsOnMainThread
Gets a value indicating whether this property is invoked on the main thread.
Public propertyNativeLoader
Gets the native loader to be used to load natives.
Public propertyServerPath
Gets the path to the server directory.
Public propertySynchronizationProvider
Gets the provider which can be used for synchronizing a call to the main thread.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetNativeHandle
Gets the handle of the native with the specified name.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInvokeNative
Invokes a native using the specified data buffer.
Public methodPing
Pings the server.
Public methodPrint
Prints the specified text to the server console.
Public methodRegisterCallback(String, Object, MethodInfo, CallbackParameterInfo)
Registers a callback with the specified name. When the callback is called, the specified methodInfo will be invoked on the specified target.
Public methodRegisterCallback(String, Object, MethodInfo, CallbackParameterInfo, Type)
Registers a callback with the specified name. When the callback is called, the specified methodInfo will be invoked on the specified target.
Public methodRun
Runs the game mode of this runner.
Public methodShutDown
Shuts down the server after the current callback has been processed.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventUnhandledException
Occurs when an exception is unhandled during the execution of a callback or tick.
Top
Extension Methods
  NameDescription
Public Extension MethodRegisterCallback(String, Object, MethodInfo)Overloaded.
Registers a callback with the specified name. When the callback is called, the specified methodInfo will be invoked on the specified target.
(Defined by GameModeClientExtensions.)
Public Extension MethodRegisterCallback(String, Object, MethodInfo, Type)Overloaded.
Registers a callback with the specified name. When the callback is called, the specified methodInfo will be invoked on the specified target.
(Defined by GameModeClientExtensions.)
Public Extension MethodRegisterCallbacksInObject
Registers all callbacks in the specified target object. Instance methods with a CallbackAttribute attached will be loaded.
(Defined by GameModeClientExtensions.)
Top
See Also