예제 #1
0
        public bool HasGetBeiZhaoMuZheReward(RES_RECRUIMENT_BITS type)
        {
            if (type == null)
            {
                return(false);
            }
            uint num = 1u << type;

            return((num & this.m_dwRecruiterRewardBits) != 0u);
        }
예제 #2
0
 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;
     }
 }