private static void OnNewPCEntriesAdded(object sender, ActorEntitiesAddedEvent actorEntitiesAddedEvent)
 {
     // delegate event that is sent everytime ram is read (10x a second) and if any entity is newly placed in ram
     if (sender == null)
     {
         return;
     }
     var keys = actorEntitiesAddedEvent.Keys;
 }
Ejemplo n.º 2
0
 public virtual void RaiseNewPCAddedEntries(List<UInt32> e)
 {
     var actorEntitiesAddedEvent = new ActorEntitiesAddedEvent(this, e);
     var handler = NewPCEntriesAdded;
     if (handler != null)
     {
         handler(this, actorEntitiesAddedEvent);
     }
 }