Exemplo n.º 1
0
 public void SendNotification(string idType, int id, ClientNotification data)
 {
     this.SendNotification(data.NotificationName, idType, new PyList(1)
     {
         [0] = id
     }, data.GetElements());
 }
Exemplo n.º 2
0
        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());
        }
Exemplo n.º 3
0
 public void NotifyCharacters(PyList <PyInteger> characterIDs, ClientNotification notification)
 {
     this.SendNotification(notification.NotificationName, NOTIFICATION_TYPE_CHARACTER, characterIDs, notification.GetElements());
 }
Exemplo n.º 4
0
 public void SendNotification(string idType, PyList idsOfInterest, ClientNotification data)
 {
     this.SendNotification(data.NotificationName, idType, idsOfInterest, data.GetElements());
 }
Exemplo n.º 5
0
 public void NotifyStation(int stationID, ClientNotification notification)
 {
     this.SendNotification(notification.NotificationName, NOTIFICATION_TYPE_STATION, stationID, notification.GetElements());
 }
Exemplo n.º 6
0
 public void NotifyCorporation(int corporationID, ClientNotification notification)
 {
     this.SendNotification(notification.NotificationName, NOTIFICATION_TYPE_CORPORATON, corporationID, notification.GetElements());
 }