internal MaterialDiscardedEvent InvokeEvent(MaterialDiscardedEvent arg)
 {
     if (_api.ValidateEvent(arg))
     {
         MaterialDiscarded?.Invoke(_api, arg);
     }
     return(arg);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Handle the case where a material is discarded by the player
 /// </summary>
 public override void Handle(MaterialDiscarded e)
 {
     NotifyInventory(e.Name, -e.Count, e);
 }
Exemplo n.º 3
0
 public abstract void Handle(MaterialDiscarded e);
Exemplo n.º 4
0
 public override void Handle(MaterialDiscarded e)
 {
 }