Beispiel #1
0
 private static void OnNewInventoryEntries(object sender, InventoryEntitiesEvent inventoryEntitiesEvent)
 {
     // delegate event from inventory info worker that will give all inventory items across any and all bags except retainers
     if (sender == null)
     {
         return;
     }
     var inventoryEntities = inventoryEntitiesEvent.InventoryEntities;
 }
Beispiel #2
0
        public virtual void RaiseNewInventoryEntries(List <InventoryEntity> e)
        {
            var inventoryEntitiesEvent = new InventoryEntitiesEvent(this, e);
            var handler = NewInventoryEntries;

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