mirror of
https://github.com/simtactics/mysimulation.git
synced 2025-03-25 10:49:11 +00:00
- NioTSO client isn't needed because we're using RayLib - Added FreeSO's API server to handle most backend operations
25 lines
640 B
C#
Executable file
25 lines
640 B
C#
Executable file
using FSO.Common.Serialization;
|
|
using Mina.Core.Buffer;
|
|
|
|
namespace FSO.Server.Protocol.Aries.Packets
|
|
{
|
|
public class RequestChallengeResponse : IAriesPacket
|
|
{
|
|
public string Challenge;
|
|
|
|
public void Deserialize(IoBuffer input, ISerializationContext context)
|
|
{
|
|
Challenge = input.GetPascalVLCString();
|
|
}
|
|
|
|
public AriesPacketType GetPacketType()
|
|
{
|
|
return AriesPacketType.RequestChallengeResponse;
|
|
}
|
|
|
|
public void Serialize(IoBuffer output, ISerializationContext context)
|
|
{
|
|
output.PutPascalVLCString(Challenge);
|
|
}
|
|
}
|
|
}
|