Esempio n. 1
0
 public void ShowForEntity(IEntity entity)
 {
     entity.SendMessage(InterfaceMessage.Close(this,
                                               new SetInterfaceTextPacket(Id + 1, $"Congratulations, you just advanced a {_skillName} level."),
                                               new SetInterfaceTextPacket(Id + 2, $"Your {_skillName} level is now {_newLevel}"),
                                               new SetDialogInterfacePacket((short)Id)));
 }
Esempio n. 2
0
 public void CloseForEntity(IEntity entity)
 {
     entity.SendMessage(InterfaceMessage.Close(this, new ClearItemInterfacePacket(Id)));
 }
Esempio n. 3
0
 public void CloseForEntity(IEntity entity)
 {
     entity.SendMessage(InterfaceMessage.Close(this, SetDialogInterfacePacket.Close));
 }
 public void CloseForEntity(IEntity entity)
 {
     entity.SendMessage(InterfaceMessage.Close(
                            this, new CloseSidebarInterface(SidebarIndex)));
 }