From d1dbc3b3c0e3d9eaf7669dfc16b1dcaa179983cb Mon Sep 17 00:00:00 2001 From: hondacrx Date: Fri, 16 Apr 2021 15:30:27 -0400 Subject: [PATCH] Core/AI: Changing uint64 to ObjectGuid in GameObjectAI Port From (https://github.com/TrinityCore/TrinityCore/commit/29812b8b500d5afb9f116fb785868ff3c7f3b3c5) --- Source/Game/AI/CoreAI/GameObjectAI.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Game/AI/CoreAI/GameObjectAI.cs b/Source/Game/AI/CoreAI/GameObjectAI.cs index 1c73d2908..99c983843 100644 --- a/Source/Game/AI/CoreAI/GameObjectAI.cs +++ b/Source/Game/AI/CoreAI/GameObjectAI.cs @@ -44,8 +44,8 @@ namespace Game.AI // Pass parameters between AI public virtual void DoAction(int param = 0) { } - public virtual void SetGUID(ulong guid, int id = 0) { } - public virtual ulong GetGUID(int id = 0) { return 0; } + public virtual void SetGUID(ObjectGuid guid, int id = 0) { } + public virtual ObjectGuid GetGUID(int id = 0) { return ObjectGuid.Empty; } /// /// Called when a player opens a gossip dialog with the gameobject.