Lobby Chat Msg
Introduction
public struct LobbyChatMsgFields and Attributes
Type
Name
Comment
Methods
public override string ToString();public T FromJson<T>();Last updated

Support us as a GitHub Sponsor and get instant access to all our assets, exclusive tools and assets, escalated support and issue tracking and our gratitude. These articles are made possible by our GitHub Sponsors ... become a sponsor today!
public struct LobbyChatMsgRepresents a chat message sent from the Steam Lobby system. This can be used to identify the sending lobby, user and data and can parse the data to a string or Json serialziable object.
Lobby
lobby
The source lobby
UserData
sender
The user that sent it
byte[]
data
The raw data sent
DateTime
recievedTime
The time stamp the message was recieved
string
Message
the string parsing of the message
public override string ToString();The same as calling Message, this returns the data parsed using UTF8 to a string
public T FromJson<T>();This will read the string data into Unity's JsonUtility casting the object to the input type
Last updated