Implemented Conversation scripts
This commit is contained in:
@@ -145,6 +145,8 @@ namespace Game.Entities
|
||||
}
|
||||
}
|
||||
|
||||
Global.ScriptMgr.OnConversationCreate(this, creator);
|
||||
|
||||
List<ushort> actorIndices = new List<ushort>();
|
||||
foreach (ConversationLineTemplate line in conversationTemplate.Lines)
|
||||
{
|
||||
@@ -182,6 +184,11 @@ namespace Game.Entities
|
||||
_participants.Add(participantGuid);
|
||||
}
|
||||
|
||||
public uint GetScriptId()
|
||||
{
|
||||
return Global.ConversationDataStorage.GetConversationTemplate(GetEntry()).ScriptId;
|
||||
}
|
||||
|
||||
uint GetDuration() { return _duration; }
|
||||
|
||||
public ObjectGuid GetCreatorGuid() { return _creatorGuid; }
|
||||
|
||||
Reference in New Issue
Block a user