Skip to content

Commit babc9c4

Browse files
authored
Merge pull request #111 from alwaysintreble/UpdateHint
Add an UpdateHint Json Packet
2 parents b390585 + e85f090 commit babc9c4

File tree

2 files changed

+22
-2
lines changed

2 files changed

+22
-2
lines changed

Archipelago.MultiClient.Net/Enums/ArchipelagoPacketType.cs

+3-2
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ public enum ArchipelagoPacketType
2828
Set,
2929
SetReply,
3030
SetNotify,
31-
Unknown
31+
UpdateHint,
32+
Unknown
3233
}
33-
}
34+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
using Archipelago.MultiClient.Net.Enums;
2+
using Newtonsoft.Json;
3+
4+
namespace Archipelago.MultiClient.Net.Packets
5+
{
6+
public class UpdateHintPacket : ArchipelagoPacketBase
7+
{
8+
public override ArchipelagoPacketType PacketType => ArchipelagoPacketType.UpdateHint;
9+
10+
[JsonProperty("player")]
11+
public int Player { get; set; }
12+
13+
[JsonProperty("location")]
14+
public long Location { get; set; }
15+
16+
[JsonProperty("status")]
17+
public HintStatus Status { get; set; }
18+
}
19+
}

0 commit comments

Comments
 (0)