|
@@ -22,26 +22,26 @@ namespace Protos {
|
|
static FrontReflection() {
|
|
static FrontReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
string.Concat(
|
|
- "Cgtmcm9udC5wcm90bxIGcHJvdG9zIrECChBDaGFyYWN0ZXJQYWNrYWdlEgwK",
|
|
|
|
|
|
+ "Cgtmcm9udC5wcm90bxIGcHJvdG9zIs0CChBDaGFyYWN0ZXJQYWNrYWdlEgwK",
|
|
"BGhhbmQYASABKAUSEAoIaGFuZEdyYWIYAiABKAUSEgoKcG9zaXRpb25feBgD",
|
|
"BGhhbmQYASABKAUSEAoIaGFuZEdyYWIYAiABKAUSEgoKcG9zaXRpb25feBgD",
|
|
"IAEoAhISCgpwb3NpdGlvbl95GAQgASgCEhIKCnBvc2l0aW9uX3oYBSABKAIS",
|
|
"IAEoAhISCgpwb3NpdGlvbl95GAQgASgCEhIKCnBvc2l0aW9uX3oYBSABKAIS",
|
|
"EgoKcm90YXRpb25feBgGIAEoAhISCgpyb3RhdGlvbl95GAcgASgCEhIKCnJv",
|
|
"EgoKcm90YXRpb25feBgGIAEoAhISCgpyb3RhdGlvbl95GAcgASgCEhIKCnJv",
|
|
"dGF0aW9uX3oYCCABKAISEgoKcm90YXRpb25fdxgJIAEoAhIZChFsaW5lYXJf",
|
|
"dGF0aW9uX3oYCCABKAISEgoKcm90YXRpb25fdxgJIAEoAhIZChFsaW5lYXJf",
|
|
"dmVsb2NpdHlfeBgKIAEoAhIZChFsaW5lYXJfdmVsb2NpdHlfeRgLIAEoAhIZ",
|
|
"dmVsb2NpdHlfeBgKIAEoAhIZChFsaW5lYXJfdmVsb2NpdHlfeRgLIAEoAhIZ",
|
|
"ChFsaW5lYXJfdmVsb2NpdHlfehgMIAEoAhIPCgdib25lUG9zGA0gAygCEg8K",
|
|
"ChFsaW5lYXJfdmVsb2NpdHlfehgMIAEoAhIPCgdib25lUG9zGA0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kYCyABKAISGQoRbGluZWFyX3ZlbG9jaXR5X3oYDCABKAIS",
|
|
|
|
+ "GAoQYW5nbGVfdmVsb2NpdHlfeBgNIAEoAhIYChBhbmdsZV92ZWxvY2l0eV95",
|
|
|
|
+ "GA4gASgCEhgKEGFuZ2xlX3ZlbG9jaXR5X3oYDyABKAJiBnByb3RvMw=="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { },
|
|
new pbr::FileDescriptor[] { },
|
|
new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
|
|
- new pbr::GeneratedClrTypeInfo(typeof(global::Protos.CharacterPackage), global::Protos.CharacterPackage.Parser, new[]{ "Hand", "HandGrab", "PositionX", "PositionY", "PositionZ", "RotationX", "RotationY", "RotationZ", "RotationW", "LinearVelocityX", "LinearVelocityY", "LinearVelocityZ", "BonePos", "BoneRot" }, null, null, null),
|
|
|
|
|
|
+ new pbr::GeneratedClrTypeInfo(typeof(global::Protos.CharacterPackage), global::Protos.CharacterPackage.Parser, new[]{ "Hand", "HandGrab", "PositionX", "PositionY", "PositionZ", "RotationX", "RotationY", "RotationZ", "RotationW", "LinearVelocityX", "LinearVelocityY", "LinearVelocityZ", "BonePos", "BoneRot", "Jump", "Down" }, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Protos.BoxPackage), global::Protos.BoxPackage.Parser, new[]{ "EffectId", "HoldId", "PositionX", "PositionY", "PositionZ", "RotationX", "RotationY", "RotationZ", "RotationW", "LinearVelocityX", "LinearVelocityY", "LinearVelocityZ", "AngleVelocityX", "AngleVelocityY", "AngleVelocityZ" }, null, null, null)
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Protos.BoxPackage), global::Protos.BoxPackage.Parser, new[]{ "EffectId", "HoldId", "PositionX", "PositionY", "PositionZ", "RotationX", "RotationY", "RotationZ", "RotationW", "LinearVelocityX", "LinearVelocityY", "LinearVelocityZ", "AngleVelocityX", "AngleVelocityY", "AngleVelocityZ" }, null, null, null)
|
|
}));
|
|
}));
|
|
}
|
|
}
|
|
@@ -90,6 +90,8 @@ namespace Protos {
|
|
linearVelocityZ_ = other.linearVelocityZ_;
|
|
linearVelocityZ_ = other.linearVelocityZ_;
|
|
bonePos_ = other.bonePos_.Clone();
|
|
bonePos_ = other.bonePos_.Clone();
|
|
boneRot_ = other.boneRot_.Clone();
|
|
boneRot_ = other.boneRot_.Clone();
|
|
|
|
+ jump_ = other.jump_;
|
|
|
|
+ down_ = other.down_;
|
|
}
|
|
}
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
@@ -255,6 +257,28 @@ namespace Protos {
|
|
get { return boneRot_; }
|
|
get { return boneRot_; }
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ /// <summary>Field number for the "jump" field.</summary>
|
|
|
|
+ public const int JumpFieldNumber = 15;
|
|
|
|
+ private int jump_;
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public int Jump {
|
|
|
|
+ get { return jump_; }
|
|
|
|
+ set {
|
|
|
|
+ jump_ = value;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /// <summary>Field number for the "down" field.</summary>
|
|
|
|
+ public const int DownFieldNumber = 16;
|
|
|
|
+ private int down_;
|
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
+ public int Down {
|
|
|
|
+ get { return down_; }
|
|
|
|
+ set {
|
|
|
|
+ down_ = value;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
public override bool Equals(object other) {
|
|
public override bool Equals(object other) {
|
|
return Equals(other as CharacterPackage);
|
|
return Equals(other as CharacterPackage);
|
|
@@ -282,6 +306,8 @@ namespace Protos {
|
|
if (LinearVelocityZ != other.LinearVelocityZ) return false;
|
|
if (LinearVelocityZ != other.LinearVelocityZ) return false;
|
|
if(!bonePos_.Equals(other.bonePos_)) return false;
|
|
if(!bonePos_.Equals(other.bonePos_)) return false;
|
|
if(!boneRot_.Equals(other.boneRot_)) return false;
|
|
if(!boneRot_.Equals(other.boneRot_)) return false;
|
|
|
|
+ if (Jump != other.Jump) return false;
|
|
|
|
+ if (Down != other.Down) return false;
|
|
return true;
|
|
return true;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -302,6 +328,8 @@ namespace Protos {
|
|
if (LinearVelocityZ != 0F) hash ^= LinearVelocityZ.GetHashCode();
|
|
if (LinearVelocityZ != 0F) hash ^= LinearVelocityZ.GetHashCode();
|
|
hash ^= bonePos_.GetHashCode();
|
|
hash ^= bonePos_.GetHashCode();
|
|
hash ^= boneRot_.GetHashCode();
|
|
hash ^= boneRot_.GetHashCode();
|
|
|
|
+ if (Jump != 0) hash ^= Jump.GetHashCode();
|
|
|
|
+ if (Down != 0) hash ^= Down.GetHashCode();
|
|
return hash;
|
|
return hash;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -362,6 +390,14 @@ namespace Protos {
|
|
}
|
|
}
|
|
bonePos_.WriteTo(output, _repeated_bonePos_codec);
|
|
bonePos_.WriteTo(output, _repeated_bonePos_codec);
|
|
boneRot_.WriteTo(output, _repeated_boneRot_codec);
|
|
boneRot_.WriteTo(output, _repeated_boneRot_codec);
|
|
|
|
+ if (Jump != 0) {
|
|
|
|
+ output.WriteRawTag(120);
|
|
|
|
+ output.WriteInt32(Jump);
|
|
|
|
+ }
|
|
|
|
+ if (Down != 0) {
|
|
|
|
+ output.WriteRawTag(128, 1);
|
|
|
|
+ output.WriteInt32(Down);
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
@@ -405,6 +441,12 @@ namespace Protos {
|
|
}
|
|
}
|
|
size += bonePos_.CalculateSize(_repeated_bonePos_codec);
|
|
size += bonePos_.CalculateSize(_repeated_bonePos_codec);
|
|
size += boneRot_.CalculateSize(_repeated_boneRot_codec);
|
|
size += boneRot_.CalculateSize(_repeated_boneRot_codec);
|
|
|
|
+ if (Jump != 0) {
|
|
|
|
+ size += 1 + pb::CodedOutputStream.ComputeInt32Size(Jump);
|
|
|
|
+ }
|
|
|
|
+ if (Down != 0) {
|
|
|
|
+ size += 2 + pb::CodedOutputStream.ComputeInt32Size(Down);
|
|
|
|
+ }
|
|
return size;
|
|
return size;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -451,6 +493,12 @@ namespace Protos {
|
|
}
|
|
}
|
|
bonePos_.Add(other.bonePos_);
|
|
bonePos_.Add(other.bonePos_);
|
|
boneRot_.Add(other.boneRot_);
|
|
boneRot_.Add(other.boneRot_);
|
|
|
|
+ if (other.Jump != 0) {
|
|
|
|
+ Jump = other.Jump;
|
|
|
|
+ }
|
|
|
|
+ if (other.Down != 0) {
|
|
|
|
+ Down = other.Down;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
@@ -519,6 +567,14 @@ namespace Protos {
|
|
boneRot_.AddEntriesFrom(input, _repeated_boneRot_codec);
|
|
boneRot_.AddEntriesFrom(input, _repeated_boneRot_codec);
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
|
|
+ case 120: {
|
|
|
|
+ Jump = input.ReadInt32();
|
|
|
|
+ break;
|
|
|
|
+ }
|
|
|
|
+ case 128: {
|
|
|
|
+ Down = input.ReadInt32();
|
|
|
|
+ break;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|