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

        if (Error != 0)
        {
            hash ^= Error.GetHashCode();
        }
        if (FrameNumber != 0)
        {
            hash ^= FrameNumber.GetHashCode();
        }
        if (RandomCode != 0)
        {
            hash ^= RandomCode.GetHashCode();
        }
        hash ^= battleInputs_.GetHashCode();
        if (_unknownFields != null)
        {
            hash ^= _unknownFields.GetHashCode();
        }
        return(hash);
    }