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