Merge pull request #83 from rreminy/patch-3

Add a ToString() method to MapLinkPayload.cs
This commit is contained in:
goaaats 2020-04-21 16:27:06 +02:00 committed by GitHub
commit c48949532f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -65,6 +65,11 @@ namespace Dalamud.Game.Chat.SeStringHandling.Payloads
//}
}
public override string ToString()
{
return $"{Type} - TerritoryTypeId: {TerritoryTypeId}, MapId: {MapId}, RawX: {RawX}, RawY: {RawY}";
}
protected override void ProcessChunkImpl(BinaryReader reader, long endOfStream)
{
(TerritoryTypeId, MapId) = GetPackedIntegers(reader);