private AuditItem ( IContainer container, Item item, int slot ) : bool | ||
container | IContainer | |
item | Item | |
slot | int | |
return | bool |
private bool AuditItem(IContainer container, Item item, int slot)
{
if (Decision == 1 || Decision == 2)
return false;
return item == null || container.SlotTypes[slot] == 0 || item.SlotType == container.SlotTypes[slot];
}