From bdfcbb2f0edee2679bfe588df55e9f99bd837510 Mon Sep 17 00:00:00 2001 From: fusion32 Date: Mon, 23 Jun 2025 06:34:16 -0300 Subject: `receiving.cc` --- src/cr.hh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/cr.hh') diff --git a/src/cr.hh b/src/cr.hh index a971b3b..f36f7bf 100644 --- a/src/cr.hh +++ b/src/cr.hh @@ -18,6 +18,11 @@ struct TOutfit{ uint8 Colors[4]; uint32 PackedData; }; + + constexpr bool operator==(const TOutfit &Other) const { + return this->OutfitID == Other.OutfitID + && this->PackedData == Other.PackedData; + } }; struct TSkillData { -- cgit v1.2.3