Exemplo n.º 1
0
 private static void OnNewNPCEntriesRemoved(object sender, ActorEntitiesRemovedEvent actorEntitiesRemovedEvent)
 {
     // delegate event that is sent everytime ram is read (10x a second) and if any entity is no longer in ram
     if (sender == null)
     {
         return;
     }
     var keys = actorEntitiesRemovedEvent.Keys;
 }
Exemplo n.º 2
0
        public virtual void RaiseNewPCRemovedEntries(List <UInt32> e)
        {
            var actorEntitiesRemovedEvent = new ActorEntitiesRemovedEvent(this, e);
            var handler = NewPCEntriesRemoved;

            if (handler != null)
            {
                handler(this, actorEntitiesRemovedEvent);
            }
        }