quantum-space-buddies/QSB/SaveSync/Messages/RequestGameStateMessage.cs

15 lines
302 B
C#
Raw Normal View History

2021-12-22 22:44:31 -08:00
using QSB.Messaging;
2021-12-23 02:17:56 -08:00
namespace QSB.SaveSync.Messages
2021-12-22 22:44:31 -08:00
{
2021-12-24 22:33:29 -08:00
/// <summary>
/// always sent to host
/// </summary>
2021-12-22 22:44:31 -08:00
internal class RequestGameStateMessage : QSBMessage
{
public RequestGameStateMessage() => To = 0;
public override void OnReceiveRemote() => new GameStateMessage(From).Send();
}
}