◆ Client()
| Barotrauma.Networking.Client.Client |
( |
string | name, |
|
|
byte | sessionId ) |
◆ AddKickVote()
| void Barotrauma.Networking.Client.AddKickVote |
( |
Client | voter | ) |
|
◆ AddressMatches()
| bool Barotrauma.Networking.Client.AddressMatches |
( |
Address | address | ) |
|
◆ Ban()
| void Barotrauma.Networking.Client.Ban |
( |
string | reason = "", |
|
|
float | seconds = -1 ) |
◆ BanPlayer()
| static void Barotrauma.Networking.Client.BanPlayer |
( |
string | player, |
|
|
string | reason, |
|
|
bool | range = false, |
|
|
float | seconds = -1 ) |
|
static |
◆ CheckPermission()
◆ Dispose()
| void Barotrauma.Networking.Client.Dispose |
( |
| ) |
|
◆ GetVote< T >()
| T Barotrauma.Networking.Client.GetVote< T > |
( |
VoteType | voteType | ) |
|
◆ GivePermission()
◆ HasKickVoteFrom()
| bool Barotrauma.Networking.Client.HasKickVoteFrom |
( |
Client | voter | ) |
|
◆ HasKickVoteFromSessionId()
| bool Barotrauma.Networking.Client.HasKickVoteFromSessionId |
( |
int | id | ) |
|
◆ HasPermission()
◆ InitClientSync()
| void Barotrauma.Networking.Client.InitClientSync |
( |
| ) |
|
◆ IsValidName()
| static bool Barotrauma.Networking.Client.IsValidName |
( |
string | name, |
|
|
ServerSettings | serverSettings ) |
|
static |
◆ Kick()
| void Barotrauma.Networking.Client.Kick |
( |
string | reason = "" | ) |
|
◆ ReadPermissions() [1/2]
| void Barotrauma.Networking.Client.ReadPermissions |
( |
IReadMessage | inc | ) |
|
◆ ReadPermissions() [2/2]
◆ RemoveKickVote()
| void Barotrauma.Networking.Client.RemoveKickVote |
( |
Client | voter | ) |
|
◆ RemovePermission()
◆ ResetVotes()
| void Barotrauma.Networking.Client.ResetVotes |
( |
bool | resetKickVotes | ) |
|
Reset what this client has voted for and the kick votes given to this client.
◆ SanitizeName()
| static string Barotrauma.Networking.Client.SanitizeName |
( |
string | name | ) |
|
|
static |
◆ SessionOrAccountIdMatches()
| bool Barotrauma.Networking.Client.SessionOrAccountIdMatches |
( |
string | userId | ) |
|
◆ SetClientCharacter()
| void Barotrauma.Networking.Client.SetClientCharacter |
( |
Character | character | ) |
|
◆ SetPermissions()
◆ SetVote()
| void Barotrauma.Networking.Client.SetVote |
( |
VoteType | voteType, |
|
|
object | value ) |
◆ TryTakeOverBot()
| bool Barotrauma.Networking.Client.TryTakeOverBot |
( |
Character | botCharacter | ) |
|
◆ UnbanPlayer()
| static void Barotrauma.Networking.Client.UnbanPlayer |
( |
string | playerName | ) |
|
|
static |
◆ UpdateKickVotes()
| static void Barotrauma.Networking.Client.UpdateKickVotes |
( |
IReadOnlyList< Client > | connectedClients | ) |
|
|
static |
◆ WritePermissions()
| void Barotrauma.Networking.Client.WritePermissions |
( |
IWriteMessage | msg | ) |
|
◆ AccountInfo
◆ AssignedJob
| JobVariant Barotrauma.Networking.Client.AssignedJob |
◆ CharacterID
| UInt16 Barotrauma.Networking.Client.CharacterID |
◆ ChatMsgQueue
◆ ChatSpamCount
| int Barotrauma.Networking.Client.ChatSpamCount |
◆ ChatSpamSpeed
| float Barotrauma.Networking.Client.ChatSpamSpeed |
◆ ChatSpamTimer
| float Barotrauma.Networking.Client.ChatSpamTimer |
◆ DeleteDisconnectedTimer
| float Barotrauma.Networking.Client.DeleteDisconnectedTimer |
◆ EntityEventLastSent
| readonly Dictionary<UInt16, double> Barotrauma.Networking.Client.EntityEventLastSent = new Dictionary<UInt16, double>() |
◆ FirstNewEventID
| UInt16 Barotrauma.Networking.Client.FirstNewEventID |
◆ GivenAchievements
| HashSet<Identifier> Barotrauma.Networking.Client.GivenAchievements = new HashSet<Identifier>() |
◆ HasSpawned
| bool Barotrauma.Networking.Client.HasSpawned |
◆ JoinTime
| DateTime Barotrauma.Networking.Client.JoinTime |
◆ KarmaKickCount
| int Barotrauma.Networking.Client.KarmaKickCount |
◆ KickAFKTimer
| float Barotrauma.Networking.Client.KickAFKTimer |
◆ Language
◆ LastCampaignSaveSendTime
| UInt16 float time Barotrauma.Networking.Client.LastCampaignSaveSendTime |
◆ LastChatMsgQueueID
| UInt16 Barotrauma.Networking.Client.LastChatMsgQueueID |
◆ LastNameChangeTime
| DateTime Barotrauma.Networking.Client.LastNameChangeTime |
◆ LastRecvCampaignSave
| UInt16 Barotrauma.Networking.Client.LastRecvCampaignSave = 0 |
◆ LastRecvCampaignUpdate
◆ LastRecvChatMsgID
| UInt16 Barotrauma.Networking.Client.LastRecvChatMsgID = 0 |
◆ LastRecvClientListUpdate
| UInt16 Barotrauma.Networking.Client.LastRecvClientListUpdate = NetIdUtils.GetIdOlderThan(GameMain.Server.LastClientListUpdateID) |
◆ LastRecvEntityEventID
| UInt16 Barotrauma.Networking.Client.LastRecvEntityEventID = 0 |
◆ LastRecvLobbyUpdate
| UInt16 Barotrauma.Networking.Client.LastRecvLobbyUpdate = NetIdUtils.GetIdOlderThan(GameMain.NetLobbyScreen.LastUpdateID) |
◆ LastRecvServerSettingsUpdate
| UInt16 Barotrauma.Networking.Client.LastRecvServerSettingsUpdate = NetIdUtils.GetIdOlderThan(GameMain.Server.ServerSettings.LastUpdateIdForFlag[ServerSettings.NetFlags.Properties]) |
◆ LastSentChatMessages
| readonly List<string> Barotrauma.Networking.Client.LastSentChatMessages = new List<string>() |
◆ LastSentChatMsgID
| UInt16 Barotrauma.Networking.Client.LastSentChatMsgID = 0 |
◆ LastSentEntityEventID
| UInt16 Barotrauma.Networking.Client.LastSentEntityEventID = 0 |
◆ LastSentServerSettingsUpdate
| UInt16 Barotrauma.Networking.Client.LastSentServerSettingsUpdate = NetIdUtils.GetIdOlderThan(GameMain.Server.ServerSettings.LastUpdateIdForFlag[ServerSettings.NetFlags.Properties]) |
◆ MaxNameLength
| const int Barotrauma.Networking.Client.MaxNameLength = 32 |
|
static |
◆ MidRoundSyncTimeOut
| double Barotrauma.Networking.Client.MidRoundSyncTimeOut |
◆ Name
| string Barotrauma.Networking.Client.Name |
◆ NameChangeCoolDown
| readonly TimeSpan Barotrauma.Networking.Client.NameChangeCoolDown = new TimeSpan(hours: 0, minutes: 0, seconds: 30) |
|
static |
◆ NameId
| UInt16 Barotrauma.Networking.Client.NameId |
◆ NeedsMidRoundSync
| bool Barotrauma.Networking.Client.NeedsMidRoundSync |
◆ PendingName
| string Barotrauma.Networking.Client.PendingName |
◆ PendingPositionUpdates
| readonly Queue<Entity> Barotrauma.Networking.Client.PendingPositionUpdates = new Queue<Entity>() |
◆ Permissions
◆ PermittedConsoleCommands
◆ Ping
| UInt16 Barotrauma.Networking.Client.Ping |
◆ PositionUpdateLastSent
| readonly Dictionary<Entity, float> Barotrauma.Networking.Client.PositionUpdateLastSent = new Dictionary<Entity, float>() |
◆ PreferredJob
| Identifier Barotrauma.Networking.Client.PreferredJob |
◆ PreferredTeam
◆ ReadyToStart
| bool Barotrauma.Networking.Client.ReadyToStart |
◆ RejectedName
| string Barotrauma.Networking.Client.RejectedName |
◆ saveId
| UInt16 Barotrauma.Networking.Client.saveId |
◆ SessionId
| readonly byte Barotrauma.Networking.Client.SessionId |
An ID for this client for the current session. THIS IS NOT A PERSISTENT VALUE. DO NOT STORE THIS LONG-TERM. IT CANNOT BE USED TO IDENTIFY PLAYERS ACROSS SESSIONS.
◆ SpectateOnly
| bool Barotrauma.Networking.Client.SpectateOnly |
◆ TeamID
◆ UnreceivedEntityEventCount
| UInt16 Barotrauma.Networking.Client.UnreceivedEntityEventCount |
◆ UsingFreeCam
| bool Barotrauma.Networking.Client.UsingFreeCam |
Is the client using the 'freecam' console command?
◆ VoiceEnabled
| bool Barotrauma.Networking.Client.VoiceEnabled = true |
◆ VoipServerDecoder
| VoipServerDecoder Barotrauma.Networking.Client.VoipServerDecoder |
◆ WaitForNextRoundRespawn
| bool? Barotrauma.Networking.Client.WaitForNextRoundRespawn |
◆ AccountId
| Option<AccountId> Barotrauma.Networking.Client.AccountId |
|
get |
The ID of the account used to authenticate this session. This value can be used as a persistent value to identify players in the banlist and campaign saves.
◆ Character
| Character Barotrauma.Networking.Client.Character |
|
getset |
◆ CharacterInfo
◆ ClientList
| IReadOnlyList<Client> Barotrauma.Networking.Client.ClientList |
|
staticget |
◆ Connection
◆ HasPermissions
| bool Barotrauma.Networking.Client.HasPermissions |
|
get |
◆ InGame
| bool Barotrauma.Networking.Client.InGame |
|
getset |
◆ JobPreferences
| List<JobVariant> Barotrauma.Networking.Client.JobPreferences |
|
getset |
◆ Karma
| float Barotrauma.Networking.Client.Karma |
|
getset |
◆ KickVoteCount
| int Barotrauma.Networking.Client.KickVoteCount |
|
get |
◆ Muted
| bool Barotrauma.Networking.Client.Muted |
|
getset |
◆ SpectatePos
| Vector2? Barotrauma.Networking.Client.SpectatePos |
|
getset |
◆ Spectating
| bool Barotrauma.Networking.Client.Spectating |
|
get |
◆ SteamID
| ulong Barotrauma.Networking.Client.SteamID |
|
get |
◆ VoipQueue
| VoipQueue Barotrauma.Networking.Client.VoipQueue |
|
get |
The documentation for this class was generated from the following files:
- /home/runner/work/Luatrauma.Docs/Luatrauma.Docs/libs/LuaCsForBarotrauma/Barotrauma/BarotraumaShared/SharedSource/LuaCs/Lua/LuaBarotraumaAdditions.cs
- /home/runner/work/Luatrauma.Docs/Luatrauma.Docs/libs/LuaCsForBarotrauma/Barotrauma/BarotraumaShared/SharedSource/Networking/Client.cs
- /home/runner/work/Luatrauma.Docs/Luatrauma.Docs/libs/LuaCsForBarotrauma/Barotrauma/BarotraumaServer/ServerSource/LuaCs/Lua/LuaBarotraumaAdditions.cs
- /home/runner/work/Luatrauma.Docs/Luatrauma.Docs/libs/LuaCsForBarotrauma/Barotrauma/BarotraumaServer/ServerSource/Networking/Client.cs