Class KaijuUserLink
Inheritance
Namespace: KaijuSolutions.MultiplayerEngine.PurrNet
Syntax
public sealed class KaijuUserLink : NetworkIdentity
Properties
Display
The rich presence localization token that will be displayed in a user's selected language in the Steam client UI for this KaijuUser.
Declaration
public string Display { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Group
The rich presence group for this KaijuUser.
Declaration
public string Group { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
GroupSize
The rich presence group size for this KaijuUser.
Declaration
public int GroupSize { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
Icon
The icon of this KaijuUser.
Declaration
public Texture2D Icon { get; }
Property Value
| Type | Description |
|---|---|
| Texture2D |
IconSize
The size of icon we want for the KaijuUser.
Large = 128 x 128.
Medium = 64 x 64.
Small = 32 x 32.
None = No icon.
Declaration
public KaijuIconSize IconSize { get; set; }
Property Value
| Type | Description |
|---|---|
| KaijuIconSize |
Id
The ID of the KaijuUser this is for.
Declaration
public ulong Id { get; }
Property Value
| Type | Description |
|---|---|
| System.UInt64 |
Level
The level for this KaijuUser.
Declaration
public int Level { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
Name
The name of the KaijuUser.
Declaration
public string Name { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Relationship
The relationship with this KaijuUser.
Declaration
public KaijuRelationship Relationship { get; }
Property Value
| Type | Description |
|---|---|
| KaijuRelationship |
RichPresence
All rich presence for this KaijuUser.
Declaration
public Dictionary<string, string> RichPresence { get; }
Property Value
| Type | Description |
|---|---|
| Dictionary<System.String, System.String> |
State
The state of this KaijuUser.
Declaration
public KaijuState State { get; }
Property Value
| Type | Description |
|---|---|
| KaijuState |
Status
The rich presence status to display when someone views this user's game info for this KaijuUser.
Declaration
public string Status { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
User
The user this object is linked to.
Declaration
public KaijuUser User { get; }
Property Value
| Type | Description |
|---|---|
| KaijuUser |
Valid
Check if this KaijuUser is valid or not.
Declaration
public bool Valid { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Voice
The voice playback source for this KaijuUser.
Declaration
public AudioSource Voice { get; set; }
Property Value
| Type | Description |
|---|---|
| AudioSource |
Methods
GetMemberData(String)
Get a data value for this KaijuUser in our lobby.
Declaration
public string GetMemberData(string key)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | key | The value to get. |
Returns
| Type | Description |
|---|---|
| System.String | The given value. Will return an empty string if we are not in a lobby, the assigned user is not in our lobby, the data did not exist, or there was an error. |
GetRichPresence(String)
Get a rich presence of this KaijuUser.
Declaration
public string GetRichPresence(string key)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | key | The key. |
Returns
| Type | Description |
|---|---|
| System.String | The rich presence value or an empty string if it was not set. |