Class HandshakeEventArgs
Inherited Members
Namespace: RageCoop.Server.Scripting
Assembly: RageCoop.Server.dll
Syntax
public class HandshakeEventArgs : EventArgs
Properties
EndPoint
The EndPoint that sent the handshake request.
Declaration
public IPEndPoint EndPoint { get; set; }
Property Value
| Type | Description |
|---|---|
| IPEndPoint |
ID
The player's ID
Declaration
public int ID { get; set; }
Property Value
| Type | Description |
|---|---|
| Int32 |
PasswordHash
The client password hashed with SHA256 algorithm.
Declaration
public string PasswordHash { get; set; }
Property Value
| Type | Description |
|---|---|
| String |
Username
The claimed username
Declaration
public string Username { get; set; }
Property Value
| Type | Description |
|---|---|
| String |
Methods
Deny(String)
Deny the connection attempt
Declaration
public void Deny(string reason)
Parameters
| Type | Name | Description |
|---|---|---|
| String | reason |