修改 LevelResource 消息体结构
							parent
							
								
									a6078f8616
								
							
						
					
					
						commit
						b8e4027586
					
				|  | @ -40,19 +40,21 @@ namespace Dof { | ||||||
|             "bmQSMgoLZ2FtZV9maW5pc2gYBCABKAsyDy5kb2YuR2FtZUZpbmlzaEgAUgpn", |             "bmQSMgoLZ2FtZV9maW5pc2gYBCABKAsyDy5kb2YuR2FtZUZpbmlzaEgAUgpn", | ||||||
|             "YW1lRmluaXNoQggKBmFjdHVhbCJvCgtQbGF5ZXJFbnRlchIXCgdyb29tX2lk", |             "YW1lRmluaXNoQggKBmFjdHVhbCJvCgtQbGF5ZXJFbnRlchIXCgdyb29tX2lk", | ||||||
|             "GAEgASgJUgZyb29tSWQSEAoDdWlkGAIgASgJUgN1aWQSGwoJbmlja19uYW1l", |             "GAEgASgJUgZyb29tSWQSEAoDdWlkGAIgASgJUgN1aWQSGwoJbmlja19uYW1l", | ||||||
|             "GAMgASgJUghuaWNrTmFtZRIYCgdjb3VudHJ5GAQgASgJUgdjb3VudHJ5IiUK", |             "GAMgASgJUghuaWNrTmFtZRIYCgdjb3VudHJ5GAQgASgJUgdjb3VudHJ5IoAB", | ||||||
|             "DUxldmVsUmVzb3VyY2USFAoFbGV2ZWwYASABKAlSBWxldmVsIkYKCUdhbWVT", |             "Cg1MZXZlbFJlc291cmNlEhkKCGxldmVsX2lkGAEgASgJUgdsZXZlbElkEi0K", | ||||||
|             "dGFydBI5Cg5sZXZlbF9yZXNvdXJjZRgBIAMoCzISLmRvZi5MZXZlbFJlc291", |             "EmFuZHJvaWRfZ2VuZXJhdGlvbhgCIAEoCVIRYW5kcm9pZEdlbmVyYXRpb24S", | ||||||
|             "cmNlUg1sZXZlbFJlc291cmNlIjcKDUxldmVsUHJlcGFyZWQSEAoDY2lkGAEg", |             "JQoOaW9zX2dlbmVyYXRpb24YAyABKAlSDWlvc0dlbmVyYXRpb24iRgoJR2Ft", | ||||||
|             "ASgDUgNjaWQSFAoFbGV2ZWwYAiABKAlSBWxldmVsIiIKCkxldmVsU3RhcnQS", |             "ZVN0YXJ0EjkKDmxldmVsX3Jlc291cmNlGAEgAygLMhIuZG9mLkxldmVsUmVz", | ||||||
|             "FAoFbGV2ZWwYASABKAlSBWxldmVsIk8KClBvaW50Rm91bmQSEAoDY2lkGAEg", |             "b3VyY2VSDWxldmVsUmVzb3VyY2UiNwoNTGV2ZWxQcmVwYXJlZBIQCgNjaWQY", | ||||||
|             "ASgDUgNjaWQSFAoFbGV2ZWwYAiABKAlSBWxldmVsEhkKCHBvaW50X2lkGAMg", |             "ASABKANSA2NpZBIUCgVsZXZlbBgCIAEoCVIFbGV2ZWwiIgoKTGV2ZWxTdGFy", | ||||||
|             "ASgFUgdwb2ludElkIjIKCExldmVsRW5kEhAKA2NpZBgBIAEoA1IDY2lkEhQK", |             "dBIUCgVsZXZlbBgBIAEoCVIFbGV2ZWwiTwoKUG9pbnRGb3VuZBIQCgNjaWQY", | ||||||
|             "BWxldmVsGAIgASgJUgVsZXZlbCIfCgtBbGxMZXZlbEVuZBIQCgNjaWQYASAB", |             "ASABKANSA2NpZBIUCgVsZXZlbBgCIAEoCVIFbGV2ZWwSGQoIcG9pbnRfaWQY", | ||||||
|             "KANSA2NpZCIzCglHYW1lU2NvcmUSEAoDdWlkGAEgASgJUgN1aWQSFAoFc2Nv", |             "AyABKAVSB3BvaW50SWQiMgoITGV2ZWxFbmQSEAoDY2lkGAEgASgDUgNjaWQS", | ||||||
|             "cmUYAiABKAVSBXNjb3JlIjQKCkdhbWVGaW5pc2gSJgoGc2NvcmVzGAEgAygL", |             "FAoFbGV2ZWwYAiABKAlSBWxldmVsIh8KC0FsbExldmVsRW5kEhAKA2NpZBgB", | ||||||
|             "Mg4uZG9mLkdhbWVTY29yZVIGc2NvcmVzIh8KC1BsYXllckxlYXZlEhAKA2Np", |             "IAEoA1IDY2lkIjMKCUdhbWVTY29yZRIQCgN1aWQYASABKAlSA3VpZBIUCgVz", | ||||||
|             "ZBgBIAEoA1IDY2lkQgdaBS4vO3BiYgZwcm90bzM=")); |             "Y29yZRgCIAEoBVIFc2NvcmUiNAoKR2FtZUZpbmlzaBImCgZzY29yZXMYASAD", | ||||||
|  |             "KAsyDi5kb2YuR2FtZVNjb3JlUgZzY29yZXMiHwoLUGxheWVyTGVhdmUSEAoD", | ||||||
|  |             "Y2lkGAEgASgDUgNjaWRCB1oFLi87cGJiBnByb3RvMw==")); | ||||||
|       descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, |       descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, | ||||||
|           new pbr::FileDescriptor[] { }, |           new pbr::FileDescriptor[] { }, | ||||||
|           new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { |           new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { | ||||||
|  | @ -60,7 +62,7 @@ namespace Dof { | ||||||
|             new pbr::GeneratedClrTypeInfo(typeof(global::Dof.ClientMessage), global::Dof.ClientMessage.Parser, new[]{ "PlayerEnter", "LevelPrepared", "PointFound", "LevelEnd", "AllLevelEnd", "PlayerLeave" }, new[]{ "Actual" }, null, null, null), |             new pbr::GeneratedClrTypeInfo(typeof(global::Dof.ClientMessage), global::Dof.ClientMessage.Parser, new[]{ "PlayerEnter", "LevelPrepared", "PointFound", "LevelEnd", "AllLevelEnd", "PlayerLeave" }, new[]{ "Actual" }, null, null, null), | ||||||
|             new pbr::GeneratedClrTypeInfo(typeof(global::Dof.ServerMessage), global::Dof.ServerMessage.Parser, new[]{ "GameStart", "LevelStart", "PointFound", "GameFinish" }, new[]{ "Actual" }, null, null, null), |             new pbr::GeneratedClrTypeInfo(typeof(global::Dof.ServerMessage), global::Dof.ServerMessage.Parser, new[]{ "GameStart", "LevelStart", "PointFound", "GameFinish" }, new[]{ "Actual" }, null, null, null), | ||||||
|             new pbr::GeneratedClrTypeInfo(typeof(global::Dof.PlayerEnter), global::Dof.PlayerEnter.Parser, new[]{ "RoomId", "Uid", "NickName", "Country" }, null, null, null, null), |             new pbr::GeneratedClrTypeInfo(typeof(global::Dof.PlayerEnter), global::Dof.PlayerEnter.Parser, new[]{ "RoomId", "Uid", "NickName", "Country" }, null, null, null, null), | ||||||
|             new pbr::GeneratedClrTypeInfo(typeof(global::Dof.LevelResource), global::Dof.LevelResource.Parser, new[]{ "Level" }, null, null, null, null), |             new pbr::GeneratedClrTypeInfo(typeof(global::Dof.LevelResource), global::Dof.LevelResource.Parser, new[]{ "LevelId", "AndroidGeneration", "IosGeneration" }, null, null, null, null), | ||||||
|             new pbr::GeneratedClrTypeInfo(typeof(global::Dof.GameStart), global::Dof.GameStart.Parser, new[]{ "LevelResource" }, null, null, null, null), |             new pbr::GeneratedClrTypeInfo(typeof(global::Dof.GameStart), global::Dof.GameStart.Parser, new[]{ "LevelResource" }, null, null, null, null), | ||||||
|             new pbr::GeneratedClrTypeInfo(typeof(global::Dof.LevelPrepared), global::Dof.LevelPrepared.Parser, new[]{ "Cid", "Level" }, null, null, null, null), |             new pbr::GeneratedClrTypeInfo(typeof(global::Dof.LevelPrepared), global::Dof.LevelPrepared.Parser, new[]{ "Cid", "Level" }, null, null, null, null), | ||||||
|             new pbr::GeneratedClrTypeInfo(typeof(global::Dof.LevelStart), global::Dof.LevelStart.Parser, new[]{ "Level" }, null, null, null, null), |             new pbr::GeneratedClrTypeInfo(typeof(global::Dof.LevelStart), global::Dof.LevelStart.Parser, new[]{ "Level" }, null, null, null, null), | ||||||
|  | @ -1499,7 +1501,9 @@ namespace Dof { | ||||||
|     [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |     [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | ||||||
|     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] | ||||||
|     public LevelResource(LevelResource other) : this() { |     public LevelResource(LevelResource other) : this() { | ||||||
|       level_ = other.level_; |       levelId_ = other.levelId_; | ||||||
|  |       androidGeneration_ = other.androidGeneration_; | ||||||
|  |       iosGeneration_ = other.iosGeneration_; | ||||||
|       _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); |       _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|  | @ -1509,15 +1513,39 @@ namespace Dof { | ||||||
|       return new LevelResource(this); |       return new LevelResource(this); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     /// <summary>Field number for the "level" field.</summary> |     /// <summary>Field number for the "level_id" field.</summary> | ||||||
|     public const int LevelFieldNumber = 1; |     public const int LevelIdFieldNumber = 1; | ||||||
|     private string level_ = ""; |     private string levelId_ = ""; | ||||||
|     [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |     [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | ||||||
|     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] | ||||||
|     public string Level { |     public string LevelId { | ||||||
|       get { return level_; } |       get { return levelId_; } | ||||||
|       set { |       set { | ||||||
|         level_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); |         levelId_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); | ||||||
|  |       } | ||||||
|  |     } | ||||||
|  | 
 | ||||||
|  |     /// <summary>Field number for the "android_generation" field.</summary> | ||||||
|  |     public const int AndroidGenerationFieldNumber = 2; | ||||||
|  |     private string androidGeneration_ = ""; | ||||||
|  |     [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | ||||||
|  |     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] | ||||||
|  |     public string AndroidGeneration { | ||||||
|  |       get { return androidGeneration_; } | ||||||
|  |       set { | ||||||
|  |         androidGeneration_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); | ||||||
|  |       } | ||||||
|  |     } | ||||||
|  | 
 | ||||||
|  |     /// <summary>Field number for the "ios_generation" field.</summary> | ||||||
|  |     public const int IosGenerationFieldNumber = 3; | ||||||
|  |     private string iosGeneration_ = ""; | ||||||
|  |     [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | ||||||
|  |     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] | ||||||
|  |     public string IosGeneration { | ||||||
|  |       get { return iosGeneration_; } | ||||||
|  |       set { | ||||||
|  |         iosGeneration_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); | ||||||
|       } |       } | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|  | @ -1536,7 +1564,9 @@ namespace Dof { | ||||||
|       if (ReferenceEquals(other, this)) { |       if (ReferenceEquals(other, this)) { | ||||||
|         return true; |         return true; | ||||||
|       } |       } | ||||||
|       if (Level != other.Level) return false; |       if (LevelId != other.LevelId) return false; | ||||||
|  |       if (AndroidGeneration != other.AndroidGeneration) return false; | ||||||
|  |       if (IosGeneration != other.IosGeneration) return false; | ||||||
|       return Equals(_unknownFields, other._unknownFields); |       return Equals(_unknownFields, other._unknownFields); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|  | @ -1544,7 +1574,9 @@ namespace Dof { | ||||||
|     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] | ||||||
|     public override int GetHashCode() { |     public override int GetHashCode() { | ||||||
|       int hash = 1; |       int hash = 1; | ||||||
|       if (Level.Length != 0) hash ^= Level.GetHashCode(); |       if (LevelId.Length != 0) hash ^= LevelId.GetHashCode(); | ||||||
|  |       if (AndroidGeneration.Length != 0) hash ^= AndroidGeneration.GetHashCode(); | ||||||
|  |       if (IosGeneration.Length != 0) hash ^= IosGeneration.GetHashCode(); | ||||||
|       if (_unknownFields != null) { |       if (_unknownFields != null) { | ||||||
|         hash ^= _unknownFields.GetHashCode(); |         hash ^= _unknownFields.GetHashCode(); | ||||||
|       } |       } | ||||||
|  | @ -1563,9 +1595,17 @@ namespace Dof { | ||||||
|     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE |     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE | ||||||
|       output.WriteRawMessage(this); |       output.WriteRawMessage(this); | ||||||
|     #else |     #else | ||||||
|       if (Level.Length != 0) { |       if (LevelId.Length != 0) { | ||||||
|         output.WriteRawTag(10); |         output.WriteRawTag(10); | ||||||
|         output.WriteString(Level); |         output.WriteString(LevelId); | ||||||
|  |       } | ||||||
|  |       if (AndroidGeneration.Length != 0) { | ||||||
|  |         output.WriteRawTag(18); | ||||||
|  |         output.WriteString(AndroidGeneration); | ||||||
|  |       } | ||||||
|  |       if (IosGeneration.Length != 0) { | ||||||
|  |         output.WriteRawTag(26); | ||||||
|  |         output.WriteString(IosGeneration); | ||||||
|       } |       } | ||||||
|       if (_unknownFields != null) { |       if (_unknownFields != null) { | ||||||
|         _unknownFields.WriteTo(output); |         _unknownFields.WriteTo(output); | ||||||
|  | @ -1577,9 +1617,17 @@ namespace Dof { | ||||||
|     [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |     [global::System.Diagnostics.DebuggerNonUserCodeAttribute] | ||||||
|     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] | ||||||
|     void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { |     void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) { | ||||||
|       if (Level.Length != 0) { |       if (LevelId.Length != 0) { | ||||||
|         output.WriteRawTag(10); |         output.WriteRawTag(10); | ||||||
|         output.WriteString(Level); |         output.WriteString(LevelId); | ||||||
|  |       } | ||||||
|  |       if (AndroidGeneration.Length != 0) { | ||||||
|  |         output.WriteRawTag(18); | ||||||
|  |         output.WriteString(AndroidGeneration); | ||||||
|  |       } | ||||||
|  |       if (IosGeneration.Length != 0) { | ||||||
|  |         output.WriteRawTag(26); | ||||||
|  |         output.WriteString(IosGeneration); | ||||||
|       } |       } | ||||||
|       if (_unknownFields != null) { |       if (_unknownFields != null) { | ||||||
|         _unknownFields.WriteTo(ref output); |         _unknownFields.WriteTo(ref output); | ||||||
|  | @ -1591,8 +1639,14 @@ namespace Dof { | ||||||
|     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] |     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] | ||||||
|     public int CalculateSize() { |     public int CalculateSize() { | ||||||
|       int size = 0; |       int size = 0; | ||||||
|       if (Level.Length != 0) { |       if (LevelId.Length != 0) { | ||||||
|         size += 1 + pb::CodedOutputStream.ComputeStringSize(Level); |         size += 1 + pb::CodedOutputStream.ComputeStringSize(LevelId); | ||||||
|  |       } | ||||||
|  |       if (AndroidGeneration.Length != 0) { | ||||||
|  |         size += 1 + pb::CodedOutputStream.ComputeStringSize(AndroidGeneration); | ||||||
|  |       } | ||||||
|  |       if (IosGeneration.Length != 0) { | ||||||
|  |         size += 1 + pb::CodedOutputStream.ComputeStringSize(IosGeneration); | ||||||
|       } |       } | ||||||
|       if (_unknownFields != null) { |       if (_unknownFields != null) { | ||||||
|         size += _unknownFields.CalculateSize(); |         size += _unknownFields.CalculateSize(); | ||||||
|  | @ -1606,8 +1660,14 @@ namespace Dof { | ||||||
|       if (other == null) { |       if (other == null) { | ||||||
|         return; |         return; | ||||||
|       } |       } | ||||||
|       if (other.Level.Length != 0) { |       if (other.LevelId.Length != 0) { | ||||||
|         Level = other.Level; |         LevelId = other.LevelId; | ||||||
|  |       } | ||||||
|  |       if (other.AndroidGeneration.Length != 0) { | ||||||
|  |         AndroidGeneration = other.AndroidGeneration; | ||||||
|  |       } | ||||||
|  |       if (other.IosGeneration.Length != 0) { | ||||||
|  |         IosGeneration = other.IosGeneration; | ||||||
|       } |       } | ||||||
|       _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); |       _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); | ||||||
|     } |     } | ||||||
|  | @ -1625,7 +1685,15 @@ namespace Dof { | ||||||
|             _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); |             _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); | ||||||
|             break; |             break; | ||||||
|           case 10: { |           case 10: { | ||||||
|             Level = input.ReadString(); |             LevelId = input.ReadString(); | ||||||
|  |             break; | ||||||
|  |           } | ||||||
|  |           case 18: { | ||||||
|  |             AndroidGeneration = input.ReadString(); | ||||||
|  |             break; | ||||||
|  |           } | ||||||
|  |           case 26: { | ||||||
|  |             IosGeneration = input.ReadString(); | ||||||
|             break; |             break; | ||||||
|           } |           } | ||||||
|         } |         } | ||||||
|  | @ -1644,7 +1712,15 @@ namespace Dof { | ||||||
|             _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); |             _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); | ||||||
|             break; |             break; | ||||||
|           case 10: { |           case 10: { | ||||||
|             Level = input.ReadString(); |             LevelId = input.ReadString(); | ||||||
|  |             break; | ||||||
|  |           } | ||||||
|  |           case 18: { | ||||||
|  |             AndroidGeneration = input.ReadString(); | ||||||
|  |             break; | ||||||
|  |           } | ||||||
|  |           case 26: { | ||||||
|  |             IosGeneration = input.ReadString(); | ||||||
|             break; |             break; | ||||||
|           } |           } | ||||||
|         } |         } | ||||||
|  |  | ||||||
|  | @ -393,7 +393,9 @@ type LevelResource struct { | ||||||
| 	sizeCache     protoimpl.SizeCache | 	sizeCache     protoimpl.SizeCache | ||||||
| 	unknownFields protoimpl.UnknownFields | 	unknownFields protoimpl.UnknownFields | ||||||
| 
 | 
 | ||||||
| 	Level string `protobuf:"bytes,1,opt,name=level,proto3" json:"level,omitempty"` | 	LevelId           string `protobuf:"bytes,1,opt,name=level_id,json=levelId,proto3" json:"level_id,omitempty"` | ||||||
|  | 	AndroidGeneration string `protobuf:"bytes,2,opt,name=android_generation,json=androidGeneration,proto3" json:"android_generation,omitempty"` | ||||||
|  | 	IosGeneration     string `protobuf:"bytes,3,opt,name=ios_generation,json=iosGeneration,proto3" json:"ios_generation,omitempty"` | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| func (x *LevelResource) Reset() { | func (x *LevelResource) Reset() { | ||||||
|  | @ -428,9 +430,23 @@ func (*LevelResource) Descriptor() ([]byte, []int) { | ||||||
| 	return file_dof_messages_proto_rawDescGZIP(), []int{4} | 	return file_dof_messages_proto_rawDescGZIP(), []int{4} | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| func (x *LevelResource) GetLevel() string { | func (x *LevelResource) GetLevelId() string { | ||||||
| 	if x != nil { | 	if x != nil { | ||||||
| 		return x.Level | 		return x.LevelId | ||||||
|  | 	} | ||||||
|  | 	return "" | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | func (x *LevelResource) GetAndroidGeneration() string { | ||||||
|  | 	if x != nil { | ||||||
|  | 		return x.AndroidGeneration | ||||||
|  | 	} | ||||||
|  | 	return "" | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | func (x *LevelResource) GetIosGeneration() string { | ||||||
|  | 	if x != nil { | ||||||
|  | 		return x.IosGeneration | ||||||
| 	} | 	} | ||||||
| 	return "" | 	return "" | ||||||
| } | } | ||||||
|  | @ -948,40 +964,46 @@ var file_dof_messages_proto_rawDesc = []byte{ | ||||||
| 	0x75, 0x69, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6e, 0x69, 0x63, 0x6b, 0x5f, 0x6e, 0x61, 0x6d, 0x65, | 	0x75, 0x69, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6e, 0x69, 0x63, 0x6b, 0x5f, 0x6e, 0x61, 0x6d, 0x65, | ||||||
| 	0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x4e, 0x61, 0x6d, 0x65, | 	0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x4e, 0x61, 0x6d, 0x65, | ||||||
| 	0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, | 	0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, | ||||||
| 	0x09, 0x52, 0x07, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x22, 0x25, 0x0a, 0x0d, 0x4c, 0x65, | 	0x09, 0x52, 0x07, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x22, 0x80, 0x01, 0x0a, 0x0d, 0x4c, | ||||||
| 	0x76, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6c, | 	0x65, 0x76, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x19, 0x0a, 0x08, | ||||||
| 	0x65, 0x76, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, | 	0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, | ||||||
| 	0x6c, 0x22, 0x46, 0x0a, 0x09, 0x47, 0x61, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x72, 0x74, 0x12, 0x39, | 	0x6c, 0x65, 0x76, 0x65, 0x6c, 0x49, 0x64, 0x12, 0x2d, 0x0a, 0x12, 0x61, 0x6e, 0x64, 0x72, 0x6f, | ||||||
| 	0x0a, 0x0e, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, | 	0x69, 0x64, 0x5f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, | ||||||
| 	0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x64, 0x6f, 0x66, 0x2e, 0x4c, 0x65, 0x76, | 	0x01, 0x28, 0x09, 0x52, 0x11, 0x61, 0x6e, 0x64, 0x72, 0x6f, 0x69, 0x64, 0x47, 0x65, 0x6e, 0x65, | ||||||
| 	0x65, 0x6c, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x0d, 0x6c, 0x65, 0x76, 0x65, | 	0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x0a, 0x0e, 0x69, 0x6f, 0x73, 0x5f, 0x67, 0x65, | ||||||
| 	0x6c, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 0x37, 0x0a, 0x0d, 0x4c, 0x65, 0x76, | 	0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, | ||||||
| 	0x65, 0x6c, 0x50, 0x72, 0x65, 0x70, 0x61, 0x72, 0x65, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x69, | 	0x69, 0x6f, 0x73, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x46, 0x0a, | ||||||
| 	0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x63, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, | 	0x09, 0x47, 0x61, 0x6d, 0x65, 0x53, 0x74, 0x61, 0x72, 0x74, 0x12, 0x39, 0x0a, 0x0e, 0x6c, 0x65, | ||||||
| 	0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c, 0x65, 0x76, | 	0x76, 0x65, 0x6c, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 0x03, | ||||||
| 	0x65, 0x6c, 0x22, 0x22, 0x0a, 0x0a, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x53, 0x74, 0x61, 0x72, 0x74, | 	0x28, 0x0b, 0x32, 0x12, 0x2e, 0x64, 0x6f, 0x66, 0x2e, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x65, | ||||||
| 	0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, | 	0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x0d, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x65, 0x73, | ||||||
| 	0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x22, 0x4f, 0x0a, 0x0a, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x46, | 	0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 0x37, 0x0a, 0x0d, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x50, 0x72, | ||||||
| 	0x6f, 0x75, 0x6e, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, | 	0x65, 0x70, 0x61, 0x72, 0x65, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 0x01, 0x20, | ||||||
| 	0x03, 0x52, 0x03, 0x63, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, | 	0x01, 0x28, 0x03, 0x52, 0x03, 0x63, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, | ||||||
| 	0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x19, 0x0a, 0x08, | 	0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x22, 0x22, | ||||||
| 	0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, | 	0x0a, 0x0a, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x53, 0x74, 0x61, 0x72, 0x74, 0x12, 0x14, 0x0a, 0x05, | ||||||
| 	0x70, 0x6f, 0x69, 0x6e, 0x74, 0x49, 0x64, 0x22, 0x32, 0x0a, 0x08, 0x4c, 0x65, 0x76, 0x65, 0x6c, | 	0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c, 0x65, 0x76, | ||||||
| 	0x45, 0x6e, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, | 	0x65, 0x6c, 0x22, 0x4f, 0x0a, 0x0a, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x46, 0x6f, 0x75, 0x6e, 0x64, | ||||||
| 	0x52, 0x03, 0x63, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x02, | 	0x12, 0x10, 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x63, | ||||||
| 	0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x22, 0x1f, 0x0a, 0x0b, 0x41, | 	0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, | ||||||
| 	0x6c, 0x6c, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x45, 0x6e, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x69, | 	0x09, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x19, 0x0a, 0x08, 0x70, 0x6f, 0x69, 0x6e, | ||||||
| 	0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x63, 0x69, 0x64, 0x22, 0x33, 0x0a, 0x09, | 	0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x70, 0x6f, 0x69, 0x6e, | ||||||
| 	0x47, 0x61, 0x6d, 0x65, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, | 	0x74, 0x49, 0x64, 0x22, 0x32, 0x0a, 0x08, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x45, 0x6e, 0x64, 0x12, | ||||||
| 	0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x73, | 	0x10, 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x63, 0x69, | ||||||
| 	0x63, 0x6f, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, | 	0x64, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, | ||||||
| 	0x65, 0x22, 0x34, 0x0a, 0x0a, 0x47, 0x61, 0x6d, 0x65, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x12, | 	0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x22, 0x1f, 0x0a, 0x0b, 0x41, 0x6c, 0x6c, 0x4c, 0x65, | ||||||
| 	0x26, 0x0a, 0x06, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, | 	0x76, 0x65, 0x6c, 0x45, 0x6e, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 0x01, 0x20, | ||||||
| 	0x0e, 0x2e, 0x64, 0x6f, 0x66, 0x2e, 0x47, 0x61, 0x6d, 0x65, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x52, | 	0x01, 0x28, 0x03, 0x52, 0x03, 0x63, 0x69, 0x64, 0x22, 0x33, 0x0a, 0x09, 0x47, 0x61, 0x6d, 0x65, | ||||||
| 	0x06, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x22, 0x1f, 0x0a, 0x0b, 0x50, 0x6c, 0x61, 0x79, 0x65, | 	0x53, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, | ||||||
| 	0x72, 0x4c, 0x65, 0x61, 0x76, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 0x01, 0x20, | 	0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, | ||||||
| 	0x01, 0x28, 0x03, 0x52, 0x03, 0x63, 0x69, 0x64, 0x42, 0x07, 0x5a, 0x05, 0x2e, 0x2f, 0x3b, 0x70, | 	0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x22, 0x34, 0x0a, | ||||||
| 	0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, | 	0x0a, 0x47, 0x61, 0x6d, 0x65, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x12, 0x26, 0x0a, 0x06, 0x73, | ||||||
|  | 	0x63, 0x6f, 0x72, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x64, 0x6f, | ||||||
|  | 	0x66, 0x2e, 0x47, 0x61, 0x6d, 0x65, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x52, 0x06, 0x73, 0x63, 0x6f, | ||||||
|  | 	0x72, 0x65, 0x73, 0x22, 0x1f, 0x0a, 0x0b, 0x50, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x4c, 0x65, 0x61, | ||||||
|  | 	0x76, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, | ||||||
|  | 	0x03, 0x63, 0x69, 0x64, 0x42, 0x07, 0x5a, 0x05, 0x2e, 0x2f, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, | ||||||
|  | 	0x72, 0x6f, 0x74, 0x6f, 0x33, | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| var ( | var ( | ||||||
|  |  | ||||||
|  | @ -38,7 +38,9 @@ message PlayerEnter { | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| message LevelResource { | message LevelResource { | ||||||
|   string level = 1; |   string level_id = 1; | ||||||
|  |   string android_generation = 2; | ||||||
|  |   string ios_generation = 3; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| message GameStart { | message GameStart { | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue