quantum-space-buddies/QSB/SaveSync/Messages/RequestGameStateMessage.cs
2021-12-24 22:35:25 -08:00

15 lines
302 B
C#

using QSB.Messaging;
namespace QSB.SaveSync.Messages
{
/// <summary>
/// always sent to host
/// </summary>
internal class RequestGameStateMessage : QSBMessage
{
public RequestGameStateMessage() => To = 0;
public override void OnReceiveRemote() => new GameStateMessage(From).Send();
}
}