补充章节宝箱数据
parent
5b7b5247b0
commit
8ae548f733
|
|
@ -74,3 +74,4 @@ crashlytics-build.properties
|
|||
#
|
||||
.idea/
|
||||
*.DS_Store
|
||||
.vscode
|
||||
|
|
|
|||
|
|
@ -24,10 +24,12 @@ namespace Gameplay.Net
|
|||
public override PartID ID { get { return PartID.Level; } }
|
||||
|
||||
private Dictionary<uint, LevelInfo> m_Levels;
|
||||
private Dictionary<uint, uint> m_ChapterInfos;
|
||||
|
||||
public override void Init()
|
||||
{
|
||||
m_Levels = new Dictionary<uint, LevelInfo>();
|
||||
m_ChapterInfos = new Dictionary<uint, uint>();
|
||||
}
|
||||
|
||||
public override void OnLoginOK()
|
||||
|
|
@ -71,6 +73,11 @@ namespace Gameplay.Net
|
|||
}
|
||||
}
|
||||
|
||||
public void SetChapterInfo(uint id, uint nIndex)
|
||||
{
|
||||
m_ChapterInfos[id] = nIndex;
|
||||
}
|
||||
|
||||
public LevelInfo GetLevelInfo(uint id)
|
||||
{
|
||||
LevelInfo info;
|
||||
|
|
|
|||
|
|
@ -55,6 +55,11 @@ namespace Gameplay.Net
|
|||
{
|
||||
Actor.Instance.Level.SetLevelInfo(m_PB.Infos[i].Id, m_PB.Infos[i].IsPassed, m_PB.Infos[i].Star);
|
||||
}
|
||||
|
||||
for(int i = 0; i < mPB.Chapters.Count; i ++)
|
||||
{
|
||||
Actor.Instance.Level.SetChapterInfo(mPB.Chapters[i].Id, mPB.Chapters[i].RewardIndex);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -59,40 +59,42 @@ namespace NLDPB {
|
|||
"VGFza0luZm8SJQoGY291bnRzGAMgAygLMhUuTkxEX1BCLk1TR19UYXNrQ291",
|
||||
"bnQiJQoRQ2x0X0dfU2V0Tmlja25hbWUSEAoIbmlja25hbWUYASABKAkiPAoN",
|
||||
"TVNHX0xldmVsSW5mbxIKCgJpZBgBIAEoDRIRCglpc19wYXNzZWQYAiABKAgS",
|
||||
"DAo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5vbmUQABIJCgRQSFhIEOgHEgsKBlRhcFRhcBDpByo6Cg1Q",
|
||||
"SFhITG9naW5EYXRhEgsKB0FjY291bnQQABIMCghQYXNzd29yZBABEg4KClBI",
|
||||
"WEhMRF9NYXgQAipACg9UYXBUYXBMb2dpbkRhdGESDwoLQWNjZXNzVG9rZW4Q",
|
||||
"ABIKCgZNYWNLZXkQARIQCgxUYXBUYXBMRF9NYXgQAipjCgtVcGdyYWRlVHlw",
|
||||
"ZRILCgdVVF9Ob25lEAASDAoIVVRfTGV2ZWwQARIMCghVVF9CcmVhaxACEhEK",
|
||||
"DVVUX1VsdHJhU2tpbGwQAxIMCghVVF9Bd2FrZRAEEgoKBlVJX01heBAFQgta",
|
||||
"CXBiL3hzZl9wYmIGcHJvdG8z"));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(new[] {typeof(global::NLDPB.LoginType), typeof(global::NLDPB.PHXHLoginData), typeof(global::NLDPB.TapTapLoginData), typeof(global::NLDPB.UpgradeType), }, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
|
|
@ -120,7 +122,8 @@ namespace NLDPB {
|
|||
new pbr::GeneratedClrTypeInfo(typeof(global::NLDPB.G_Clt_ActorTask), global::NLDPB.G_Clt_ActorTask.Parser, new[]{ "IsAll", "Infos", "Counts" }, null, null, null, null),
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::NLDPB.Clt_G_SetNickname), global::NLDPB.Clt_G_SetNickname.Parser, new[]{ "Nickname" }, null, null, null, null),
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::NLDPB.MSG_LevelInfo), global::NLDPB.MSG_LevelInfo.Parser, new[]{ "Id", "IsPassed", "Star" }, null, null, null, null),
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::NLDPB.G_Clt_ActorLevel), global::NLDPB.G_Clt_ActorLevel.Parser, new[]{ "IsAll", "LastEnterId", "LastEnterTime", "Infos" }, null, null, null, null),
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::NLDPB.MSG_ChapterInfo), global::NLDPB.MSG_ChapterInfo.Parser, new[]{ "Id", "RewardIndex" }, null, null, null, null),
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::NLDPB.G_Clt_ActorLevel), global::NLDPB.G_Clt_ActorLevel.Parser, new[]{ "IsAll", "LastEnterId", "LastEnterTime", "Infos", "Chapters" }, null, null, null, null),
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::NLDPB.Clt_G_EnterLevel), global::NLDPB.Clt_G_EnterLevel.Parser, new[]{ "LevelId", "TeamIndex" }, null, null, null, null),
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::NLDPB.Clt_G_ExitLevel), global::NLDPB.Clt_G_ExitLevel.Parser, new[]{ "IsSuccess", "Star" }, null, null, null, null),
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::NLDPB.G_Clt_ActorRaffle), global::NLDPB.G_Clt_ActorRaffle.Parser, null, null, null, null, null),
|
||||
|
|
@ -5977,6 +5980,232 @@ namespace NLDPB {
|
|||
|
||||
}
|
||||
|
||||
public sealed partial class MSG_ChapterInfo : pb::IMessage<MSG_ChapterInfo>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<MSG_ChapterInfo> _parser = new pb::MessageParser<MSG_ChapterInfo>(() => new MSG_ChapterInfo());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<MSG_ChapterInfo> Parser { get { return _parser; } }
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[24]; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||||
get { return Descriptor; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public MSG_ChapterInfo() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public MSG_ChapterInfo(MSG_ChapterInfo other) : this() {
|
||||
id_ = other.id_;
|
||||
rewardIndex_ = other.rewardIndex_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public MSG_ChapterInfo Clone() {
|
||||
return new MSG_ChapterInfo(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "id" field.</summary>
|
||||
public const int IdFieldNumber = 1;
|
||||
private uint id_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public uint Id {
|
||||
get { return id_; }
|
||||
set {
|
||||
id_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "reward_index" field.</summary>
|
||||
public const int RewardIndexFieldNumber = 2;
|
||||
private uint rewardIndex_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public uint RewardIndex {
|
||||
get { return rewardIndex_; }
|
||||
set {
|
||||
rewardIndex_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as MSG_ChapterInfo);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(MSG_ChapterInfo other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (Id != other.Id) return false;
|
||||
if (RewardIndex != other.RewardIndex) return false;
|
||||
return Equals(_unknownFields, other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override int GetHashCode() {
|
||||
int hash = 1;
|
||||
if (Id != 0) hash ^= Id.GetHashCode();
|
||||
if (RewardIndex != 0) hash ^= RewardIndex.GetHashCode();
|
||||
if (_unknownFields != null) {
|
||||
hash ^= _unknownFields.GetHashCode();
|
||||
}
|
||||
return hash;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override string ToString() {
|
||||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void WriteTo(pb::CodedOutputStream output) {
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
output.WriteRawMessage(this);
|
||||
#else
|
||||
if (Id != 0) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteUInt32(Id);
|
||||
}
|
||||
if (RewardIndex != 0) {
|
||||
output.WriteRawTag(16);
|
||||
output.WriteUInt32(RewardIndex);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
_unknownFields.WriteTo(output);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||||
if (Id != 0) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteUInt32(Id);
|
||||
}
|
||||
if (RewardIndex != 0) {
|
||||
output.WriteRawTag(16);
|
||||
output.WriteUInt32(RewardIndex);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
_unknownFields.WriteTo(ref output);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int CalculateSize() {
|
||||
int size = 0;
|
||||
if (Id != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Id);
|
||||
}
|
||||
if (RewardIndex != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RewardIndex);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(MSG_ChapterInfo other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.Id != 0) {
|
||||
Id = other.Id;
|
||||
}
|
||||
if (other.RewardIndex != 0) {
|
||||
RewardIndex = other.RewardIndex;
|
||||
}
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(pb::CodedInputStream input) {
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
input.ReadRawMessage(this);
|
||||
#else
|
||||
uint tag;
|
||||
while ((tag = input.ReadTag()) != 0) {
|
||||
switch(tag) {
|
||||
default:
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||||
break;
|
||||
case 8: {
|
||||
Id = input.ReadUInt32();
|
||||
break;
|
||||
}
|
||||
case 16: {
|
||||
RewardIndex = input.ReadUInt32();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||||
uint tag;
|
||||
while ((tag = input.ReadTag()) != 0) {
|
||||
switch(tag) {
|
||||
default:
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||||
break;
|
||||
case 8: {
|
||||
Id = input.ReadUInt32();
|
||||
break;
|
||||
}
|
||||
case 16: {
|
||||
RewardIndex = input.ReadUInt32();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// game --> client 关卡数据
|
||||
/// </summary>
|
||||
|
|
@ -5994,7 +6223,7 @@ namespace NLDPB {
|
|||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[24]; }
|
||||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[25]; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
|
|
@ -6018,6 +6247,7 @@ namespace NLDPB {
|
|||
lastEnterId_ = other.lastEnterId_;
|
||||
lastEnterTime_ = other.lastEnterTime_;
|
||||
infos_ = other.infos_.Clone();
|
||||
chapters_ = other.chapters_.Clone();
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
|
|
@ -6074,6 +6304,17 @@ namespace NLDPB {
|
|||
get { return infos_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "chapters" field.</summary>
|
||||
public const int ChaptersFieldNumber = 5;
|
||||
private static readonly pb::FieldCodec<global::NLDPB.MSG_ChapterInfo> _repeated_chapters_codec
|
||||
= pb::FieldCodec.ForMessage(42, global::NLDPB.MSG_ChapterInfo.Parser);
|
||||
private readonly pbc::RepeatedField<global::NLDPB.MSG_ChapterInfo> chapters_ = new pbc::RepeatedField<global::NLDPB.MSG_ChapterInfo>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<global::NLDPB.MSG_ChapterInfo> Chapters {
|
||||
get { return chapters_; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
|
|
@ -6093,6 +6334,7 @@ namespace NLDPB {
|
|||
if (LastEnterId != other.LastEnterId) return false;
|
||||
if (LastEnterTime != other.LastEnterTime) return false;
|
||||
if(!infos_.Equals(other.infos_)) return false;
|
||||
if(!chapters_.Equals(other.chapters_)) return false;
|
||||
return Equals(_unknownFields, other._unknownFields);
|
||||
}
|
||||
|
||||
|
|
@ -6104,6 +6346,7 @@ namespace NLDPB {
|
|||
if (LastEnterId != 0) hash ^= LastEnterId.GetHashCode();
|
||||
if (LastEnterTime != 0) hash ^= LastEnterTime.GetHashCode();
|
||||
hash ^= infos_.GetHashCode();
|
||||
hash ^= chapters_.GetHashCode();
|
||||
if (_unknownFields != null) {
|
||||
hash ^= _unknownFields.GetHashCode();
|
||||
}
|
||||
|
|
@ -6135,6 +6378,7 @@ namespace NLDPB {
|
|||
output.WriteUInt32(LastEnterTime);
|
||||
}
|
||||
infos_.WriteTo(output, _repeated_infos_codec);
|
||||
chapters_.WriteTo(output, _repeated_chapters_codec);
|
||||
if (_unknownFields != null) {
|
||||
_unknownFields.WriteTo(output);
|
||||
}
|
||||
|
|
@ -6158,6 +6402,7 @@ namespace NLDPB {
|
|||
output.WriteUInt32(LastEnterTime);
|
||||
}
|
||||
infos_.WriteTo(ref output, _repeated_infos_codec);
|
||||
chapters_.WriteTo(ref output, _repeated_chapters_codec);
|
||||
if (_unknownFields != null) {
|
||||
_unknownFields.WriteTo(ref output);
|
||||
}
|
||||
|
|
@ -6178,6 +6423,7 @@ namespace NLDPB {
|
|||
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(LastEnterTime);
|
||||
}
|
||||
size += infos_.CalculateSize(_repeated_infos_codec);
|
||||
size += chapters_.CalculateSize(_repeated_chapters_codec);
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
|
|
@ -6200,6 +6446,7 @@ namespace NLDPB {
|
|||
LastEnterTime = other.LastEnterTime;
|
||||
}
|
||||
infos_.Add(other.infos_);
|
||||
chapters_.Add(other.chapters_);
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||||
}
|
||||
|
||||
|
|
@ -6231,6 +6478,10 @@ namespace NLDPB {
|
|||
infos_.AddEntriesFrom(input, _repeated_infos_codec);
|
||||
break;
|
||||
}
|
||||
case 42: {
|
||||
chapters_.AddEntriesFrom(input, _repeated_chapters_codec);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
|
@ -6262,6 +6513,10 @@ namespace NLDPB {
|
|||
infos_.AddEntriesFrom(ref input, _repeated_infos_codec);
|
||||
break;
|
||||
}
|
||||
case 42: {
|
||||
chapters_.AddEntriesFrom(ref input, _repeated_chapters_codec);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -6286,7 +6541,7 @@ namespace NLDPB {
|
|||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[25]; }
|
||||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[26]; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
|
|
@ -6515,7 +6770,7 @@ namespace NLDPB {
|
|||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[26]; }
|
||||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[27]; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
|
|
@ -6750,7 +7005,7 @@ namespace NLDPB {
|
|||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[27]; }
|
||||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[28]; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
|
|
@ -6905,7 +7160,7 @@ namespace NLDPB {
|
|||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[28]; }
|
||||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[29]; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
|
|
@ -7100,7 +7355,7 @@ namespace NLDPB {
|
|||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[29]; }
|
||||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[30]; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
|
|
@ -7326,7 +7581,7 @@ namespace NLDPB {
|
|||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[30]; }
|
||||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[31]; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
|
|
@ -7663,7 +7918,7 @@ namespace NLDPB {
|
|||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[31]; }
|
||||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[32]; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
|
|
@ -7895,7 +8150,7 @@ namespace NLDPB {
|
|||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[32]; }
|
||||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[33]; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
|
|
@ -8127,7 +8382,7 @@ namespace NLDPB {
|
|||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[33]; }
|
||||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[34]; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
|
|
@ -8458,7 +8713,7 @@ namespace NLDPB {
|
|||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[34]; }
|
||||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[35]; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
|
|
@ -8676,7 +8931,7 @@ namespace NLDPB {
|
|||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[35]; }
|
||||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[36]; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
|
|
@ -9007,7 +9262,7 @@ namespace NLDPB {
|
|||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[36]; }
|
||||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[37]; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
|
|
@ -9236,7 +9491,7 @@ namespace NLDPB {
|
|||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[37]; }
|
||||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[38]; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
|
|
@ -9391,7 +9646,7 @@ namespace NLDPB {
|
|||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[38]; }
|
||||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[39]; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
|
|
@ -9583,7 +9838,7 @@ namespace NLDPB {
|
|||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[39]; }
|
||||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[40]; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
|
|
@ -9778,7 +10033,7 @@ namespace NLDPB {
|
|||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[40]; }
|
||||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[41]; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
|
|
@ -9930,7 +10185,7 @@ namespace NLDPB {
|
|||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[41]; }
|
||||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[42]; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
|
|
@ -10325,7 +10580,7 @@ namespace NLDPB {
|
|||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[42]; }
|
||||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[43]; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
|
|
@ -10506,7 +10761,7 @@ namespace NLDPB {
|
|||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[43]; }
|
||||
get { return global::NLDPB.ClientReflection.Descriptor.MessageTypes[44]; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
|
|
|
|||
Loading…
Reference in New Issue