scripts
This commit is contained in:
@@ -0,0 +1,177 @@
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using Google.Protobuf.Reflection;
|
||||
|
||||
namespace Google.Protobuf.WellKnownTypes
|
||||
{
|
||||
// Token: 0x0200003B RID: 59
|
||||
public sealed class Int32Value : IMessage<Int32Value>, IMessage, IEquatable<Int32Value>, IDeepCloneable<Int32Value>
|
||||
{
|
||||
// Token: 0x170000B1 RID: 177
|
||||
// (get) Token: 0x06000337 RID: 823 RVA: 0x0000CC0D File Offset: 0x0000AE0D
|
||||
[DebuggerNonUserCode]
|
||||
public static MessageParser<Int32Value> Parser
|
||||
{
|
||||
get
|
||||
{
|
||||
return Int32Value._parser;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170000B2 RID: 178
|
||||
// (get) Token: 0x06000338 RID: 824 RVA: 0x0000CC14 File Offset: 0x0000AE14
|
||||
[DebuggerNonUserCode]
|
||||
public static MessageDescriptor Descriptor
|
||||
{
|
||||
get
|
||||
{
|
||||
return WrappersReflection.Descriptor.MessageTypes[4];
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170000B3 RID: 179
|
||||
// (get) Token: 0x06000339 RID: 825 RVA: 0x0000CC26 File Offset: 0x0000AE26
|
||||
[DebuggerNonUserCode]
|
||||
MessageDescriptor IMessage.Descriptor
|
||||
{
|
||||
get
|
||||
{
|
||||
return Int32Value.Descriptor;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600033A RID: 826 RVA: 0x00007601 File Offset: 0x00005801
|
||||
[DebuggerNonUserCode]
|
||||
public Int32Value()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600033B RID: 827 RVA: 0x0000CC2D File Offset: 0x0000AE2D
|
||||
[DebuggerNonUserCode]
|
||||
public Int32Value(Int32Value other)
|
||||
: this()
|
||||
{
|
||||
this.value_ = other.value_;
|
||||
}
|
||||
|
||||
// Token: 0x0600033C RID: 828 RVA: 0x0000CC41 File Offset: 0x0000AE41
|
||||
[DebuggerNonUserCode]
|
||||
public Int32Value Clone()
|
||||
{
|
||||
return new Int32Value(this);
|
||||
}
|
||||
|
||||
// Token: 0x170000B4 RID: 180
|
||||
// (get) Token: 0x0600033D RID: 829 RVA: 0x0000CC49 File Offset: 0x0000AE49
|
||||
// (set) Token: 0x0600033E RID: 830 RVA: 0x0000CC51 File Offset: 0x0000AE51
|
||||
[DebuggerNonUserCode]
|
||||
public int Value
|
||||
{
|
||||
get
|
||||
{
|
||||
return this.value_;
|
||||
}
|
||||
set
|
||||
{
|
||||
this.value_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600033F RID: 831 RVA: 0x0000CC5A File Offset: 0x0000AE5A
|
||||
[DebuggerNonUserCode]
|
||||
public override bool Equals(object other)
|
||||
{
|
||||
return this.Equals(other as Int32Value);
|
||||
}
|
||||
|
||||
// Token: 0x06000340 RID: 832 RVA: 0x0000CC68 File Offset: 0x0000AE68
|
||||
[DebuggerNonUserCode]
|
||||
public bool Equals(Int32Value other)
|
||||
{
|
||||
return other != null && (other == this || this.Value == other.Value);
|
||||
}
|
||||
|
||||
// Token: 0x06000341 RID: 833 RVA: 0x0000CC88 File Offset: 0x0000AE88
|
||||
[DebuggerNonUserCode]
|
||||
public override int GetHashCode()
|
||||
{
|
||||
int num = 1;
|
||||
if (this.Value != 0)
|
||||
{
|
||||
num ^= this.Value.GetHashCode();
|
||||
}
|
||||
return num;
|
||||
}
|
||||
|
||||
// Token: 0x06000342 RID: 834 RVA: 0x00007C02 File Offset: 0x00005E02
|
||||
[DebuggerNonUserCode]
|
||||
public override string ToString()
|
||||
{
|
||||
return JsonFormatter.ToDiagnosticString(this);
|
||||
}
|
||||
|
||||
// Token: 0x06000343 RID: 835 RVA: 0x0000CCB1 File Offset: 0x0000AEB1
|
||||
[DebuggerNonUserCode]
|
||||
public void WriteTo(CodedOutputStream output)
|
||||
{
|
||||
if (this.Value != 0)
|
||||
{
|
||||
output.WriteRawTag(8);
|
||||
output.WriteInt32(this.Value);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06000344 RID: 836 RVA: 0x0000CCD0 File Offset: 0x0000AED0
|
||||
[DebuggerNonUserCode]
|
||||
public int CalculateSize()
|
||||
{
|
||||
int num = 0;
|
||||
if (this.Value != 0)
|
||||
{
|
||||
num += 1 + CodedOutputStream.ComputeInt32Size(this.Value);
|
||||
}
|
||||
return num;
|
||||
}
|
||||
|
||||
// Token: 0x06000345 RID: 837 RVA: 0x0000CCF8 File Offset: 0x0000AEF8
|
||||
[DebuggerNonUserCode]
|
||||
public void MergeFrom(Int32Value other)
|
||||
{
|
||||
if (other == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
if (other.Value != 0)
|
||||
{
|
||||
this.Value = other.Value;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06000346 RID: 838 RVA: 0x0000CD14 File Offset: 0x0000AF14
|
||||
[DebuggerNonUserCode]
|
||||
public void MergeFrom(CodedInputStream input)
|
||||
{
|
||||
uint num;
|
||||
while ((num = input.ReadTag()) != 0U)
|
||||
{
|
||||
if (num != 8U)
|
||||
{
|
||||
input.SkipLastField();
|
||||
}
|
||||
else
|
||||
{
|
||||
this.Value = input.ReadInt32();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x04000105 RID: 261
|
||||
private static readonly MessageParser<Int32Value> _parser = new MessageParser<Int32Value>(() => new Int32Value());
|
||||
|
||||
// Token: 0x04000106 RID: 262
|
||||
public const int ValueFieldNumber = 1;
|
||||
|
||||
// Token: 0x04000107 RID: 263
|
||||
private int value_;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user