public void SendNotification(string idType, int id, ClientNotification data) { this.SendNotification(data.NotificationName, idType, new PyList(1) { [0] = id }, data.GetElements()); }
public void NotifyCharacter(int characterID, ClientNotification entry) { // do not waste network resources on useless notifications if (this.CharacterManager.IsCharacterConnected(characterID) == false) { return; } // build a proper notification for this this.SendNotification(entry.NotificationName, NOTIFICATION_TYPE_CHARACTER, characterID, entry.GetElements()); }
public void NotifyCharacters(PyList <PyInteger> characterIDs, ClientNotification notification) { this.SendNotification(notification.NotificationName, NOTIFICATION_TYPE_CHARACTER, characterIDs, notification.GetElements()); }
public void SendNotification(string idType, PyList idsOfInterest, ClientNotification data) { this.SendNotification(data.NotificationName, idType, idsOfInterest, data.GetElements()); }
public void NotifyStation(int stationID, ClientNotification notification) { this.SendNotification(notification.NotificationName, NOTIFICATION_TYPE_STATION, stationID, notification.GetElements()); }
public void NotifyCorporation(int corporationID, ClientNotification notification) { this.SendNotification(notification.NotificationName, NOTIFICATION_TYPE_CORPORATON, corporationID, notification.GetElements()); }