mirror of
https://github.com/JogmansonReal/Radicade.git
synced 2026-10-26 15:39:01 -07:00
Radicade Public Code
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
using RadicadeServer.RecNet.Accounts;
|
||||
using RadicadeServer.RecNet.Enums.Rooms;
|
||||
using RadicadeServer.RecNet.Rooms;
|
||||
|
||||
namespace RadicadeServer.RecNet.Responses
|
||||
{
|
||||
public class MatchResponse
|
||||
{
|
||||
public JoinStatus errorCode { get; set; }
|
||||
public RoomInstance? roomInstance { get; set; }
|
||||
|
||||
public static MatchResponse Error(JoinStatus status)
|
||||
{
|
||||
return new MatchResponse { errorCode = status, roomInstance = null };
|
||||
}
|
||||
public MatchResponse()
|
||||
{
|
||||
|
||||
}
|
||||
public MatchResponse(JoinStatus status, RoomInstance instance)
|
||||
{
|
||||
this.errorCode = status;
|
||||
this.roomInstance = instance;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user