From ec92454e604f7a1268ae2970f89324aebcb54007 Mon Sep 17 00:00:00 2001 From: Till Schreiber Date: Mon, 5 Sep 2022 23:45:01 +0200 Subject: [PATCH] override GetHashCode of Connectioninfo (#686) --- api/AltV.Net/Types/ConnectionInfo.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/api/AltV.Net/Types/ConnectionInfo.cs b/api/AltV.Net/Types/ConnectionInfo.cs index 3713bae24b..1029f7f65b 100644 --- a/api/AltV.Net/Types/ConnectionInfo.cs +++ b/api/AltV.Net/Types/ConnectionInfo.cs @@ -244,4 +244,9 @@ public void Decline(string reason) } } } + + public override int GetHashCode() + { + return NativePointer.GetHashCode(); + } } \ No newline at end of file