Esempio n. 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);
    }
Esempio n. 2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (RoomID != 0UL)
            {
                hash ^= RoomID.GetHashCode();
            }
            if (StartTS != 0UL)
            {
                hash ^= StartTS.GetHashCode();
            }
            if (DelayMS != 0)
            {
                hash ^= DelayMS.GetHashCode();
            }
            if (CacheMS != 0)
            {
                hash ^= CacheMS.GetHashCode();
            }
            if (MaxAudiences != 0)
            {
                hash ^= MaxAudiences.GetHashCode();
            }
            if (CurAudiences != 0)
            {
                hash ^= CurAudiences.GetHashCode();
            }
            if (PeakAudiences != 0)
            {
                hash ^= PeakAudiences.GetHashCode();
            }
            hash ^= lastAudiences_.GetHashCode();
            return(hash);
        }
Esempio n. 3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (RoomID != 0)
            {
                hash ^= RoomID.GetHashCode();
            }
            if (Type != global::AiTankArenaServer.PlayerType.Warrior)
            {
                hash ^= Type.GetHashCode();
            }
            if (MyPlayerName.Length != 0)
            {
                hash ^= MyPlayerName.GetHashCode();
            }
            if (SpawnPointID != 0)
            {
                hash ^= SpawnPointID.GetHashCode();
            }
            hash ^= weapons_.GetHashCode();
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Esempio n. 4
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (RoomID != 0)
            {
                hash ^= RoomID.GetHashCode();
            }
            hash ^= rankUsers_.GetHashCode();
            return(hash);
        }
Esempio n. 5
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (RoomID != 0)
            {
                hash ^= RoomID.GetHashCode();
            }
            hash ^= playerTokens_.GetHashCode();
            if (RoomName.Length != 0)
            {
                hash ^= RoomName.GetHashCode();
            }
            return(hash);
        }
Esempio n. 6
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);
    }