コード例 #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Camp != 0)
            {
                hash ^= Camp.GetHashCode();
            }
            if (PlayerID != 0)
            {
                hash ^= PlayerID.GetHashCode();
            }
            hash ^= cardItems_.GetHashCode();
            return(hash);
        }