Click or drag to resize

GameModeBuilderUseExitBehaviour Method

Note: This API is now obsolete.

Sets the behaviour used once a OnGameModeExit call has been received.

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 GameModeBuilder UseExitBehaviour(
	GameModeExitBehaviour exitBehaviour
)

Parameters

exitBehaviour
Type: SampSharp.CoreGameModeExitBehaviour
The exit behaviour.

Return Value

Type: GameModeBuilder
The updated game mode configuration builder.
Remarks
The exit behaviour is ignored when using a hosted game mode environment.
See Also