Example #1
0
 /// <summary>
 /// Creates a new conversation wrapper for an asset with a given sno.
 /// </summary>
 /// <param name="snoConversation">sno of the asset to wrap</param>
 /// <param name="player">player that receives messages</param>
 /// <param name="manager">the quest manager that provides ids</param>
 public Conversation(int snoConversation, Player player, ConversationManager manager)
 {
     asset        = Mooege.Common.MPQ.MPQStorage.Data.Assets[Common.Types.SNO.SNOGroup.Conversation][snoConversation].Data as Mooege.Common.MPQ.FileFormats.Conversation;
     this.player  = player;
     this.manager = manager;
 }
Example #2
0
 /// <summary>
 /// Creates a new conversation wrapper for an asset with a given sno.
 /// </summary>
 /// <param name="snoConversation">sno of the asset to wrap</param>
 /// <param name="player">player that receives messages</param>
 /// <param name="manager">the quest manager that provides ids</param>
 public Conversation(int snoConversation, Player player, ConversationManager manager)
 {
     asset = Mooege.Common.MPQ.MPQStorage.Data.Assets[Common.Types.SNO.SNOGroup.Conversation][snoConversation].Data as Mooege.Common.MPQ.FileFormats.Conversation;
     this.player = player;
     this.manager = manager;
 }