|
@@ -36,13 +36,16 @@ namespace Protos {
|
|
|
"YXRpb25feRgHIAEoAhISCgpyb3RhdGlvbl96GAggASgCEhIKCnJvdGF0aW9u",
|
|
|
"X3cYCSABKAISEAoIZXh0cmFTZXQYCiABKAkiRgoMRXZlbnRQYWNrYWdlEhEK",
|
|
|
"CWV2ZW50Y29kZRgBIAEoBRIOCgZpc3Nob3cYAiABKAgSEwoLZXh0cmFQYXJh",
|
|
|
- "bXMYAyABKAliBnByb3RvMw=="));
|
|
|
+ "bXMYAyABKAkicAoPTWluaUdhbWVQYWNrYWdlEhIKCnBvc2l0aW9uX3gYASAB",
|
|
|
+ "KAISEgoKcG9zaXRpb25feRgCIAEoAhISCgpwb3NpdGlvbl96GAMgASgCEhIK",
|
|
|
+ "CnJvdGF0aW9uX3kYBCABKAISDQoFc3BlZWQYBSABKAJiBnByb3RvMw=="));
|
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
|
new pbr::FileDescriptor[] { },
|
|
|
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", "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", "ExtraSet" }, null, null, null),
|
|
|
- new pbr::GeneratedClrTypeInfo(typeof(global::Protos.EventPackage), global::Protos.EventPackage.Parser, new[]{ "Eventcode", "Isshow", "ExtraParams" }, null, null, null)
|
|
|
+ new pbr::GeneratedClrTypeInfo(typeof(global::Protos.EventPackage), global::Protos.EventPackage.Parser, new[]{ "Eventcode", "Isshow", "ExtraParams" }, null, null, null),
|
|
|
+ new pbr::GeneratedClrTypeInfo(typeof(global::Protos.MiniGamePackage), global::Protos.MiniGamePackage.Parser, new[]{ "PositionX", "PositionY", "PositionZ", "RotationY", "Speed" }, null, null, null)
|
|
|
}));
|
|
|
}
|
|
|
#endregion
|
|
@@ -1132,6 +1135,235 @@ namespace Protos {
|
|
|
|
|
|
}
|
|
|
|
|
|
+ public sealed partial class MiniGamePackage : pb::IMessage<MiniGamePackage> {
|
|
|
+ private static readonly pb::MessageParser<MiniGamePackage> _parser = new pb::MessageParser<MiniGamePackage>(() => new MiniGamePackage());
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
+ public static pb::MessageParser<MiniGamePackage> Parser { get { return _parser; } }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
+ public static pbr::MessageDescriptor Descriptor {
|
|
|
+ get { return global::Protos.FrontReflection.Descriptor.MessageTypes[3]; }
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
+ pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
|
+ get { return Descriptor; }
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
+ public MiniGamePackage() {
|
|
|
+ OnConstruction();
|
|
|
+ }
|
|
|
+
|
|
|
+ partial void OnConstruction();
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
+ public MiniGamePackage(MiniGamePackage other) : this() {
|
|
|
+ positionX_ = other.positionX_;
|
|
|
+ positionY_ = other.positionY_;
|
|
|
+ positionZ_ = other.positionZ_;
|
|
|
+ rotationY_ = other.rotationY_;
|
|
|
+ speed_ = other.speed_;
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
+ public MiniGamePackage Clone() {
|
|
|
+ return new MiniGamePackage(this);
|
|
|
+ }
|
|
|
+
|
|
|
+ /// <summary>Field number for the "position_x" field.</summary>
|
|
|
+ public const int PositionXFieldNumber = 1;
|
|
|
+ private float positionX_;
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
+ public float PositionX {
|
|
|
+ get { return positionX_; }
|
|
|
+ set {
|
|
|
+ positionX_ = value;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ /// <summary>Field number for the "position_y" field.</summary>
|
|
|
+ public const int PositionYFieldNumber = 2;
|
|
|
+ private float positionY_;
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
+ public float PositionY {
|
|
|
+ get { return positionY_; }
|
|
|
+ set {
|
|
|
+ positionY_ = value;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ /// <summary>Field number for the "position_z" field.</summary>
|
|
|
+ public const int PositionZFieldNumber = 3;
|
|
|
+ private float positionZ_;
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
+ public float PositionZ {
|
|
|
+ get { return positionZ_; }
|
|
|
+ set {
|
|
|
+ positionZ_ = value;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ /// <summary>Field number for the "rotation_y" field.</summary>
|
|
|
+ public const int RotationYFieldNumber = 4;
|
|
|
+ private float rotationY_;
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
+ public float RotationY {
|
|
|
+ get { return rotationY_; }
|
|
|
+ set {
|
|
|
+ rotationY_ = value;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ /// <summary>Field number for the "speed" field.</summary>
|
|
|
+ public const int SpeedFieldNumber = 5;
|
|
|
+ private float speed_;
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
+ public float Speed {
|
|
|
+ get { return speed_; }
|
|
|
+ set {
|
|
|
+ speed_ = value;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
+ public override bool Equals(object other) {
|
|
|
+ return Equals(other as MiniGamePackage);
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
+ public bool Equals(MiniGamePackage other) {
|
|
|
+ if (ReferenceEquals(other, null)) {
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ if (ReferenceEquals(other, this)) {
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+ if (PositionX != other.PositionX) return false;
|
|
|
+ if (PositionY != other.PositionY) return false;
|
|
|
+ if (PositionZ != other.PositionZ) return false;
|
|
|
+ if (RotationY != other.RotationY) return false;
|
|
|
+ if (Speed != other.Speed) return false;
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
+ public override int GetHashCode() {
|
|
|
+ int hash = 1;
|
|
|
+ if (PositionX != 0F) hash ^= PositionX.GetHashCode();
|
|
|
+ if (PositionY != 0F) hash ^= PositionY.GetHashCode();
|
|
|
+ if (PositionZ != 0F) hash ^= PositionZ.GetHashCode();
|
|
|
+ if (RotationY != 0F) hash ^= RotationY.GetHashCode();
|
|
|
+ if (Speed != 0F) hash ^= Speed.GetHashCode();
|
|
|
+ return hash;
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
+ public override string ToString() {
|
|
|
+ return pb::JsonFormatter.ToDiagnosticString(this);
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
+ public void WriteTo(pb::CodedOutputStream output) {
|
|
|
+ if (PositionX != 0F) {
|
|
|
+ output.WriteRawTag(13);
|
|
|
+ output.WriteFloat(PositionX);
|
|
|
+ }
|
|
|
+ if (PositionY != 0F) {
|
|
|
+ output.WriteRawTag(21);
|
|
|
+ output.WriteFloat(PositionY);
|
|
|
+ }
|
|
|
+ if (PositionZ != 0F) {
|
|
|
+ output.WriteRawTag(29);
|
|
|
+ output.WriteFloat(PositionZ);
|
|
|
+ }
|
|
|
+ if (RotationY != 0F) {
|
|
|
+ output.WriteRawTag(37);
|
|
|
+ output.WriteFloat(RotationY);
|
|
|
+ }
|
|
|
+ if (Speed != 0F) {
|
|
|
+ output.WriteRawTag(45);
|
|
|
+ output.WriteFloat(Speed);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
+ public int CalculateSize() {
|
|
|
+ int size = 0;
|
|
|
+ if (PositionX != 0F) {
|
|
|
+ size += 1 + 4;
|
|
|
+ }
|
|
|
+ if (PositionY != 0F) {
|
|
|
+ size += 1 + 4;
|
|
|
+ }
|
|
|
+ if (PositionZ != 0F) {
|
|
|
+ size += 1 + 4;
|
|
|
+ }
|
|
|
+ if (RotationY != 0F) {
|
|
|
+ size += 1 + 4;
|
|
|
+ }
|
|
|
+ if (Speed != 0F) {
|
|
|
+ size += 1 + 4;
|
|
|
+ }
|
|
|
+ return size;
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
+ public void MergeFrom(MiniGamePackage other) {
|
|
|
+ if (other == null) {
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ if (other.PositionX != 0F) {
|
|
|
+ PositionX = other.PositionX;
|
|
|
+ }
|
|
|
+ if (other.PositionY != 0F) {
|
|
|
+ PositionY = other.PositionY;
|
|
|
+ }
|
|
|
+ if (other.PositionZ != 0F) {
|
|
|
+ PositionZ = other.PositionZ;
|
|
|
+ }
|
|
|
+ if (other.RotationY != 0F) {
|
|
|
+ RotationY = other.RotationY;
|
|
|
+ }
|
|
|
+ if (other.Speed != 0F) {
|
|
|
+ Speed = other.Speed;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
+ public void MergeFrom(pb::CodedInputStream input) {
|
|
|
+ uint tag;
|
|
|
+ while ((tag = input.ReadTag()) != 0) {
|
|
|
+ switch(tag) {
|
|
|
+ default:
|
|
|
+ input.SkipLastField();
|
|
|
+ break;
|
|
|
+ case 13: {
|
|
|
+ PositionX = input.ReadFloat();
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ case 21: {
|
|
|
+ PositionY = input.ReadFloat();
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ case 29: {
|
|
|
+ PositionZ = input.ReadFloat();
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ case 37: {
|
|
|
+ RotationY = input.ReadFloat();
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ case 45: {
|
|
|
+ Speed = input.ReadFloat();
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
#endregion
|
|
|
|
|
|
}
|