Table of Contents

Enum PeerDisconnectReason

Namespace
SampSharp.OpenMp.Core.Api
Assembly
SampSharp.OpenMp.Core.dll

Represents the reasons for a peer disconnecting from the network.

public enum PeerDisconnectReason

Fields

Custom = 3

The peer was disconnected for a custom reason.

Kicked = 2

The peer was kicked from the session.

ModeEnd = 4

The peer was disconnected because the mode ended.

Quit = 1

The peer voluntarily quit the session.

Timeout = 0

The peer was disconnected due to a timeout.