Barotrauma Client Doc
Barotrauma.Networking.BannedPlayer Class Reference

Public Member Functions

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

Public Attributes

readonly string Name
 
readonly Either< Address, AccountIdAddressOrAccountId
 
readonly string Reason
 
Option< SerializableDateTimeExpirationTime
 
readonly UInt32 UniqueIdentifier
 

Detailed Description

Constructor & Destructor Documentation

◆ BannedPlayer()

Barotrauma.Networking.BannedPlayer.BannedPlayer ( UInt32  uniqueIdentifier,
string  name,
Either< Address, AccountId addressOrAccountId,
string  reason,
Option< SerializableDateTime expiration 
)

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