Click or drag to resize

GameModeBuilder Methods

The GameModeBuilder type exposes the following members.

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 methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIfHosted 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.
Public methodIfMultiProcess 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.
Public methodRedirectConsoleOutput
Redirect the console output to the server.
Public methodRun
Run the game mode using the build configuration stored in this instance.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUse(IGameModeProvider)
Use the specified game mode.
Public methodUseTGameMode
Use the gamemode of the specified TGameMode type.
Public methodUseCommunicationClient Obsolete.
Use the specified communication client to communicate with the SampSharp server.
Public methodUseEncoding(Stream)
Use the code page described by the specified stream when en/decoding text messages sent to/from the server.
Public methodUseEncoding(String)
Use the code page described by the file at the specified path when en/decoding text messages sent to/from the server.
Public methodUseEncoding(Encoding)
Use the specified encoding when en/decoding text messages sent to/from the server.
Public methodUseEncodingCodePage
Uses the encoding code page.
Public methodUseExitBehaviour Obsolete.
Sets the behaviour used once a OnGameModeExit call has been received.
Public methodUseHosted Obsolete.
Indicate the game mode will be hosted in the SA-MP server process.
Public methodUseLogLevel
Uses the specified log level as the maximum level which is written to the log by SampSharp.
Public methodUseLogWriter
Uses the specified text writer to log SampSharp log messages to.
Public methodUsePipe Obsolete.
Use a named pipe with the specified pipeName to communicate with the SampSharp server.
Public methodUseStartBehaviour Obsolete.
Use the specified start method when attaching to the server.
Public methodUseTcpClient(Int32) Obsolete.
Use a TCP client to communicate with the SampSharp server on localhost.
Public methodUseTcpClient(String, Int32) Obsolete.
Use a TCP client to communicate with the SampSharp server.
Public methodUseUnixDomainSocket Obsolete.
Use an unix domain socket with a file at the specified path to communicate with the SampSharp server.
Top
Extension Methods
See Also