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))); }
public void CloseForEntity(IEntity entity) { entity.SendMessage(InterfaceMessage.Close(this, new ClearItemInterfacePacket(Id))); }
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))); }