mirror of
https://github.com/riperiperi/FreeSO
synced 2026-08-13 20:26:13 -04:00
32 lines
699 B
C#
32 lines
699 B
C#
using System.IO;
|
|
|
|
namespace FSO.SimAntics.NetPlay.Model.Commands
|
|
{
|
|
public class VMRequestResyncCmd : VMNetCommandBodyAbstract
|
|
{
|
|
public uint Reason;
|
|
public uint TickID;
|
|
|
|
public override bool Execute(VM vm)
|
|
{
|
|
#if VM_DESYNC_DEBUG
|
|
|
|
#endif
|
|
return true;
|
|
}
|
|
|
|
#region VMSerializable Members
|
|
public override void SerializeInto(BinaryWriter writer)
|
|
{
|
|
writer.Write(Reason);
|
|
writer.Write(TickID);
|
|
}
|
|
|
|
public override void Deserialize(BinaryReader reader)
|
|
{
|
|
Reason = reader.ReadUInt32();
|
|
TickID = reader.ReadUInt32();
|
|
}
|
|
#endregion
|
|
}
|
|
}
|