Barotrauma Client Doc
Barotrauma.ServerListScreen.FriendInfo Class Reference

Public Types

enum class  Status { Offline , NotPlaying , PlayingAnotherGame , PlayingBarotrauma }
 

Public Member Functions

 FriendInfo (string name, AccountId id, Status status)
 

Public Attributes

string Name
 
readonly AccountId Id
 
readonly Status CurrentStatus
 
string ServerName
 
Option< ConnectCommandConnectCommand
 
Option< SpriteAvatar
 

Properties

bool IsInServer [get]
 
bool IsPlayingBarotrauma [get]
 
bool PlayingAnotherGame [get]
 
bool IsOnline [get]
 
LocalizedString StatusText [get]
 

Detailed Description

Definition at line 48 of file ServerListScreen.cs.

Member Enumeration Documentation

◆ Status

Enumerator
Offline 
NotPlaying 
PlayingAnotherGame 
PlayingBarotrauma 

Definition at line 54 of file ServerListScreen.cs.

Constructor & Destructor Documentation

◆ FriendInfo()

Barotrauma.ServerListScreen.FriendInfo.FriendInfo ( string  name,
AccountId  id,
Status  status 
)

Definition at line 90 of file ServerListScreen.cs.

Member Data Documentation

◆ Avatar

Option<Sprite> Barotrauma.ServerListScreen.FriendInfo.Avatar

Definition at line 67 of file ServerListScreen.cs.

◆ ConnectCommand

Option<ConnectCommand> Barotrauma.ServerListScreen.FriendInfo.ConnectCommand

Definition at line 66 of file ServerListScreen.cs.

◆ CurrentStatus

readonly Status Barotrauma.ServerListScreen.FriendInfo.CurrentStatus

Definition at line 62 of file ServerListScreen.cs.

◆ Id

readonly AccountId Barotrauma.ServerListScreen.FriendInfo.Id

Definition at line 52 of file ServerListScreen.cs.

◆ Name

string Barotrauma.ServerListScreen.FriendInfo.Name

Definition at line 50 of file ServerListScreen.cs.

◆ ServerName

string Barotrauma.ServerListScreen.FriendInfo.ServerName

Definition at line 64 of file ServerListScreen.cs.

Property Documentation

◆ IsInServer

bool Barotrauma.ServerListScreen.FriendInfo.IsInServer
get

Definition at line 69 of file ServerListScreen.cs.

◆ IsOnline

bool Barotrauma.ServerListScreen.FriendInfo.IsOnline
get

Definition at line 78 of file ServerListScreen.cs.

◆ IsPlayingBarotrauma

bool Barotrauma.ServerListScreen.FriendInfo.IsPlayingBarotrauma
get

Definition at line 72 of file ServerListScreen.cs.

◆ PlayingAnotherGame

bool Barotrauma.ServerListScreen.FriendInfo.PlayingAnotherGame
get

Definition at line 75 of file ServerListScreen.cs.

◆ StatusText

LocalizedString Barotrauma.ServerListScreen.FriendInfo.StatusText
get

Definition at line 81 of file ServerListScreen.cs.