Barotrauma Server
Loading...
Searching...
No Matches
Barotrauma.Networking.BannedPlayer Class Reference

Public Member Functions

bool MatchesClient (Client client)
 
 BannedPlayer (string name, Either< Address, AccountId > addressOrAccountId, string reason, Option< SerializableDateTime > expirationTime)
 

Public Attributes

readonly string Name
 
readonly Either< Address, AccountId > AddressOrAccountId
 
readonly string Reason
 
Option< SerializableDateTimeExpirationTime
 
readonly UInt32 UniqueIdentifier
 

Properties

bool Expired [get]
 

Constructor & Destructor Documentation

◆ BannedPlayer()

Barotrauma.Networking.BannedPlayer.BannedPlayer ( string name,
Either< Address, AccountId > addressOrAccountId,
string reason,
Option< SerializableDateTime > expirationTime )

Member Function Documentation

◆ MatchesClient()

bool Barotrauma.Networking.BannedPlayer.MatchesClient ( Client client)

Member Data Documentation

◆ AddressOrAccountId

readonly Either<Address, AccountId> Barotrauma.Networking.BannedPlayer.AddressOrAccountId

◆ ExpirationTime

Option<SerializableDateTime> Barotrauma.Networking.BannedPlayer.ExpirationTime

◆ Name

readonly string Barotrauma.Networking.BannedPlayer.Name

◆ Reason

readonly string Barotrauma.Networking.BannedPlayer.Reason

◆ UniqueIdentifier

readonly UInt32 Barotrauma.Networking.BannedPlayer.UniqueIdentifier

Property Documentation

◆ Expired

bool Barotrauma.Networking.BannedPlayer.Expired
get

The documentation for this class was generated from the following files: