public bool HasGetBeiZhaoMuZheReward(RES_RECRUIMENT_BITS type) { if (type == null) { return(false); } uint num = 1u << type; return((num & this.m_dwRecruiterRewardBits) != 0u); }
public void SetBITS(RES_RECRUIMENT_BITS type, bool bGetted) { if (bGetted) { uint num = 1u << type; this.m_dwRecruiterRewardBits |= num; } else { uint num2 = 1u << type; num2 = ~num2; this.m_dwRecruiterRewardBits &= num2; } }