Beispiel #1
0
 /// <summary>
 /// Notifies the User about the new page.
 /// </summary>
 void NotifyUserOfNewPage()
 {
     if (_dialogItem == null)
     {
         // Dialog has ended
         using (var pw = ServerPacket.EndChatDialog())
         {
             _user.Send(pw, ServerMessageType.GUI);
         }
     }
     else
     {
         // New page
         using (var pw = ServerPacket.SetChatDialogPage(_dialogItem.ID, GetResponsesToSkip()))
         {
             _user.Send(pw, ServerMessageType.GUI);
         }
     }
 }