Exemplo n.º 1
0
 public static bool HasSubModel(this ExdData.Item eq)
 {
     return(eq.ModelSub.Value1 != 0 ||
            eq.ModelSub.Value2 != 0 ||
            eq.ModelSub.Value3 != 0 ||
            eq.ModelSub.Value4 != 0);
 }
Exemplo n.º 2
0
 public static bool IsOffHand(this ExdData.Item eq)
 {
     return(eq.EquipSlotCategory.PossibleSlots.All(s => s.Key == (int)ExdData.Slot.Offhand));
 }