Add a ToString() method to MapLinkPayload.cs

This commit is contained in:
AzureGem 2020-04-21 10:14:20 -04:00 committed by GitHub
parent dd3fd27f4d
commit 842cc607ac
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);