Esempio n. 1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (MessageType.Length != 0)
            {
                hash ^= MessageType.GetHashCode();
            }
            if (CompressionType != global::AcFunDanmu.ZtLiveScMessage.Types.CompressionType.Unknown)
            {
                hash ^= CompressionType.GetHashCode();
            }
            if (Payload.Length != 0)
            {
                hash ^= Payload.GetHashCode();
            }
            if (LiveId.Length != 0)
            {
                hash ^= LiveId.GetHashCode();
            }
            if (Ticket.Length != 0)
            {
                hash ^= Ticket.GetHashCode();
            }
            if (ServerTimestampMs != 0L)
            {
                hash ^= ServerTimestampMs.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Esempio n. 2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (player_ != null)
            {
                hash ^= Player.GetHashCode();
            }
            if (LiveId.Length != 0)
            {
                hash ^= LiveId.GetHashCode();
            }
            if (EnableJumpPeerLiveRoom != false)
            {
                hash ^= EnableJumpPeerLiveRoom.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Esempio n. 3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ChatId.Length != 0)
            {
                hash ^= ChatId.GetHashCode();
            }
            if (LiveId.Length != 0)
            {
                hash ^= LiveId.GetHashCode();
            }
            if (CallTimestampMs != 0L)
            {
                hash ^= CallTimestampMs.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }