summaryrefslogtreecommitdiff
path: root/Impostor-dev/src/Impostor.Api/Net/Messages/C2S/Message16GetGameListC2S.cs
blob: 2b7e12a76b7e45b1581e2d0f213dc749fc996d37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
using Impostor.Api.Innersloth;

namespace Impostor.Api.Net.Messages.C2S
{
    public class Message16GetGameListC2S
    {
        public static void Serialize(IMessageWriter writer)
        {
            throw new System.NotImplementedException();
        }

        public static void Deserialize(IMessageReader reader, out GameOptionsData options)
        {
            reader.ReadPackedInt32(); // Hardcoded 0.
            options = GameOptionsData.DeserializeCreate(reader);
        }
    }
}