Example #1
0
 /// <inheritdoc />
 public override bool IsValid(OpenPlayer source)
 {
     return(InventorySlot >= 0 && InventorySlot < _player.Inventory.Slots.Count && EqualsExactly(_player.GetInvItem(InventoryId, InventorySlot), SourceItem));
 }