Aetheria/Assets/Scripts/ServerShared/MessagePackObjects/Requests.cs
hyperion51 a0c8dbee72 Initial Client/Server Communication
#1
Followed the MagicOnion quickstart guide, borrowing code from the chat sample app to get something working
2020-02-26 17:48:40 +00:00

17 lines
338 B
C#

using MessagePack;
namespace ChatApp.Shared.MessagePackObjects
{
/// <summary>
/// Room participation information
/// </summary>
[MessagePackObject]
public struct JoinRequest
{
[Key(0)]
public string RoomName { get; set; }
[Key(1)]
public string UserName { get; set; }
}
}