Example #1
0
    public override int GetHashCode()
    {
        int hash = 1;

        if (Name.Length != 0)
        {
            hash ^= Name.GetHashCode();
        }
        if (Zone != 0)
        {
            hash ^= Zone.GetHashCode();
        }
        if (RoleUUID.Length != 0)
        {
            hash ^= RoleUUID.GetHashCode();
        }
        if (PlayerUUID.Length != 0)
        {
            hash ^= PlayerUUID.GetHashCode();
        }
        if (MapUUID.Length != 0)
        {
            hash ^= MapUUID.GetHashCode();
        }
        if (MailUUID.Length != 0)
        {
            hash ^= MailUUID.GetHashCode();
        }
        if (_unknownFields != null)
        {
            hash ^= _unknownFields.GetHashCode();
        }
        return(hash);
    }
Example #2
0
    public override int GetHashCode()
    {
        int hash = 1;

        if (RoleUUID.Length != 0)
        {
            hash ^= RoleUUID.GetHashCode();
        }
        if (address_ != null)
        {
            hash ^= Address.GetHashCode();
        }
        if (_unknownFields != null)
        {
            hash ^= _unknownFields.GetHashCode();
        }
        return(hash);
    }
Example #3
0
    public override int GetHashCode()
    {
        int hash = 1;

        if (RoleUUID.Length != 0)
        {
            hash ^= RoleUUID.GetHashCode();
        }
        if (address_ != null)
        {
            hash ^= Address.GetHashCode();
        }
        if (State != global::SessionState.Offline)
        {
            hash ^= State.GetHashCode();
        }
        if (_unknownFields != null)
        {
            hash ^= _unknownFields.GetHashCode();
        }
        return(hash);
    }