GameModeBuilder Class |
Namespace: SampSharp.Core
public sealed class GameModeBuilder
The GameModeBuilder type exposes the following members.
| Name | Description | |
|---|---|---|
| GameModeBuilder |
Initializes a new instance of the GameModeBuilder class.
|
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| IfHosted | Obsolete.
Runs the specified action if this game mode builder is configured to run in hosted mode either by
calling UseHosted or by the SA-MP server having started this game mode process in hosted mode.
| |
| IfMultiProcess | Obsolete.
Runs the specified action if this game mode builder is not configured to run in hosted mode either by
calling UseHosted or by the SA-MP server having started this game mode process in hosted mode.
| |
| RedirectConsoleOutput |
Redirect the console output to the server.
| |
| Run |
Run the game mode using the build configuration stored in this instance.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| Use(IGameModeProvider) |
Use the specified game mode.
| |
| UseTGameMode |
Use the gamemode of the specified TGameMode type.
| |
| UseCommunicationClient | Obsolete.
Use the specified communication client to communicate with the SampSharp server.
| |
| UseEncoding(Stream) |
Use the code page described by the specified stream when en/decoding text messages sent to/from the server.
| |
| UseEncoding(String) |
Use the code page described by the file at the specified path when en/decoding text messages sent to/from the server.
| |
| UseEncoding(Encoding) |
Use the specified encoding when en/decoding text messages sent to/from the server.
| |
| UseEncodingCodePage |
Uses the encoding code page.
| |
| UseExitBehaviour | Obsolete.
Sets the behaviour used once a OnGameModeExit call has been received.
| |
| UseHosted | Obsolete.
Indicate the game mode will be hosted in the SA-MP server process.
| |
| UseLogLevel |
Uses the specified log level as the maximum level which is written to the log by SampSharp.
| |
| UseLogWriter |
Uses the specified text writer to log SampSharp log messages to.
| |
| UsePipe | Obsolete.
Use a named pipe with the specified pipeName to communicate with the SampSharp server.
| |
| UseStartBehaviour | Obsolete.
Use the specified start method when attaching to the server.
| |
| UseTcpClient(Int32) | Obsolete.
Use a TCP client to communicate with the SampSharp server on localhost.
| |
| UseTcpClient(String, Int32) | Obsolete.
Use a TCP client to communicate with the SampSharp server.
| |
| UseUnixDomainSocket | Obsolete.
Use an unix domain socket with a file at the specified path to communicate with the SampSharp
server.
|
| Name | Description | |
|---|---|---|
| UseEcsTStartup |
Enables the EntityComponentSystem with the specified TStartup type as the startup
configuration.
(Defined by GameModeBuilderExtensions.) |