3 using System.Collections.Generic;
8 #warning TODO: turn this into INetSerializableStruct
11 public readonly
string Name;
20 if (client ==
null) {
return false; }
23 return bannedAccountId.Equals(accountId);
31 private readonly List<BannedPlayer> bannedPlayers;
37 get {
return bannedPlayers.Select(bp => bp.Name); }
42 get {
return bannedPlayers.Select(bp => bp.AddressOrAccountId); }
45 partial
void InitProjectSpecific();
50 bannedPlayers =
new List<BannedPlayer>();
51 InitProjectSpecific();
IEnumerable< string > BannedNames
IEnumerable< Either< Address, AccountId > > BannedAddresses
IReadOnlyList< BannedPlayer > BannedPlayers
Option< SerializableDateTime > ExpirationTime
readonly UInt32 UniqueIdentifier
bool MatchesClient(Client client)
readonly Either< Address, AccountId > AddressOrAccountId
Option< AccountId > AccountId
The ID of the account used to authenticate this session. This value can be used as a persistent value...