Permalink
Browse files

SSC:

- convertita alle ObjectGuid
  • Loading branch information...
1 parent 35d4954 commit d25c36764ead4e48c1a9b9050c1e9ff72ea00286 @sevdog sevdog committed Jan 28, 2012
@@ -69,18 +69,18 @@ void instance_serpentshrine_cavern::OnCreatureCreate(Creature* pCreature)
}
}
-void instance_serpentshrine_cavern::SetData64(uint32 uiType, uint64 uiData)
+void instance_serpentshrine_cavern::SetGuid(uint32 uiType, ObjectGuid uiData)
{
if (uiType == DATA_KARATHRESS_STARTER)
- m_karathressEventStarterGuid = ObjectGuid(uiData);
+ m_karathressEventStarterGuid = uiData;
}
-uint64 instance_serpentshrine_cavern::GetData64(uint32 uiData)
+ObjectGuid instance_serpentshrine_cavern::GetGuid(uint32 uiData)
{
if (uiData == DATA_KARATHRESS_STARTER)
- return m_karathressEventStarterGuid.GetRawValue();
+ return m_karathressEventStarterGuid;
- return 0;
+ return ObjectGuid();
}
void instance_serpentshrine_cavern::SetData(uint32 uiType, uint32 uiData)
@@ -44,8 +44,8 @@ class MANGOS_DLL_DECL instance_serpentshrine_cavern : public ScriptedInstance
void SetData(uint32 uiType, uint32 uiData);
uint32 GetData(uint32 uiType);
- void SetData64(uint32 uiType, uint64 uiData);
- uint64 GetData64(uint32 uiData);
+ void SetGuid(uint32 uiType, ObjectGuid uiData);
+ ObjectGuid GetGuid(uint32 uiData);
const char* Save() { return m_strInstData.c_str(); }
void Load(const char* chrIn);

0 comments on commit d25c367

Please sign in to comment.