Пример #1
0
    public override int GetHashCode()
    {
        int hash = 1;

        if (UserID != 0)
        {
            hash ^= UserID.GetHashCode();
        }
        if (GameID != 0)
        {
            hash ^= GameID.GetHashCode();
        }
        if (RoomID != 0UL)
        {
            hash ^= RoomID.GetHashCode();
        }
        if (Flag != 0)
        {
            hash ^= Flag.GetHashCode();
        }
        hash ^= dstUids_.GetHashCode();
        if (CpProto.Length != 0)
        {
            hash ^= CpProto.GetHashCode();
        }
        return(hash);
    }
Пример #2
0
 public override Int32 GetHashCode()
 {
     return(GameID.GetHashCode() ^
            DataID.GetHashCode() ^
            SaveTime.GetHashCode() ^
            DataName.GetHashCode() ^
            ScoreValue.GetHashCode());
 }
Пример #3
0
    public override int GetHashCode()
    {
        int hash = 1;

        if (GameID != 0)
        {
            hash ^= GameID.GetHashCode();
        }
        if (RoomID != 0UL)
        {
            hash ^= RoomID.GetHashCode();
        }
        return(hash);
    }
Пример #4
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (GameID != 0)
            {
                hash ^= GameID.GetHashCode();
            }
            if (GameMode != 0)
            {
                hash ^= GameMode.GetHashCode();
            }
            return(hash);
        }
Пример #5
0
    public override int GetHashCode()
    {
        int hash = 1;

        if (PushType != 0)
        {
            hash ^= PushType.GetHashCode();
        }
        if (GameID != 0)
        {
            hash ^= GameID.GetHashCode();
        }
        if (RoomID != 0UL)
        {
            hash ^= RoomID.GetHashCode();
        }
        hash ^= dstUids_.GetHashCode();
        if (CpProto.Length != 0)
        {
            hash ^= CpProto.GetHashCode();
        }
        return(hash);
    }