public byte GetItemTimeFlag(uint TypeID, uint Day) { switch (TypeID.GetItemGroup()) { case IffGroupFlag.ITEM_TYPE_CADDIE: if (Caddie.GetSalary(TypeID) > 0) { return(2); } return(0); case IffGroupFlag.ITEM_TYPE_MASCOT: if (Mascot.GetSalary(TypeID, Day) > 0) { return(2); } return(0); case IffGroupFlag.ITEM_TYPE_SKIN: // SKIN FLAG return(Skin.GetSkinFlag(TypeID)); default: return(0); } }
public byte GetItemTimeFlag(UInt32 TypeId, uint Day) { switch (GetItemGroup(TypeId)) { case TITEMGROUP.ITEM_TYPE_CADDIE: if (Caddie.GetSalary(TypeId) > 0) { return(2); } return(0); case TITEMGROUP.ITEM_TYPE_MASCOT: if (Mascot.GetSalary(TypeId, Day) > 0) { return(2); } return(0); case TITEMGROUP.ITEM_TYPE_SKIN: // SKIN FLAG return(Skin.GetSkinFlag(TypeId)); default: return(0); } }