3526 lines
123 KiB
C#
3526 lines
123 KiB
C#
|
|
// <auto-generated>
|
||
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||
|
|
// source: dof/messages.proto
|
||
|
|
// </auto-generated>
|
||
|
|
#pragma warning disable 1591, 0612, 3021, 8981
|
||
|
|
#region Designer generated code
|
||
|
|
|
||
|
|
using pb = global::Google.Protobuf;
|
||
|
|
using pbc = global::Google.Protobuf.Collections;
|
||
|
|
using pbr = global::Google.Protobuf.Reflection;
|
||
|
|
using scg = global::System.Collections.Generic;
|
||
|
|
namespace Dof {
|
||
|
|
|
||
|
|
/// <summary>Holder for reflection information generated from dof/messages.proto</summary>
|
||
|
|
public static partial class MessagesReflection {
|
||
|
|
|
||
|
|
#region Descriptor
|
||
|
|
/// <summary>File descriptor for dof/messages.proto</summary>
|
||
|
|
public static pbr::FileDescriptor Descriptor {
|
||
|
|
get { return descriptor; }
|
||
|
|
}
|
||
|
|
private static pbr::FileDescriptor descriptor;
|
||
|
|
|
||
|
|
static MessagesReflection() {
|
||
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||
|
|
string.Concat(
|
||
|
|
"ChJkb2YvbWVzc2FnZXMucHJvdG8SA2RvZiIkChBDbGllbnRJbml0aWFsaXpl",
|
||
|
|
"EhAKA2NpZBgBIAEoA1IDY2lkIt4CCg1DbGllbnRNZXNzYWdlEjUKDHBsYXll",
|
||
|
|
"cl9lbnRlchgBIAEoCzIQLmRvZi5QbGF5ZXJFbnRlckgAUgtwbGF5ZXJFbnRl",
|
||
|
|
"chI7Cg5sZXZlbF9wcmVwYXJlZBgCIAEoCzISLmRvZi5MZXZlbFByZXBhcmVk",
|
||
|
|
"SABSDWxldmVsUHJlcGFyZWQSMgoLcG9pbnRfZm91bmQYAyABKAsyDy5kb2Yu",
|
||
|
|
"UG9pbnRGb3VuZEgAUgpwb2ludEZvdW5kEiwKCWxldmVsX2VuZBgEIAEoCzIN",
|
||
|
|
"LmRvZi5MZXZlbEVuZEgAUghsZXZlbEVuZBI2Cg1hbGxfbGV2ZWxfZW5kGAUg",
|
||
|
|
"ASgLMhAuZG9mLkFsbExldmVsRW5kSABSC2FsbExldmVsRW5kEjUKDHBsYXll",
|
||
|
|
"cl9sZWF2ZRgGIAEoCzIQLmRvZi5QbGF5ZXJMZWF2ZUgAUgtwbGF5ZXJMZWF2",
|
||
|
|
"ZUIICgZhY3R1YWwi5gEKDVNlcnZlck1lc3NhZ2USLwoKZ2FtZV9zdGFydBgB",
|
||
|
|
"IAEoCzIOLmRvZi5HYW1lU3RhcnRIAFIJZ2FtZVN0YXJ0EjIKC2xldmVsX3N0",
|
||
|
|
"YXJ0GAIgASgLMg8uZG9mLkxldmVsU3RhcnRIAFIKbGV2ZWxTdGFydBIyCgtw",
|
||
|
|
"b2ludF9mb3VuZBgDIAEoCzIPLmRvZi5Qb2ludEZvdW5kSABSCnBvaW50Rm91",
|
||
|
|
"bmQSMgoLZ2FtZV9maW5pc2gYBCABKAsyDy5kb2YuR2FtZUZpbmlzaEgAUgpn",
|
||
|
|
"YW1lRmluaXNoQggKBmFjdHVhbCJvCgtQbGF5ZXJFbnRlchIXCgdyb29tX2lk",
|
||
|
|
"GAEgASgJUgZyb29tSWQSEAoDdWlkGAIgASgJUgN1aWQSGwoJbmlja19uYW1l",
|
||
|
|
"GAMgASgJUghuaWNrTmFtZRIYCgdjb3VudHJ5GAQgASgJUgdjb3VudHJ5IiUK",
|
||
|
|
"DUxldmVsUmVzb3VyY2USFAoFbGV2ZWwYASABKAlSBWxldmVsIkYKCUdhbWVT",
|
||
|
|
"dGFydBI5Cg5sZXZlbF9yZXNvdXJjZRgBIAMoCzISLmRvZi5MZXZlbFJlc291",
|
||
|
|
"cmNlUg1sZXZlbFJlc291cmNlIjcKDUxldmVsUHJlcGFyZWQSEAoDY2lkGAEg",
|
||
|
|
"ASgDUgNjaWQSFAoFbGV2ZWwYAiABKAlSBWxldmVsIiIKCkxldmVsU3RhcnQS",
|
||
|
|
"FAoFbGV2ZWwYASABKAlSBWxldmVsIk8KClBvaW50Rm91bmQSEAoDY2lkGAEg",
|
||
|
|
"ASgDUgNjaWQSFAoFbGV2ZWwYAiABKAlSBWxldmVsEhkKCHBvaW50X2lkGAMg",
|
||
|
|
"ASgFUgdwb2ludElkIjIKCExldmVsRW5kEhAKA2NpZBgBIAEoA1IDY2lkEhQK",
|
||
|
|
"BWxldmVsGAIgASgJUgVsZXZlbCIfCgtBbGxMZXZlbEVuZBIQCgNjaWQYASAB",
|
||
|
|
"KANSA2NpZCIzCglHYW1lU2NvcmUSEAoDdWlkGAEgASgJUgN1aWQSFAoFc2Nv",
|
||
|
|
"cmUYAiABKAVSBXNjb3JlIjQKCkdhbWVGaW5pc2gSJgoGc2NvcmVzGAEgAygL",
|
||
|
|
"Mg4uZG9mLkdhbWVTY29yZVIGc2NvcmVzIh8KC1BsYXllckxlYXZlEhAKA2Np",
|
||
|
|
"ZBgBIAEoA1IDY2lkQgdaBS4vO3BiYgZwcm90bzM="));
|
||
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||
|
|
new pbr::FileDescriptor[] { },
|
||
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Dof.ClientInitialize), global::Dof.ClientInitialize.Parser, new[]{ "Cid" }, null, 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.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.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.LevelStart), global::Dof.LevelStart.Parser, new[]{ "Level" }, null, null, null, null),
|
||
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Dof.PointFound), global::Dof.PointFound.Parser, new[]{ "Cid", "Level", "PointId" }, null, null, null, null),
|
||
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Dof.LevelEnd), global::Dof.LevelEnd.Parser, new[]{ "Cid", "Level" }, null, null, null, null),
|
||
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Dof.AllLevelEnd), global::Dof.AllLevelEnd.Parser, new[]{ "Cid" }, null, null, null, null),
|
||
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Dof.GameScore), global::Dof.GameScore.Parser, new[]{ "Uid", "Score" }, null, null, null, null),
|
||
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Dof.GameFinish), global::Dof.GameFinish.Parser, new[]{ "Scores" }, null, null, null, null),
|
||
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Dof.PlayerLeave), global::Dof.PlayerLeave.Parser, new[]{ "Cid" }, null, null, null, null)
|
||
|
|
}));
|
||
|
|
}
|
||
|
|
#endregion
|
||
|
|
|
||
|
|
}
|
||
|
|
#region Messages
|
||
|
|
/// <summary>
|
||
|
|
/// ClientInitialize 服务端接收到 PlayerEnter 消息后发还给客户端的回执
|
||
|
|
/// </summary>
|
||
|
|
public sealed partial class ClientInitialize : pb::IMessage<ClientInitialize>
|
||
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
|
|
, pb::IBufferMessage
|
||
|
|
#endif
|
||
|
|
{
|
||
|
|
private static readonly pb::MessageParser<ClientInitialize> _parser = new pb::MessageParser<ClientInitialize>(() => new ClientInitialize());
|
||
|
|
private pb::UnknownFieldSet _unknownFields;
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public static pb::MessageParser<ClientInitialize> Parser { get { return _parser; } }
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public static pbr::MessageDescriptor Descriptor {
|
||
|
|
get { return global::Dof.MessagesReflection.Descriptor.MessageTypes[0]; }
|
||
|
|
}
|
||
|
|
|
||
|
|
[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 ClientInitialize() {
|
||
|
|
OnConstruction();
|
||
|
|
}
|
||
|
|
|
||
|
|
partial void OnConstruction();
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public ClientInitialize(ClientInitialize other) : this() {
|
||
|
|
cid_ = other.cid_;
|
||
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
|
|
}
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public ClientInitialize Clone() {
|
||
|
|
return new ClientInitialize(this);
|
||
|
|
}
|
||
|
|
|
||
|
|
/// <summary>Field number for the "cid" field.</summary>
|
||
|
|
public const int CidFieldNumber = 1;
|
||
|
|
private long cid_;
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public long Cid {
|
||
|
|
get { return cid_; }
|
||
|
|
set {
|
||
|
|
cid_ = value;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public override bool Equals(object other) {
|
||
|
|
return Equals(other as ClientInitialize);
|
||
|
|
}
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public bool Equals(ClientInitialize other) {
|
||
|
|
if (ReferenceEquals(other, null)) {
|
||
|
|
return false;
|
||
|
|
}
|
||
|
|
if (ReferenceEquals(other, this)) {
|
||
|
|
return true;
|
||
|
|
}
|
||
|
|
if (Cid != other.Cid) 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 (Cid != 0L) hash ^= Cid.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 (Cid != 0L) {
|
||
|
|
output.WriteRawTag(8);
|
||
|
|
output.WriteInt64(Cid);
|
||
|
|
}
|
||
|
|
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 (Cid != 0L) {
|
||
|
|
output.WriteRawTag(8);
|
||
|
|
output.WriteInt64(Cid);
|
||
|
|
}
|
||
|
|
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 (Cid != 0L) {
|
||
|
|
size += 1 + pb::CodedOutputStream.ComputeInt64Size(Cid);
|
||
|
|
}
|
||
|
|
if (_unknownFields != null) {
|
||
|
|
size += _unknownFields.CalculateSize();
|
||
|
|
}
|
||
|
|
return size;
|
||
|
|
}
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public void MergeFrom(ClientInitialize other) {
|
||
|
|
if (other == null) {
|
||
|
|
return;
|
||
|
|
}
|
||
|
|
if (other.Cid != 0L) {
|
||
|
|
Cid = other.Cid;
|
||
|
|
}
|
||
|
|
_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: {
|
||
|
|
Cid = input.ReadInt64();
|
||
|
|
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: {
|
||
|
|
Cid = input.ReadInt64();
|
||
|
|
break;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
#endif
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// ClientMessage 客户端发送给服务端的消息类型
|
||
|
|
/// </summary>
|
||
|
|
public sealed partial class ClientMessage : pb::IMessage<ClientMessage>
|
||
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
|
|
, pb::IBufferMessage
|
||
|
|
#endif
|
||
|
|
{
|
||
|
|
private static readonly pb::MessageParser<ClientMessage> _parser = new pb::MessageParser<ClientMessage>(() => new ClientMessage());
|
||
|
|
private pb::UnknownFieldSet _unknownFields;
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public static pb::MessageParser<ClientMessage> Parser { get { return _parser; } }
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public static pbr::MessageDescriptor Descriptor {
|
||
|
|
get { return global::Dof.MessagesReflection.Descriptor.MessageTypes[1]; }
|
||
|
|
}
|
||
|
|
|
||
|
|
[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 ClientMessage() {
|
||
|
|
OnConstruction();
|
||
|
|
}
|
||
|
|
|
||
|
|
partial void OnConstruction();
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public ClientMessage(ClientMessage other) : this() {
|
||
|
|
switch (other.ActualCase) {
|
||
|
|
case ActualOneofCase.PlayerEnter:
|
||
|
|
PlayerEnter = other.PlayerEnter.Clone();
|
||
|
|
break;
|
||
|
|
case ActualOneofCase.LevelPrepared:
|
||
|
|
LevelPrepared = other.LevelPrepared.Clone();
|
||
|
|
break;
|
||
|
|
case ActualOneofCase.PointFound:
|
||
|
|
PointFound = other.PointFound.Clone();
|
||
|
|
break;
|
||
|
|
case ActualOneofCase.LevelEnd:
|
||
|
|
LevelEnd = other.LevelEnd.Clone();
|
||
|
|
break;
|
||
|
|
case ActualOneofCase.AllLevelEnd:
|
||
|
|
AllLevelEnd = other.AllLevelEnd.Clone();
|
||
|
|
break;
|
||
|
|
case ActualOneofCase.PlayerLeave:
|
||
|
|
PlayerLeave = other.PlayerLeave.Clone();
|
||
|
|
break;
|
||
|
|
}
|
||
|
|
|
||
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
|
|
}
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public ClientMessage Clone() {
|
||
|
|
return new ClientMessage(this);
|
||
|
|
}
|
||
|
|
|
||
|
|
/// <summary>Field number for the "player_enter" field.</summary>
|
||
|
|
public const int PlayerEnterFieldNumber = 1;
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public global::Dof.PlayerEnter PlayerEnter {
|
||
|
|
get { return actualCase_ == ActualOneofCase.PlayerEnter ? (global::Dof.PlayerEnter) actual_ : null; }
|
||
|
|
set {
|
||
|
|
actual_ = value;
|
||
|
|
actualCase_ = value == null ? ActualOneofCase.None : ActualOneofCase.PlayerEnter;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
/// <summary>Field number for the "level_prepared" field.</summary>
|
||
|
|
public const int LevelPreparedFieldNumber = 2;
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public global::Dof.LevelPrepared LevelPrepared {
|
||
|
|
get { return actualCase_ == ActualOneofCase.LevelPrepared ? (global::Dof.LevelPrepared) actual_ : null; }
|
||
|
|
set {
|
||
|
|
actual_ = value;
|
||
|
|
actualCase_ = value == null ? ActualOneofCase.None : ActualOneofCase.LevelPrepared;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
/// <summary>Field number for the "point_found" field.</summary>
|
||
|
|
public const int PointFoundFieldNumber = 3;
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public global::Dof.PointFound PointFound {
|
||
|
|
get { return actualCase_ == ActualOneofCase.PointFound ? (global::Dof.PointFound) actual_ : null; }
|
||
|
|
set {
|
||
|
|
actual_ = value;
|
||
|
|
actualCase_ = value == null ? ActualOneofCase.None : ActualOneofCase.PointFound;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
/// <summary>Field number for the "level_end" field.</summary>
|
||
|
|
public const int LevelEndFieldNumber = 4;
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public global::Dof.LevelEnd LevelEnd {
|
||
|
|
get { return actualCase_ == ActualOneofCase.LevelEnd ? (global::Dof.LevelEnd) actual_ : null; }
|
||
|
|
set {
|
||
|
|
actual_ = value;
|
||
|
|
actualCase_ = value == null ? ActualOneofCase.None : ActualOneofCase.LevelEnd;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
/// <summary>Field number for the "all_level_end" field.</summary>
|
||
|
|
public const int AllLevelEndFieldNumber = 5;
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public global::Dof.AllLevelEnd AllLevelEnd {
|
||
|
|
get { return actualCase_ == ActualOneofCase.AllLevelEnd ? (global::Dof.AllLevelEnd) actual_ : null; }
|
||
|
|
set {
|
||
|
|
actual_ = value;
|
||
|
|
actualCase_ = value == null ? ActualOneofCase.None : ActualOneofCase.AllLevelEnd;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
/// <summary>Field number for the "player_leave" field.</summary>
|
||
|
|
public const int PlayerLeaveFieldNumber = 6;
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public global::Dof.PlayerLeave PlayerLeave {
|
||
|
|
get { return actualCase_ == ActualOneofCase.PlayerLeave ? (global::Dof.PlayerLeave) actual_ : null; }
|
||
|
|
set {
|
||
|
|
actual_ = value;
|
||
|
|
actualCase_ = value == null ? ActualOneofCase.None : ActualOneofCase.PlayerLeave;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private object actual_;
|
||
|
|
/// <summary>Enum of possible cases for the "actual" oneof.</summary>
|
||
|
|
public enum ActualOneofCase {
|
||
|
|
None = 0,
|
||
|
|
PlayerEnter = 1,
|
||
|
|
LevelPrepared = 2,
|
||
|
|
PointFound = 3,
|
||
|
|
LevelEnd = 4,
|
||
|
|
AllLevelEnd = 5,
|
||
|
|
PlayerLeave = 6,
|
||
|
|
}
|
||
|
|
private ActualOneofCase actualCase_ = ActualOneofCase.None;
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public ActualOneofCase ActualCase {
|
||
|
|
get { return actualCase_; }
|
||
|
|
}
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public void ClearActual() {
|
||
|
|
actualCase_ = ActualOneofCase.None;
|
||
|
|
actual_ = null;
|
||
|
|
}
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public override bool Equals(object other) {
|
||
|
|
return Equals(other as ClientMessage);
|
||
|
|
}
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public bool Equals(ClientMessage other) {
|
||
|
|
if (ReferenceEquals(other, null)) {
|
||
|
|
return false;
|
||
|
|
}
|
||
|
|
if (ReferenceEquals(other, this)) {
|
||
|
|
return true;
|
||
|
|
}
|
||
|
|
if (!object.Equals(PlayerEnter, other.PlayerEnter)) return false;
|
||
|
|
if (!object.Equals(LevelPrepared, other.LevelPrepared)) return false;
|
||
|
|
if (!object.Equals(PointFound, other.PointFound)) return false;
|
||
|
|
if (!object.Equals(LevelEnd, other.LevelEnd)) return false;
|
||
|
|
if (!object.Equals(AllLevelEnd, other.AllLevelEnd)) return false;
|
||
|
|
if (!object.Equals(PlayerLeave, other.PlayerLeave)) return false;
|
||
|
|
if (ActualCase != other.ActualCase) 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 (actualCase_ == ActualOneofCase.PlayerEnter) hash ^= PlayerEnter.GetHashCode();
|
||
|
|
if (actualCase_ == ActualOneofCase.LevelPrepared) hash ^= LevelPrepared.GetHashCode();
|
||
|
|
if (actualCase_ == ActualOneofCase.PointFound) hash ^= PointFound.GetHashCode();
|
||
|
|
if (actualCase_ == ActualOneofCase.LevelEnd) hash ^= LevelEnd.GetHashCode();
|
||
|
|
if (actualCase_ == ActualOneofCase.AllLevelEnd) hash ^= AllLevelEnd.GetHashCode();
|
||
|
|
if (actualCase_ == ActualOneofCase.PlayerLeave) hash ^= PlayerLeave.GetHashCode();
|
||
|
|
hash ^= (int) actualCase_;
|
||
|
|
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 (actualCase_ == ActualOneofCase.PlayerEnter) {
|
||
|
|
output.WriteRawTag(10);
|
||
|
|
output.WriteMessage(PlayerEnter);
|
||
|
|
}
|
||
|
|
if (actualCase_ == ActualOneofCase.LevelPrepared) {
|
||
|
|
output.WriteRawTag(18);
|
||
|
|
output.WriteMessage(LevelPrepared);
|
||
|
|
}
|
||
|
|
if (actualCase_ == ActualOneofCase.PointFound) {
|
||
|
|
output.WriteRawTag(26);
|
||
|
|
output.WriteMessage(PointFound);
|
||
|
|
}
|
||
|
|
if (actualCase_ == ActualOneofCase.LevelEnd) {
|
||
|
|
output.WriteRawTag(34);
|
||
|
|
output.WriteMessage(LevelEnd);
|
||
|
|
}
|
||
|
|
if (actualCase_ == ActualOneofCase.AllLevelEnd) {
|
||
|
|
output.WriteRawTag(42);
|
||
|
|
output.WriteMessage(AllLevelEnd);
|
||
|
|
}
|
||
|
|
if (actualCase_ == ActualOneofCase.PlayerLeave) {
|
||
|
|
output.WriteRawTag(50);
|
||
|
|
output.WriteMessage(PlayerLeave);
|
||
|
|
}
|
||
|
|
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 (actualCase_ == ActualOneofCase.PlayerEnter) {
|
||
|
|
output.WriteRawTag(10);
|
||
|
|
output.WriteMessage(PlayerEnter);
|
||
|
|
}
|
||
|
|
if (actualCase_ == ActualOneofCase.LevelPrepared) {
|
||
|
|
output.WriteRawTag(18);
|
||
|
|
output.WriteMessage(LevelPrepared);
|
||
|
|
}
|
||
|
|
if (actualCase_ == ActualOneofCase.PointFound) {
|
||
|
|
output.WriteRawTag(26);
|
||
|
|
output.WriteMessage(PointFound);
|
||
|
|
}
|
||
|
|
if (actualCase_ == ActualOneofCase.LevelEnd) {
|
||
|
|
output.WriteRawTag(34);
|
||
|
|
output.WriteMessage(LevelEnd);
|
||
|
|
}
|
||
|
|
if (actualCase_ == ActualOneofCase.AllLevelEnd) {
|
||
|
|
output.WriteRawTag(42);
|
||
|
|
output.WriteMessage(AllLevelEnd);
|
||
|
|
}
|
||
|
|
if (actualCase_ == ActualOneofCase.PlayerLeave) {
|
||
|
|
output.WriteRawTag(50);
|
||
|
|
output.WriteMessage(PlayerLeave);
|
||
|
|
}
|
||
|
|
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 (actualCase_ == ActualOneofCase.PlayerEnter) {
|
||
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(PlayerEnter);
|
||
|
|
}
|
||
|
|
if (actualCase_ == ActualOneofCase.LevelPrepared) {
|
||
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(LevelPrepared);
|
||
|
|
}
|
||
|
|
if (actualCase_ == ActualOneofCase.PointFound) {
|
||
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(PointFound);
|
||
|
|
}
|
||
|
|
if (actualCase_ == ActualOneofCase.LevelEnd) {
|
||
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(LevelEnd);
|
||
|
|
}
|
||
|
|
if (actualCase_ == ActualOneofCase.AllLevelEnd) {
|
||
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AllLevelEnd);
|
||
|
|
}
|
||
|
|
if (actualCase_ == ActualOneofCase.PlayerLeave) {
|
||
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(PlayerLeave);
|
||
|
|
}
|
||
|
|
if (_unknownFields != null) {
|
||
|
|
size += _unknownFields.CalculateSize();
|
||
|
|
}
|
||
|
|
return size;
|
||
|
|
}
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public void MergeFrom(ClientMessage other) {
|
||
|
|
if (other == null) {
|
||
|
|
return;
|
||
|
|
}
|
||
|
|
switch (other.ActualCase) {
|
||
|
|
case ActualOneofCase.PlayerEnter:
|
||
|
|
if (PlayerEnter == null) {
|
||
|
|
PlayerEnter = new global::Dof.PlayerEnter();
|
||
|
|
}
|
||
|
|
PlayerEnter.MergeFrom(other.PlayerEnter);
|
||
|
|
break;
|
||
|
|
case ActualOneofCase.LevelPrepared:
|
||
|
|
if (LevelPrepared == null) {
|
||
|
|
LevelPrepared = new global::Dof.LevelPrepared();
|
||
|
|
}
|
||
|
|
LevelPrepared.MergeFrom(other.LevelPrepared);
|
||
|
|
break;
|
||
|
|
case ActualOneofCase.PointFound:
|
||
|
|
if (PointFound == null) {
|
||
|
|
PointFound = new global::Dof.PointFound();
|
||
|
|
}
|
||
|
|
PointFound.MergeFrom(other.PointFound);
|
||
|
|
break;
|
||
|
|
case ActualOneofCase.LevelEnd:
|
||
|
|
if (LevelEnd == null) {
|
||
|
|
LevelEnd = new global::Dof.LevelEnd();
|
||
|
|
}
|
||
|
|
LevelEnd.MergeFrom(other.LevelEnd);
|
||
|
|
break;
|
||
|
|
case ActualOneofCase.AllLevelEnd:
|
||
|
|
if (AllLevelEnd == null) {
|
||
|
|
AllLevelEnd = new global::Dof.AllLevelEnd();
|
||
|
|
}
|
||
|
|
AllLevelEnd.MergeFrom(other.AllLevelEnd);
|
||
|
|
break;
|
||
|
|
case ActualOneofCase.PlayerLeave:
|
||
|
|
if (PlayerLeave == null) {
|
||
|
|
PlayerLeave = new global::Dof.PlayerLeave();
|
||
|
|
}
|
||
|
|
PlayerLeave.MergeFrom(other.PlayerLeave);
|
||
|
|
break;
|
||
|
|
}
|
||
|
|
|
||
|
|
_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 10: {
|
||
|
|
global::Dof.PlayerEnter subBuilder = new global::Dof.PlayerEnter();
|
||
|
|
if (actualCase_ == ActualOneofCase.PlayerEnter) {
|
||
|
|
subBuilder.MergeFrom(PlayerEnter);
|
||
|
|
}
|
||
|
|
input.ReadMessage(subBuilder);
|
||
|
|
PlayerEnter = subBuilder;
|
||
|
|
break;
|
||
|
|
}
|
||
|
|
case 18: {
|
||
|
|
global::Dof.LevelPrepared subBuilder = new global::Dof.LevelPrepared();
|
||
|
|
if (actualCase_ == ActualOneofCase.LevelPrepared) {
|
||
|
|
subBuilder.MergeFrom(LevelPrepared);
|
||
|
|
}
|
||
|
|
input.ReadMessage(subBuilder);
|
||
|
|
LevelPrepared = subBuilder;
|
||
|
|
break;
|
||
|
|
}
|
||
|
|
case 26: {
|
||
|
|
global::Dof.PointFound subBuilder = new global::Dof.PointFound();
|
||
|
|
if (actualCase_ == ActualOneofCase.PointFound) {
|
||
|
|
subBuilder.MergeFrom(PointFound);
|
||
|
|
}
|
||
|
|
input.ReadMessage(subBuilder);
|
||
|
|
PointFound = subBuilder;
|
||
|
|
break;
|
||
|
|
}
|
||
|
|
case 34: {
|
||
|
|
global::Dof.LevelEnd subBuilder = new global::Dof.LevelEnd();
|
||
|
|
if (actualCase_ == ActualOneofCase.LevelEnd) {
|
||
|
|
subBuilder.MergeFrom(LevelEnd);
|
||
|
|
}
|
||
|
|
input.ReadMessage(subBuilder);
|
||
|
|
LevelEnd = subBuilder;
|
||
|
|
break;
|
||
|
|
}
|
||
|
|
case 42: {
|
||
|
|
global::Dof.AllLevelEnd subBuilder = new global::Dof.AllLevelEnd();
|
||
|
|
if (actualCase_ == ActualOneofCase.AllLevelEnd) {
|
||
|
|
subBuilder.MergeFrom(AllLevelEnd);
|
||
|
|
}
|
||
|
|
input.ReadMessage(subBuilder);
|
||
|
|
AllLevelEnd = subBuilder;
|
||
|
|
break;
|
||
|
|
}
|
||
|
|
case 50: {
|
||
|
|
global::Dof.PlayerLeave subBuilder = new global::Dof.PlayerLeave();
|
||
|
|
if (actualCase_ == ActualOneofCase.PlayerLeave) {
|
||
|
|
subBuilder.MergeFrom(PlayerLeave);
|
||
|
|
}
|
||
|
|
input.ReadMessage(subBuilder);
|
||
|
|
PlayerLeave = subBuilder;
|
||
|
|
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 10: {
|
||
|
|
global::Dof.PlayerEnter subBuilder = new global::Dof.PlayerEnter();
|
||
|
|
if (actualCase_ == ActualOneofCase.PlayerEnter) {
|
||
|
|
subBuilder.MergeFrom(PlayerEnter);
|
||
|
|
}
|
||
|
|
input.ReadMessage(subBuilder);
|
||
|
|
PlayerEnter = subBuilder;
|
||
|
|
break;
|
||
|
|
}
|
||
|
|
case 18: {
|
||
|
|
global::Dof.LevelPrepared subBuilder = new global::Dof.LevelPrepared();
|
||
|
|
if (actualCase_ == ActualOneofCase.LevelPrepared) {
|
||
|
|
subBuilder.MergeFrom(LevelPrepared);
|
||
|
|
}
|
||
|
|
input.ReadMessage(subBuilder);
|
||
|
|
LevelPrepared = subBuilder;
|
||
|
|
break;
|
||
|
|
}
|
||
|
|
case 26: {
|
||
|
|
global::Dof.PointFound subBuilder = new global::Dof.PointFound();
|
||
|
|
if (actualCase_ == ActualOneofCase.PointFound) {
|
||
|
|
subBuilder.MergeFrom(PointFound);
|
||
|
|
}
|
||
|
|
input.ReadMessage(subBuilder);
|
||
|
|
PointFound = subBuilder;
|
||
|
|
break;
|
||
|
|
}
|
||
|
|
case 34: {
|
||
|
|
global::Dof.LevelEnd subBuilder = new global::Dof.LevelEnd();
|
||
|
|
if (actualCase_ == ActualOneofCase.LevelEnd) {
|
||
|
|
subBuilder.MergeFrom(LevelEnd);
|
||
|
|
}
|
||
|
|
input.ReadMessage(subBuilder);
|
||
|
|
LevelEnd = subBuilder;
|
||
|
|
break;
|
||
|
|
}
|
||
|
|
case 42: {
|
||
|
|
global::Dof.AllLevelEnd subBuilder = new global::Dof.AllLevelEnd();
|
||
|
|
if (actualCase_ == ActualOneofCase.AllLevelEnd) {
|
||
|
|
subBuilder.MergeFrom(AllLevelEnd);
|
||
|
|
}
|
||
|
|
input.ReadMessage(subBuilder);
|
||
|
|
AllLevelEnd = subBuilder;
|
||
|
|
break;
|
||
|
|
}
|
||
|
|
case 50: {
|
||
|
|
global::Dof.PlayerLeave subBuilder = new global::Dof.PlayerLeave();
|
||
|
|
if (actualCase_ == ActualOneofCase.PlayerLeave) {
|
||
|
|
subBuilder.MergeFrom(PlayerLeave);
|
||
|
|
}
|
||
|
|
input.ReadMessage(subBuilder);
|
||
|
|
PlayerLeave = subBuilder;
|
||
|
|
break;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
#endif
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// ServerMessage 服务端发送给客户端的消息类型
|
||
|
|
/// </summary>
|
||
|
|
public sealed partial class ServerMessage : pb::IMessage<ServerMessage>
|
||
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
|
|
, pb::IBufferMessage
|
||
|
|
#endif
|
||
|
|
{
|
||
|
|
private static readonly pb::MessageParser<ServerMessage> _parser = new pb::MessageParser<ServerMessage>(() => new ServerMessage());
|
||
|
|
private pb::UnknownFieldSet _unknownFields;
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public static pb::MessageParser<ServerMessage> Parser { get { return _parser; } }
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public static pbr::MessageDescriptor Descriptor {
|
||
|
|
get { return global::Dof.MessagesReflection.Descriptor.MessageTypes[2]; }
|
||
|
|
}
|
||
|
|
|
||
|
|
[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 ServerMessage() {
|
||
|
|
OnConstruction();
|
||
|
|
}
|
||
|
|
|
||
|
|
partial void OnConstruction();
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public ServerMessage(ServerMessage other) : this() {
|
||
|
|
switch (other.ActualCase) {
|
||
|
|
case ActualOneofCase.GameStart:
|
||
|
|
GameStart = other.GameStart.Clone();
|
||
|
|
break;
|
||
|
|
case ActualOneofCase.LevelStart:
|
||
|
|
LevelStart = other.LevelStart.Clone();
|
||
|
|
break;
|
||
|
|
case ActualOneofCase.PointFound:
|
||
|
|
PointFound = other.PointFound.Clone();
|
||
|
|
break;
|
||
|
|
case ActualOneofCase.GameFinish:
|
||
|
|
GameFinish = other.GameFinish.Clone();
|
||
|
|
break;
|
||
|
|
}
|
||
|
|
|
||
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
|
|
}
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public ServerMessage Clone() {
|
||
|
|
return new ServerMessage(this);
|
||
|
|
}
|
||
|
|
|
||
|
|
/// <summary>Field number for the "game_start" field.</summary>
|
||
|
|
public const int GameStartFieldNumber = 1;
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public global::Dof.GameStart GameStart {
|
||
|
|
get { return actualCase_ == ActualOneofCase.GameStart ? (global::Dof.GameStart) actual_ : null; }
|
||
|
|
set {
|
||
|
|
actual_ = value;
|
||
|
|
actualCase_ = value == null ? ActualOneofCase.None : ActualOneofCase.GameStart;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
/// <summary>Field number for the "level_start" field.</summary>
|
||
|
|
public const int LevelStartFieldNumber = 2;
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public global::Dof.LevelStart LevelStart {
|
||
|
|
get { return actualCase_ == ActualOneofCase.LevelStart ? (global::Dof.LevelStart) actual_ : null; }
|
||
|
|
set {
|
||
|
|
actual_ = value;
|
||
|
|
actualCase_ = value == null ? ActualOneofCase.None : ActualOneofCase.LevelStart;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
/// <summary>Field number for the "point_found" field.</summary>
|
||
|
|
public const int PointFoundFieldNumber = 3;
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public global::Dof.PointFound PointFound {
|
||
|
|
get { return actualCase_ == ActualOneofCase.PointFound ? (global::Dof.PointFound) actual_ : null; }
|
||
|
|
set {
|
||
|
|
actual_ = value;
|
||
|
|
actualCase_ = value == null ? ActualOneofCase.None : ActualOneofCase.PointFound;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
/// <summary>Field number for the "game_finish" field.</summary>
|
||
|
|
public const int GameFinishFieldNumber = 4;
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public global::Dof.GameFinish GameFinish {
|
||
|
|
get { return actualCase_ == ActualOneofCase.GameFinish ? (global::Dof.GameFinish) actual_ : null; }
|
||
|
|
set {
|
||
|
|
actual_ = value;
|
||
|
|
actualCase_ = value == null ? ActualOneofCase.None : ActualOneofCase.GameFinish;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
private object actual_;
|
||
|
|
/// <summary>Enum of possible cases for the "actual" oneof.</summary>
|
||
|
|
public enum ActualOneofCase {
|
||
|
|
None = 0,
|
||
|
|
GameStart = 1,
|
||
|
|
LevelStart = 2,
|
||
|
|
PointFound = 3,
|
||
|
|
GameFinish = 4,
|
||
|
|
}
|
||
|
|
private ActualOneofCase actualCase_ = ActualOneofCase.None;
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public ActualOneofCase ActualCase {
|
||
|
|
get { return actualCase_; }
|
||
|
|
}
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public void ClearActual() {
|
||
|
|
actualCase_ = ActualOneofCase.None;
|
||
|
|
actual_ = null;
|
||
|
|
}
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public override bool Equals(object other) {
|
||
|
|
return Equals(other as ServerMessage);
|
||
|
|
}
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public bool Equals(ServerMessage other) {
|
||
|
|
if (ReferenceEquals(other, null)) {
|
||
|
|
return false;
|
||
|
|
}
|
||
|
|
if (ReferenceEquals(other, this)) {
|
||
|
|
return true;
|
||
|
|
}
|
||
|
|
if (!object.Equals(GameStart, other.GameStart)) return false;
|
||
|
|
if (!object.Equals(LevelStart, other.LevelStart)) return false;
|
||
|
|
if (!object.Equals(PointFound, other.PointFound)) return false;
|
||
|
|
if (!object.Equals(GameFinish, other.GameFinish)) return false;
|
||
|
|
if (ActualCase != other.ActualCase) 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 (actualCase_ == ActualOneofCase.GameStart) hash ^= GameStart.GetHashCode();
|
||
|
|
if (actualCase_ == ActualOneofCase.LevelStart) hash ^= LevelStart.GetHashCode();
|
||
|
|
if (actualCase_ == ActualOneofCase.PointFound) hash ^= PointFound.GetHashCode();
|
||
|
|
if (actualCase_ == ActualOneofCase.GameFinish) hash ^= GameFinish.GetHashCode();
|
||
|
|
hash ^= (int) actualCase_;
|
||
|
|
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 (actualCase_ == ActualOneofCase.GameStart) {
|
||
|
|
output.WriteRawTag(10);
|
||
|
|
output.WriteMessage(GameStart);
|
||
|
|
}
|
||
|
|
if (actualCase_ == ActualOneofCase.LevelStart) {
|
||
|
|
output.WriteRawTag(18);
|
||
|
|
output.WriteMessage(LevelStart);
|
||
|
|
}
|
||
|
|
if (actualCase_ == ActualOneofCase.PointFound) {
|
||
|
|
output.WriteRawTag(26);
|
||
|
|
output.WriteMessage(PointFound);
|
||
|
|
}
|
||
|
|
if (actualCase_ == ActualOneofCase.GameFinish) {
|
||
|
|
output.WriteRawTag(34);
|
||
|
|
output.WriteMessage(GameFinish);
|
||
|
|
}
|
||
|
|
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 (actualCase_ == ActualOneofCase.GameStart) {
|
||
|
|
output.WriteRawTag(10);
|
||
|
|
output.WriteMessage(GameStart);
|
||
|
|
}
|
||
|
|
if (actualCase_ == ActualOneofCase.LevelStart) {
|
||
|
|
output.WriteRawTag(18);
|
||
|
|
output.WriteMessage(LevelStart);
|
||
|
|
}
|
||
|
|
if (actualCase_ == ActualOneofCase.PointFound) {
|
||
|
|
output.WriteRawTag(26);
|
||
|
|
output.WriteMessage(PointFound);
|
||
|
|
}
|
||
|
|
if (actualCase_ == ActualOneofCase.GameFinish) {
|
||
|
|
output.WriteRawTag(34);
|
||
|
|
output.WriteMessage(GameFinish);
|
||
|
|
}
|
||
|
|
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 (actualCase_ == ActualOneofCase.GameStart) {
|
||
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(GameStart);
|
||
|
|
}
|
||
|
|
if (actualCase_ == ActualOneofCase.LevelStart) {
|
||
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(LevelStart);
|
||
|
|
}
|
||
|
|
if (actualCase_ == ActualOneofCase.PointFound) {
|
||
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(PointFound);
|
||
|
|
}
|
||
|
|
if (actualCase_ == ActualOneofCase.GameFinish) {
|
||
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(GameFinish);
|
||
|
|
}
|
||
|
|
if (_unknownFields != null) {
|
||
|
|
size += _unknownFields.CalculateSize();
|
||
|
|
}
|
||
|
|
return size;
|
||
|
|
}
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public void MergeFrom(ServerMessage other) {
|
||
|
|
if (other == null) {
|
||
|
|
return;
|
||
|
|
}
|
||
|
|
switch (other.ActualCase) {
|
||
|
|
case ActualOneofCase.GameStart:
|
||
|
|
if (GameStart == null) {
|
||
|
|
GameStart = new global::Dof.GameStart();
|
||
|
|
}
|
||
|
|
GameStart.MergeFrom(other.GameStart);
|
||
|
|
break;
|
||
|
|
case ActualOneofCase.LevelStart:
|
||
|
|
if (LevelStart == null) {
|
||
|
|
LevelStart = new global::Dof.LevelStart();
|
||
|
|
}
|
||
|
|
LevelStart.MergeFrom(other.LevelStart);
|
||
|
|
break;
|
||
|
|
case ActualOneofCase.PointFound:
|
||
|
|
if (PointFound == null) {
|
||
|
|
PointFound = new global::Dof.PointFound();
|
||
|
|
}
|
||
|
|
PointFound.MergeFrom(other.PointFound);
|
||
|
|
break;
|
||
|
|
case ActualOneofCase.GameFinish:
|
||
|
|
if (GameFinish == null) {
|
||
|
|
GameFinish = new global::Dof.GameFinish();
|
||
|
|
}
|
||
|
|
GameFinish.MergeFrom(other.GameFinish);
|
||
|
|
break;
|
||
|
|
}
|
||
|
|
|
||
|
|
_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 10: {
|
||
|
|
global::Dof.GameStart subBuilder = new global::Dof.GameStart();
|
||
|
|
if (actualCase_ == ActualOneofCase.GameStart) {
|
||
|
|
subBuilder.MergeFrom(GameStart);
|
||
|
|
}
|
||
|
|
input.ReadMessage(subBuilder);
|
||
|
|
GameStart = subBuilder;
|
||
|
|
break;
|
||
|
|
}
|
||
|
|
case 18: {
|
||
|
|
global::Dof.LevelStart subBuilder = new global::Dof.LevelStart();
|
||
|
|
if (actualCase_ == ActualOneofCase.LevelStart) {
|
||
|
|
subBuilder.MergeFrom(LevelStart);
|
||
|
|
}
|
||
|
|
input.ReadMessage(subBuilder);
|
||
|
|
LevelStart = subBuilder;
|
||
|
|
break;
|
||
|
|
}
|
||
|
|
case 26: {
|
||
|
|
global::Dof.PointFound subBuilder = new global::Dof.PointFound();
|
||
|
|
if (actualCase_ == ActualOneofCase.PointFound) {
|
||
|
|
subBuilder.MergeFrom(PointFound);
|
||
|
|
}
|
||
|
|
input.ReadMessage(subBuilder);
|
||
|
|
PointFound = subBuilder;
|
||
|
|
break;
|
||
|
|
}
|
||
|
|
case 34: {
|
||
|
|
global::Dof.GameFinish subBuilder = new global::Dof.GameFinish();
|
||
|
|
if (actualCase_ == ActualOneofCase.GameFinish) {
|
||
|
|
subBuilder.MergeFrom(GameFinish);
|
||
|
|
}
|
||
|
|
input.ReadMessage(subBuilder);
|
||
|
|
GameFinish = subBuilder;
|
||
|
|
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 10: {
|
||
|
|
global::Dof.GameStart subBuilder = new global::Dof.GameStart();
|
||
|
|
if (actualCase_ == ActualOneofCase.GameStart) {
|
||
|
|
subBuilder.MergeFrom(GameStart);
|
||
|
|
}
|
||
|
|
input.ReadMessage(subBuilder);
|
||
|
|
GameStart = subBuilder;
|
||
|
|
break;
|
||
|
|
}
|
||
|
|
case 18: {
|
||
|
|
global::Dof.LevelStart subBuilder = new global::Dof.LevelStart();
|
||
|
|
if (actualCase_ == ActualOneofCase.LevelStart) {
|
||
|
|
subBuilder.MergeFrom(LevelStart);
|
||
|
|
}
|
||
|
|
input.ReadMessage(subBuilder);
|
||
|
|
LevelStart = subBuilder;
|
||
|
|
break;
|
||
|
|
}
|
||
|
|
case 26: {
|
||
|
|
global::Dof.PointFound subBuilder = new global::Dof.PointFound();
|
||
|
|
if (actualCase_ == ActualOneofCase.PointFound) {
|
||
|
|
subBuilder.MergeFrom(PointFound);
|
||
|
|
}
|
||
|
|
input.ReadMessage(subBuilder);
|
||
|
|
PointFound = subBuilder;
|
||
|
|
break;
|
||
|
|
}
|
||
|
|
case 34: {
|
||
|
|
global::Dof.GameFinish subBuilder = new global::Dof.GameFinish();
|
||
|
|
if (actualCase_ == ActualOneofCase.GameFinish) {
|
||
|
|
subBuilder.MergeFrom(GameFinish);
|
||
|
|
}
|
||
|
|
input.ReadMessage(subBuilder);
|
||
|
|
GameFinish = subBuilder;
|
||
|
|
break;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
#endif
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// PlayerEnter 客户端进入房间
|
||
|
|
/// </summary>
|
||
|
|
public sealed partial class PlayerEnter : pb::IMessage<PlayerEnter>
|
||
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
|
|
, pb::IBufferMessage
|
||
|
|
#endif
|
||
|
|
{
|
||
|
|
private static readonly pb::MessageParser<PlayerEnter> _parser = new pb::MessageParser<PlayerEnter>(() => new PlayerEnter());
|
||
|
|
private pb::UnknownFieldSet _unknownFields;
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public static pb::MessageParser<PlayerEnter> Parser { get { return _parser; } }
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public static pbr::MessageDescriptor Descriptor {
|
||
|
|
get { return global::Dof.MessagesReflection.Descriptor.MessageTypes[3]; }
|
||
|
|
}
|
||
|
|
|
||
|
|
[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 PlayerEnter() {
|
||
|
|
OnConstruction();
|
||
|
|
}
|
||
|
|
|
||
|
|
partial void OnConstruction();
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public PlayerEnter(PlayerEnter other) : this() {
|
||
|
|
roomId_ = other.roomId_;
|
||
|
|
uid_ = other.uid_;
|
||
|
|
nickName_ = other.nickName_;
|
||
|
|
country_ = other.country_;
|
||
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
|
|
}
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public PlayerEnter Clone() {
|
||
|
|
return new PlayerEnter(this);
|
||
|
|
}
|
||
|
|
|
||
|
|
/// <summary>Field number for the "room_id" field.</summary>
|
||
|
|
public const int RoomIdFieldNumber = 1;
|
||
|
|
private string roomId_ = "";
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public string RoomId {
|
||
|
|
get { return roomId_; }
|
||
|
|
set {
|
||
|
|
roomId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
/// <summary>Field number for the "uid" field.</summary>
|
||
|
|
public const int UidFieldNumber = 2;
|
||
|
|
private string uid_ = "";
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public string Uid {
|
||
|
|
get { return uid_; }
|
||
|
|
set {
|
||
|
|
uid_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
/// <summary>Field number for the "nick_name" field.</summary>
|
||
|
|
public const int NickNameFieldNumber = 3;
|
||
|
|
private string nickName_ = "";
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public string NickName {
|
||
|
|
get { return nickName_; }
|
||
|
|
set {
|
||
|
|
nickName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
/// <summary>Field number for the "country" field.</summary>
|
||
|
|
public const int CountryFieldNumber = 4;
|
||
|
|
private string country_ = "";
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public string Country {
|
||
|
|
get { return country_; }
|
||
|
|
set {
|
||
|
|
country_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public override bool Equals(object other) {
|
||
|
|
return Equals(other as PlayerEnter);
|
||
|
|
}
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public bool Equals(PlayerEnter other) {
|
||
|
|
if (ReferenceEquals(other, null)) {
|
||
|
|
return false;
|
||
|
|
}
|
||
|
|
if (ReferenceEquals(other, this)) {
|
||
|
|
return true;
|
||
|
|
}
|
||
|
|
if (RoomId != other.RoomId) return false;
|
||
|
|
if (Uid != other.Uid) return false;
|
||
|
|
if (NickName != other.NickName) return false;
|
||
|
|
if (Country != other.Country) 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 (RoomId.Length != 0) hash ^= RoomId.GetHashCode();
|
||
|
|
if (Uid.Length != 0) hash ^= Uid.GetHashCode();
|
||
|
|
if (NickName.Length != 0) hash ^= NickName.GetHashCode();
|
||
|
|
if (Country.Length != 0) hash ^= Country.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 (RoomId.Length != 0) {
|
||
|
|
output.WriteRawTag(10);
|
||
|
|
output.WriteString(RoomId);
|
||
|
|
}
|
||
|
|
if (Uid.Length != 0) {
|
||
|
|
output.WriteRawTag(18);
|
||
|
|
output.WriteString(Uid);
|
||
|
|
}
|
||
|
|
if (NickName.Length != 0) {
|
||
|
|
output.WriteRawTag(26);
|
||
|
|
output.WriteString(NickName);
|
||
|
|
}
|
||
|
|
if (Country.Length != 0) {
|
||
|
|
output.WriteRawTag(34);
|
||
|
|
output.WriteString(Country);
|
||
|
|
}
|
||
|
|
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 (RoomId.Length != 0) {
|
||
|
|
output.WriteRawTag(10);
|
||
|
|
output.WriteString(RoomId);
|
||
|
|
}
|
||
|
|
if (Uid.Length != 0) {
|
||
|
|
output.WriteRawTag(18);
|
||
|
|
output.WriteString(Uid);
|
||
|
|
}
|
||
|
|
if (NickName.Length != 0) {
|
||
|
|
output.WriteRawTag(26);
|
||
|
|
output.WriteString(NickName);
|
||
|
|
}
|
||
|
|
if (Country.Length != 0) {
|
||
|
|
output.WriteRawTag(34);
|
||
|
|
output.WriteString(Country);
|
||
|
|
}
|
||
|
|
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 (RoomId.Length != 0) {
|
||
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(RoomId);
|
||
|
|
}
|
||
|
|
if (Uid.Length != 0) {
|
||
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Uid);
|
||
|
|
}
|
||
|
|
if (NickName.Length != 0) {
|
||
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(NickName);
|
||
|
|
}
|
||
|
|
if (Country.Length != 0) {
|
||
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Country);
|
||
|
|
}
|
||
|
|
if (_unknownFields != null) {
|
||
|
|
size += _unknownFields.CalculateSize();
|
||
|
|
}
|
||
|
|
return size;
|
||
|
|
}
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public void MergeFrom(PlayerEnter other) {
|
||
|
|
if (other == null) {
|
||
|
|
return;
|
||
|
|
}
|
||
|
|
if (other.RoomId.Length != 0) {
|
||
|
|
RoomId = other.RoomId;
|
||
|
|
}
|
||
|
|
if (other.Uid.Length != 0) {
|
||
|
|
Uid = other.Uid;
|
||
|
|
}
|
||
|
|
if (other.NickName.Length != 0) {
|
||
|
|
NickName = other.NickName;
|
||
|
|
}
|
||
|
|
if (other.Country.Length != 0) {
|
||
|
|
Country = other.Country;
|
||
|
|
}
|
||
|
|
_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 10: {
|
||
|
|
RoomId = input.ReadString();
|
||
|
|
break;
|
||
|
|
}
|
||
|
|
case 18: {
|
||
|
|
Uid = input.ReadString();
|
||
|
|
break;
|
||
|
|
}
|
||
|
|
case 26: {
|
||
|
|
NickName = input.ReadString();
|
||
|
|
break;
|
||
|
|
}
|
||
|
|
case 34: {
|
||
|
|
Country = input.ReadString();
|
||
|
|
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 10: {
|
||
|
|
RoomId = input.ReadString();
|
||
|
|
break;
|
||
|
|
}
|
||
|
|
case 18: {
|
||
|
|
Uid = input.ReadString();
|
||
|
|
break;
|
||
|
|
}
|
||
|
|
case 26: {
|
||
|
|
NickName = input.ReadString();
|
||
|
|
break;
|
||
|
|
}
|
||
|
|
case 34: {
|
||
|
|
Country = input.ReadString();
|
||
|
|
break;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
#endif
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
public sealed partial class LevelResource : pb::IMessage<LevelResource>
|
||
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
|
|
, pb::IBufferMessage
|
||
|
|
#endif
|
||
|
|
{
|
||
|
|
private static readonly pb::MessageParser<LevelResource> _parser = new pb::MessageParser<LevelResource>(() => new LevelResource());
|
||
|
|
private pb::UnknownFieldSet _unknownFields;
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public static pb::MessageParser<LevelResource> Parser { get { return _parser; } }
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public static pbr::MessageDescriptor Descriptor {
|
||
|
|
get { return global::Dof.MessagesReflection.Descriptor.MessageTypes[4]; }
|
||
|
|
}
|
||
|
|
|
||
|
|
[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 LevelResource() {
|
||
|
|
OnConstruction();
|
||
|
|
}
|
||
|
|
|
||
|
|
partial void OnConstruction();
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public LevelResource(LevelResource other) : this() {
|
||
|
|
level_ = other.level_;
|
||
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
|
|
}
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public LevelResource Clone() {
|
||
|
|
return new LevelResource(this);
|
||
|
|
}
|
||
|
|
|
||
|
|
/// <summary>Field number for the "level" field.</summary>
|
||
|
|
public const int LevelFieldNumber = 1;
|
||
|
|
private string level_ = "";
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public string Level {
|
||
|
|
get { return level_; }
|
||
|
|
set {
|
||
|
|
level_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public override bool Equals(object other) {
|
||
|
|
return Equals(other as LevelResource);
|
||
|
|
}
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public bool Equals(LevelResource other) {
|
||
|
|
if (ReferenceEquals(other, null)) {
|
||
|
|
return false;
|
||
|
|
}
|
||
|
|
if (ReferenceEquals(other, this)) {
|
||
|
|
return true;
|
||
|
|
}
|
||
|
|
if (Level != other.Level) 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 (Level.Length != 0) hash ^= Level.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 (Level.Length != 0) {
|
||
|
|
output.WriteRawTag(10);
|
||
|
|
output.WriteString(Level);
|
||
|
|
}
|
||
|
|
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 (Level.Length != 0) {
|
||
|
|
output.WriteRawTag(10);
|
||
|
|
output.WriteString(Level);
|
||
|
|
}
|
||
|
|
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 (Level.Length != 0) {
|
||
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Level);
|
||
|
|
}
|
||
|
|
if (_unknownFields != null) {
|
||
|
|
size += _unknownFields.CalculateSize();
|
||
|
|
}
|
||
|
|
return size;
|
||
|
|
}
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public void MergeFrom(LevelResource other) {
|
||
|
|
if (other == null) {
|
||
|
|
return;
|
||
|
|
}
|
||
|
|
if (other.Level.Length != 0) {
|
||
|
|
Level = other.Level;
|
||
|
|
}
|
||
|
|
_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 10: {
|
||
|
|
Level = input.ReadString();
|
||
|
|
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 10: {
|
||
|
|
Level = input.ReadString();
|
||
|
|
break;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
#endif
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
public sealed partial class GameStart : pb::IMessage<GameStart>
|
||
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
|
|
, pb::IBufferMessage
|
||
|
|
#endif
|
||
|
|
{
|
||
|
|
private static readonly pb::MessageParser<GameStart> _parser = new pb::MessageParser<GameStart>(() => new GameStart());
|
||
|
|
private pb::UnknownFieldSet _unknownFields;
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public static pb::MessageParser<GameStart> Parser { get { return _parser; } }
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public static pbr::MessageDescriptor Descriptor {
|
||
|
|
get { return global::Dof.MessagesReflection.Descriptor.MessageTypes[5]; }
|
||
|
|
}
|
||
|
|
|
||
|
|
[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 GameStart() {
|
||
|
|
OnConstruction();
|
||
|
|
}
|
||
|
|
|
||
|
|
partial void OnConstruction();
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public GameStart(GameStart other) : this() {
|
||
|
|
levelResource_ = other.levelResource_.Clone();
|
||
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
|
|
}
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public GameStart Clone() {
|
||
|
|
return new GameStart(this);
|
||
|
|
}
|
||
|
|
|
||
|
|
/// <summary>Field number for the "level_resource" field.</summary>
|
||
|
|
public const int LevelResourceFieldNumber = 1;
|
||
|
|
private static readonly pb::FieldCodec<global::Dof.LevelResource> _repeated_levelResource_codec
|
||
|
|
= pb::FieldCodec.ForMessage(10, global::Dof.LevelResource.Parser);
|
||
|
|
private readonly pbc::RepeatedField<global::Dof.LevelResource> levelResource_ = new pbc::RepeatedField<global::Dof.LevelResource>();
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public pbc::RepeatedField<global::Dof.LevelResource> LevelResource {
|
||
|
|
get { return levelResource_; }
|
||
|
|
}
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public override bool Equals(object other) {
|
||
|
|
return Equals(other as GameStart);
|
||
|
|
}
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public bool Equals(GameStart other) {
|
||
|
|
if (ReferenceEquals(other, null)) {
|
||
|
|
return false;
|
||
|
|
}
|
||
|
|
if (ReferenceEquals(other, this)) {
|
||
|
|
return true;
|
||
|
|
}
|
||
|
|
if(!levelResource_.Equals(other.levelResource_)) 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;
|
||
|
|
hash ^= levelResource_.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
|
||
|
|
levelResource_.WriteTo(output, _repeated_levelResource_codec);
|
||
|
|
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) {
|
||
|
|
levelResource_.WriteTo(ref output, _repeated_levelResource_codec);
|
||
|
|
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;
|
||
|
|
size += levelResource_.CalculateSize(_repeated_levelResource_codec);
|
||
|
|
if (_unknownFields != null) {
|
||
|
|
size += _unknownFields.CalculateSize();
|
||
|
|
}
|
||
|
|
return size;
|
||
|
|
}
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public void MergeFrom(GameStart other) {
|
||
|
|
if (other == null) {
|
||
|
|
return;
|
||
|
|
}
|
||
|
|
levelResource_.Add(other.levelResource_);
|
||
|
|
_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 10: {
|
||
|
|
levelResource_.AddEntriesFrom(input, _repeated_levelResource_codec);
|
||
|
|
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 10: {
|
||
|
|
levelResource_.AddEntriesFrom(ref input, _repeated_levelResource_codec);
|
||
|
|
break;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
#endif
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
public sealed partial class LevelPrepared : pb::IMessage<LevelPrepared>
|
||
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
|
|
, pb::IBufferMessage
|
||
|
|
#endif
|
||
|
|
{
|
||
|
|
private static readonly pb::MessageParser<LevelPrepared> _parser = new pb::MessageParser<LevelPrepared>(() => new LevelPrepared());
|
||
|
|
private pb::UnknownFieldSet _unknownFields;
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public static pb::MessageParser<LevelPrepared> Parser { get { return _parser; } }
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public static pbr::MessageDescriptor Descriptor {
|
||
|
|
get { return global::Dof.MessagesReflection.Descriptor.MessageTypes[6]; }
|
||
|
|
}
|
||
|
|
|
||
|
|
[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 LevelPrepared() {
|
||
|
|
OnConstruction();
|
||
|
|
}
|
||
|
|
|
||
|
|
partial void OnConstruction();
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public LevelPrepared(LevelPrepared other) : this() {
|
||
|
|
cid_ = other.cid_;
|
||
|
|
level_ = other.level_;
|
||
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
|
|
}
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public LevelPrepared Clone() {
|
||
|
|
return new LevelPrepared(this);
|
||
|
|
}
|
||
|
|
|
||
|
|
/// <summary>Field number for the "cid" field.</summary>
|
||
|
|
public const int CidFieldNumber = 1;
|
||
|
|
private long cid_;
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public long Cid {
|
||
|
|
get { return cid_; }
|
||
|
|
set {
|
||
|
|
cid_ = value;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
/// <summary>Field number for the "level" field.</summary>
|
||
|
|
public const int LevelFieldNumber = 2;
|
||
|
|
private string level_ = "";
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public string Level {
|
||
|
|
get { return level_; }
|
||
|
|
set {
|
||
|
|
level_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public override bool Equals(object other) {
|
||
|
|
return Equals(other as LevelPrepared);
|
||
|
|
}
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public bool Equals(LevelPrepared other) {
|
||
|
|
if (ReferenceEquals(other, null)) {
|
||
|
|
return false;
|
||
|
|
}
|
||
|
|
if (ReferenceEquals(other, this)) {
|
||
|
|
return true;
|
||
|
|
}
|
||
|
|
if (Cid != other.Cid) return false;
|
||
|
|
if (Level != other.Level) 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 (Cid != 0L) hash ^= Cid.GetHashCode();
|
||
|
|
if (Level.Length != 0) hash ^= Level.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 (Cid != 0L) {
|
||
|
|
output.WriteRawTag(8);
|
||
|
|
output.WriteInt64(Cid);
|
||
|
|
}
|
||
|
|
if (Level.Length != 0) {
|
||
|
|
output.WriteRawTag(18);
|
||
|
|
output.WriteString(Level);
|
||
|
|
}
|
||
|
|
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 (Cid != 0L) {
|
||
|
|
output.WriteRawTag(8);
|
||
|
|
output.WriteInt64(Cid);
|
||
|
|
}
|
||
|
|
if (Level.Length != 0) {
|
||
|
|
output.WriteRawTag(18);
|
||
|
|
output.WriteString(Level);
|
||
|
|
}
|
||
|
|
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 (Cid != 0L) {
|
||
|
|
size += 1 + pb::CodedOutputStream.ComputeInt64Size(Cid);
|
||
|
|
}
|
||
|
|
if (Level.Length != 0) {
|
||
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Level);
|
||
|
|
}
|
||
|
|
if (_unknownFields != null) {
|
||
|
|
size += _unknownFields.CalculateSize();
|
||
|
|
}
|
||
|
|
return size;
|
||
|
|
}
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public void MergeFrom(LevelPrepared other) {
|
||
|
|
if (other == null) {
|
||
|
|
return;
|
||
|
|
}
|
||
|
|
if (other.Cid != 0L) {
|
||
|
|
Cid = other.Cid;
|
||
|
|
}
|
||
|
|
if (other.Level.Length != 0) {
|
||
|
|
Level = other.Level;
|
||
|
|
}
|
||
|
|
_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: {
|
||
|
|
Cid = input.ReadInt64();
|
||
|
|
break;
|
||
|
|
}
|
||
|
|
case 18: {
|
||
|
|
Level = input.ReadString();
|
||
|
|
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: {
|
||
|
|
Cid = input.ReadInt64();
|
||
|
|
break;
|
||
|
|
}
|
||
|
|
case 18: {
|
||
|
|
Level = input.ReadString();
|
||
|
|
break;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
#endif
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
public sealed partial class LevelStart : pb::IMessage<LevelStart>
|
||
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
|
|
, pb::IBufferMessage
|
||
|
|
#endif
|
||
|
|
{
|
||
|
|
private static readonly pb::MessageParser<LevelStart> _parser = new pb::MessageParser<LevelStart>(() => new LevelStart());
|
||
|
|
private pb::UnknownFieldSet _unknownFields;
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public static pb::MessageParser<LevelStart> Parser { get { return _parser; } }
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public static pbr::MessageDescriptor Descriptor {
|
||
|
|
get { return global::Dof.MessagesReflection.Descriptor.MessageTypes[7]; }
|
||
|
|
}
|
||
|
|
|
||
|
|
[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 LevelStart() {
|
||
|
|
OnConstruction();
|
||
|
|
}
|
||
|
|
|
||
|
|
partial void OnConstruction();
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public LevelStart(LevelStart other) : this() {
|
||
|
|
level_ = other.level_;
|
||
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
|
|
}
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public LevelStart Clone() {
|
||
|
|
return new LevelStart(this);
|
||
|
|
}
|
||
|
|
|
||
|
|
/// <summary>Field number for the "level" field.</summary>
|
||
|
|
public const int LevelFieldNumber = 1;
|
||
|
|
private string level_ = "";
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public string Level {
|
||
|
|
get { return level_; }
|
||
|
|
set {
|
||
|
|
level_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public override bool Equals(object other) {
|
||
|
|
return Equals(other as LevelStart);
|
||
|
|
}
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public bool Equals(LevelStart other) {
|
||
|
|
if (ReferenceEquals(other, null)) {
|
||
|
|
return false;
|
||
|
|
}
|
||
|
|
if (ReferenceEquals(other, this)) {
|
||
|
|
return true;
|
||
|
|
}
|
||
|
|
if (Level != other.Level) 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 (Level.Length != 0) hash ^= Level.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 (Level.Length != 0) {
|
||
|
|
output.WriteRawTag(10);
|
||
|
|
output.WriteString(Level);
|
||
|
|
}
|
||
|
|
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 (Level.Length != 0) {
|
||
|
|
output.WriteRawTag(10);
|
||
|
|
output.WriteString(Level);
|
||
|
|
}
|
||
|
|
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 (Level.Length != 0) {
|
||
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Level);
|
||
|
|
}
|
||
|
|
if (_unknownFields != null) {
|
||
|
|
size += _unknownFields.CalculateSize();
|
||
|
|
}
|
||
|
|
return size;
|
||
|
|
}
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public void MergeFrom(LevelStart other) {
|
||
|
|
if (other == null) {
|
||
|
|
return;
|
||
|
|
}
|
||
|
|
if (other.Level.Length != 0) {
|
||
|
|
Level = other.Level;
|
||
|
|
}
|
||
|
|
_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 10: {
|
||
|
|
Level = input.ReadString();
|
||
|
|
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 10: {
|
||
|
|
Level = input.ReadString();
|
||
|
|
break;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
#endif
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
public sealed partial class PointFound : pb::IMessage<PointFound>
|
||
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
|
|
, pb::IBufferMessage
|
||
|
|
#endif
|
||
|
|
{
|
||
|
|
private static readonly pb::MessageParser<PointFound> _parser = new pb::MessageParser<PointFound>(() => new PointFound());
|
||
|
|
private pb::UnknownFieldSet _unknownFields;
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public static pb::MessageParser<PointFound> Parser { get { return _parser; } }
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public static pbr::MessageDescriptor Descriptor {
|
||
|
|
get { return global::Dof.MessagesReflection.Descriptor.MessageTypes[8]; }
|
||
|
|
}
|
||
|
|
|
||
|
|
[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 PointFound() {
|
||
|
|
OnConstruction();
|
||
|
|
}
|
||
|
|
|
||
|
|
partial void OnConstruction();
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public PointFound(PointFound other) : this() {
|
||
|
|
cid_ = other.cid_;
|
||
|
|
level_ = other.level_;
|
||
|
|
pointId_ = other.pointId_;
|
||
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
|
|
}
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public PointFound Clone() {
|
||
|
|
return new PointFound(this);
|
||
|
|
}
|
||
|
|
|
||
|
|
/// <summary>Field number for the "cid" field.</summary>
|
||
|
|
public const int CidFieldNumber = 1;
|
||
|
|
private long cid_;
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public long Cid {
|
||
|
|
get { return cid_; }
|
||
|
|
set {
|
||
|
|
cid_ = value;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
/// <summary>Field number for the "level" field.</summary>
|
||
|
|
public const int LevelFieldNumber = 2;
|
||
|
|
private string level_ = "";
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public string Level {
|
||
|
|
get { return level_; }
|
||
|
|
set {
|
||
|
|
level_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
/// <summary>Field number for the "point_id" field.</summary>
|
||
|
|
public const int PointIdFieldNumber = 3;
|
||
|
|
private int pointId_;
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public int PointId {
|
||
|
|
get { return pointId_; }
|
||
|
|
set {
|
||
|
|
pointId_ = value;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public override bool Equals(object other) {
|
||
|
|
return Equals(other as PointFound);
|
||
|
|
}
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public bool Equals(PointFound other) {
|
||
|
|
if (ReferenceEquals(other, null)) {
|
||
|
|
return false;
|
||
|
|
}
|
||
|
|
if (ReferenceEquals(other, this)) {
|
||
|
|
return true;
|
||
|
|
}
|
||
|
|
if (Cid != other.Cid) return false;
|
||
|
|
if (Level != other.Level) return false;
|
||
|
|
if (PointId != other.PointId) 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 (Cid != 0L) hash ^= Cid.GetHashCode();
|
||
|
|
if (Level.Length != 0) hash ^= Level.GetHashCode();
|
||
|
|
if (PointId != 0) hash ^= PointId.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 (Cid != 0L) {
|
||
|
|
output.WriteRawTag(8);
|
||
|
|
output.WriteInt64(Cid);
|
||
|
|
}
|
||
|
|
if (Level.Length != 0) {
|
||
|
|
output.WriteRawTag(18);
|
||
|
|
output.WriteString(Level);
|
||
|
|
}
|
||
|
|
if (PointId != 0) {
|
||
|
|
output.WriteRawTag(24);
|
||
|
|
output.WriteInt32(PointId);
|
||
|
|
}
|
||
|
|
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 (Cid != 0L) {
|
||
|
|
output.WriteRawTag(8);
|
||
|
|
output.WriteInt64(Cid);
|
||
|
|
}
|
||
|
|
if (Level.Length != 0) {
|
||
|
|
output.WriteRawTag(18);
|
||
|
|
output.WriteString(Level);
|
||
|
|
}
|
||
|
|
if (PointId != 0) {
|
||
|
|
output.WriteRawTag(24);
|
||
|
|
output.WriteInt32(PointId);
|
||
|
|
}
|
||
|
|
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 (Cid != 0L) {
|
||
|
|
size += 1 + pb::CodedOutputStream.ComputeInt64Size(Cid);
|
||
|
|
}
|
||
|
|
if (Level.Length != 0) {
|
||
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Level);
|
||
|
|
}
|
||
|
|
if (PointId != 0) {
|
||
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(PointId);
|
||
|
|
}
|
||
|
|
if (_unknownFields != null) {
|
||
|
|
size += _unknownFields.CalculateSize();
|
||
|
|
}
|
||
|
|
return size;
|
||
|
|
}
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public void MergeFrom(PointFound other) {
|
||
|
|
if (other == null) {
|
||
|
|
return;
|
||
|
|
}
|
||
|
|
if (other.Cid != 0L) {
|
||
|
|
Cid = other.Cid;
|
||
|
|
}
|
||
|
|
if (other.Level.Length != 0) {
|
||
|
|
Level = other.Level;
|
||
|
|
}
|
||
|
|
if (other.PointId != 0) {
|
||
|
|
PointId = other.PointId;
|
||
|
|
}
|
||
|
|
_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: {
|
||
|
|
Cid = input.ReadInt64();
|
||
|
|
break;
|
||
|
|
}
|
||
|
|
case 18: {
|
||
|
|
Level = input.ReadString();
|
||
|
|
break;
|
||
|
|
}
|
||
|
|
case 24: {
|
||
|
|
PointId = input.ReadInt32();
|
||
|
|
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: {
|
||
|
|
Cid = input.ReadInt64();
|
||
|
|
break;
|
||
|
|
}
|
||
|
|
case 18: {
|
||
|
|
Level = input.ReadString();
|
||
|
|
break;
|
||
|
|
}
|
||
|
|
case 24: {
|
||
|
|
PointId = input.ReadInt32();
|
||
|
|
break;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
#endif
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
public sealed partial class LevelEnd : pb::IMessage<LevelEnd>
|
||
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
|
|
, pb::IBufferMessage
|
||
|
|
#endif
|
||
|
|
{
|
||
|
|
private static readonly pb::MessageParser<LevelEnd> _parser = new pb::MessageParser<LevelEnd>(() => new LevelEnd());
|
||
|
|
private pb::UnknownFieldSet _unknownFields;
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public static pb::MessageParser<LevelEnd> Parser { get { return _parser; } }
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public static pbr::MessageDescriptor Descriptor {
|
||
|
|
get { return global::Dof.MessagesReflection.Descriptor.MessageTypes[9]; }
|
||
|
|
}
|
||
|
|
|
||
|
|
[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 LevelEnd() {
|
||
|
|
OnConstruction();
|
||
|
|
}
|
||
|
|
|
||
|
|
partial void OnConstruction();
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public LevelEnd(LevelEnd other) : this() {
|
||
|
|
cid_ = other.cid_;
|
||
|
|
level_ = other.level_;
|
||
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
|
|
}
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public LevelEnd Clone() {
|
||
|
|
return new LevelEnd(this);
|
||
|
|
}
|
||
|
|
|
||
|
|
/// <summary>Field number for the "cid" field.</summary>
|
||
|
|
public const int CidFieldNumber = 1;
|
||
|
|
private long cid_;
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public long Cid {
|
||
|
|
get { return cid_; }
|
||
|
|
set {
|
||
|
|
cid_ = value;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
/// <summary>Field number for the "level" field.</summary>
|
||
|
|
public const int LevelFieldNumber = 2;
|
||
|
|
private string level_ = "";
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public string Level {
|
||
|
|
get { return level_; }
|
||
|
|
set {
|
||
|
|
level_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public override bool Equals(object other) {
|
||
|
|
return Equals(other as LevelEnd);
|
||
|
|
}
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public bool Equals(LevelEnd other) {
|
||
|
|
if (ReferenceEquals(other, null)) {
|
||
|
|
return false;
|
||
|
|
}
|
||
|
|
if (ReferenceEquals(other, this)) {
|
||
|
|
return true;
|
||
|
|
}
|
||
|
|
if (Cid != other.Cid) return false;
|
||
|
|
if (Level != other.Level) 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 (Cid != 0L) hash ^= Cid.GetHashCode();
|
||
|
|
if (Level.Length != 0) hash ^= Level.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 (Cid != 0L) {
|
||
|
|
output.WriteRawTag(8);
|
||
|
|
output.WriteInt64(Cid);
|
||
|
|
}
|
||
|
|
if (Level.Length != 0) {
|
||
|
|
output.WriteRawTag(18);
|
||
|
|
output.WriteString(Level);
|
||
|
|
}
|
||
|
|
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 (Cid != 0L) {
|
||
|
|
output.WriteRawTag(8);
|
||
|
|
output.WriteInt64(Cid);
|
||
|
|
}
|
||
|
|
if (Level.Length != 0) {
|
||
|
|
output.WriteRawTag(18);
|
||
|
|
output.WriteString(Level);
|
||
|
|
}
|
||
|
|
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 (Cid != 0L) {
|
||
|
|
size += 1 + pb::CodedOutputStream.ComputeInt64Size(Cid);
|
||
|
|
}
|
||
|
|
if (Level.Length != 0) {
|
||
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Level);
|
||
|
|
}
|
||
|
|
if (_unknownFields != null) {
|
||
|
|
size += _unknownFields.CalculateSize();
|
||
|
|
}
|
||
|
|
return size;
|
||
|
|
}
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public void MergeFrom(LevelEnd other) {
|
||
|
|
if (other == null) {
|
||
|
|
return;
|
||
|
|
}
|
||
|
|
if (other.Cid != 0L) {
|
||
|
|
Cid = other.Cid;
|
||
|
|
}
|
||
|
|
if (other.Level.Length != 0) {
|
||
|
|
Level = other.Level;
|
||
|
|
}
|
||
|
|
_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: {
|
||
|
|
Cid = input.ReadInt64();
|
||
|
|
break;
|
||
|
|
}
|
||
|
|
case 18: {
|
||
|
|
Level = input.ReadString();
|
||
|
|
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: {
|
||
|
|
Cid = input.ReadInt64();
|
||
|
|
break;
|
||
|
|
}
|
||
|
|
case 18: {
|
||
|
|
Level = input.ReadString();
|
||
|
|
break;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
#endif
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
public sealed partial class AllLevelEnd : pb::IMessage<AllLevelEnd>
|
||
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
|
|
, pb::IBufferMessage
|
||
|
|
#endif
|
||
|
|
{
|
||
|
|
private static readonly pb::MessageParser<AllLevelEnd> _parser = new pb::MessageParser<AllLevelEnd>(() => new AllLevelEnd());
|
||
|
|
private pb::UnknownFieldSet _unknownFields;
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public static pb::MessageParser<AllLevelEnd> Parser { get { return _parser; } }
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public static pbr::MessageDescriptor Descriptor {
|
||
|
|
get { return global::Dof.MessagesReflection.Descriptor.MessageTypes[10]; }
|
||
|
|
}
|
||
|
|
|
||
|
|
[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 AllLevelEnd() {
|
||
|
|
OnConstruction();
|
||
|
|
}
|
||
|
|
|
||
|
|
partial void OnConstruction();
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public AllLevelEnd(AllLevelEnd other) : this() {
|
||
|
|
cid_ = other.cid_;
|
||
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
|
|
}
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public AllLevelEnd Clone() {
|
||
|
|
return new AllLevelEnd(this);
|
||
|
|
}
|
||
|
|
|
||
|
|
/// <summary>Field number for the "cid" field.</summary>
|
||
|
|
public const int CidFieldNumber = 1;
|
||
|
|
private long cid_;
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public long Cid {
|
||
|
|
get { return cid_; }
|
||
|
|
set {
|
||
|
|
cid_ = value;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public override bool Equals(object other) {
|
||
|
|
return Equals(other as AllLevelEnd);
|
||
|
|
}
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public bool Equals(AllLevelEnd other) {
|
||
|
|
if (ReferenceEquals(other, null)) {
|
||
|
|
return false;
|
||
|
|
}
|
||
|
|
if (ReferenceEquals(other, this)) {
|
||
|
|
return true;
|
||
|
|
}
|
||
|
|
if (Cid != other.Cid) 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 (Cid != 0L) hash ^= Cid.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 (Cid != 0L) {
|
||
|
|
output.WriteRawTag(8);
|
||
|
|
output.WriteInt64(Cid);
|
||
|
|
}
|
||
|
|
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 (Cid != 0L) {
|
||
|
|
output.WriteRawTag(8);
|
||
|
|
output.WriteInt64(Cid);
|
||
|
|
}
|
||
|
|
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 (Cid != 0L) {
|
||
|
|
size += 1 + pb::CodedOutputStream.ComputeInt64Size(Cid);
|
||
|
|
}
|
||
|
|
if (_unknownFields != null) {
|
||
|
|
size += _unknownFields.CalculateSize();
|
||
|
|
}
|
||
|
|
return size;
|
||
|
|
}
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public void MergeFrom(AllLevelEnd other) {
|
||
|
|
if (other == null) {
|
||
|
|
return;
|
||
|
|
}
|
||
|
|
if (other.Cid != 0L) {
|
||
|
|
Cid = other.Cid;
|
||
|
|
}
|
||
|
|
_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: {
|
||
|
|
Cid = input.ReadInt64();
|
||
|
|
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: {
|
||
|
|
Cid = input.ReadInt64();
|
||
|
|
break;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
#endif
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
public sealed partial class GameScore : pb::IMessage<GameScore>
|
||
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
|
|
, pb::IBufferMessage
|
||
|
|
#endif
|
||
|
|
{
|
||
|
|
private static readonly pb::MessageParser<GameScore> _parser = new pb::MessageParser<GameScore>(() => new GameScore());
|
||
|
|
private pb::UnknownFieldSet _unknownFields;
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public static pb::MessageParser<GameScore> Parser { get { return _parser; } }
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public static pbr::MessageDescriptor Descriptor {
|
||
|
|
get { return global::Dof.MessagesReflection.Descriptor.MessageTypes[11]; }
|
||
|
|
}
|
||
|
|
|
||
|
|
[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 GameScore() {
|
||
|
|
OnConstruction();
|
||
|
|
}
|
||
|
|
|
||
|
|
partial void OnConstruction();
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public GameScore(GameScore other) : this() {
|
||
|
|
uid_ = other.uid_;
|
||
|
|
score_ = other.score_;
|
||
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
|
|
}
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public GameScore Clone() {
|
||
|
|
return new GameScore(this);
|
||
|
|
}
|
||
|
|
|
||
|
|
/// <summary>Field number for the "uid" field.</summary>
|
||
|
|
public const int UidFieldNumber = 1;
|
||
|
|
private string uid_ = "";
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public string Uid {
|
||
|
|
get { return uid_; }
|
||
|
|
set {
|
||
|
|
uid_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
/// <summary>Field number for the "score" field.</summary>
|
||
|
|
public const int ScoreFieldNumber = 2;
|
||
|
|
private int score_;
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public int Score {
|
||
|
|
get { return score_; }
|
||
|
|
set {
|
||
|
|
score_ = value;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public override bool Equals(object other) {
|
||
|
|
return Equals(other as GameScore);
|
||
|
|
}
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public bool Equals(GameScore other) {
|
||
|
|
if (ReferenceEquals(other, null)) {
|
||
|
|
return false;
|
||
|
|
}
|
||
|
|
if (ReferenceEquals(other, this)) {
|
||
|
|
return true;
|
||
|
|
}
|
||
|
|
if (Uid != other.Uid) return false;
|
||
|
|
if (Score != other.Score) 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 (Uid.Length != 0) hash ^= Uid.GetHashCode();
|
||
|
|
if (Score != 0) hash ^= Score.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 (Uid.Length != 0) {
|
||
|
|
output.WriteRawTag(10);
|
||
|
|
output.WriteString(Uid);
|
||
|
|
}
|
||
|
|
if (Score != 0) {
|
||
|
|
output.WriteRawTag(16);
|
||
|
|
output.WriteInt32(Score);
|
||
|
|
}
|
||
|
|
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 (Uid.Length != 0) {
|
||
|
|
output.WriteRawTag(10);
|
||
|
|
output.WriteString(Uid);
|
||
|
|
}
|
||
|
|
if (Score != 0) {
|
||
|
|
output.WriteRawTag(16);
|
||
|
|
output.WriteInt32(Score);
|
||
|
|
}
|
||
|
|
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 (Uid.Length != 0) {
|
||
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Uid);
|
||
|
|
}
|
||
|
|
if (Score != 0) {
|
||
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Score);
|
||
|
|
}
|
||
|
|
if (_unknownFields != null) {
|
||
|
|
size += _unknownFields.CalculateSize();
|
||
|
|
}
|
||
|
|
return size;
|
||
|
|
}
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public void MergeFrom(GameScore other) {
|
||
|
|
if (other == null) {
|
||
|
|
return;
|
||
|
|
}
|
||
|
|
if (other.Uid.Length != 0) {
|
||
|
|
Uid = other.Uid;
|
||
|
|
}
|
||
|
|
if (other.Score != 0) {
|
||
|
|
Score = other.Score;
|
||
|
|
}
|
||
|
|
_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 10: {
|
||
|
|
Uid = input.ReadString();
|
||
|
|
break;
|
||
|
|
}
|
||
|
|
case 16: {
|
||
|
|
Score = input.ReadInt32();
|
||
|
|
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 10: {
|
||
|
|
Uid = input.ReadString();
|
||
|
|
break;
|
||
|
|
}
|
||
|
|
case 16: {
|
||
|
|
Score = input.ReadInt32();
|
||
|
|
break;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
#endif
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
public sealed partial class GameFinish : pb::IMessage<GameFinish>
|
||
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
|
|
, pb::IBufferMessage
|
||
|
|
#endif
|
||
|
|
{
|
||
|
|
private static readonly pb::MessageParser<GameFinish> _parser = new pb::MessageParser<GameFinish>(() => new GameFinish());
|
||
|
|
private pb::UnknownFieldSet _unknownFields;
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public static pb::MessageParser<GameFinish> Parser { get { return _parser; } }
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public static pbr::MessageDescriptor Descriptor {
|
||
|
|
get { return global::Dof.MessagesReflection.Descriptor.MessageTypes[12]; }
|
||
|
|
}
|
||
|
|
|
||
|
|
[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 GameFinish() {
|
||
|
|
OnConstruction();
|
||
|
|
}
|
||
|
|
|
||
|
|
partial void OnConstruction();
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public GameFinish(GameFinish other) : this() {
|
||
|
|
scores_ = other.scores_.Clone();
|
||
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
|
|
}
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public GameFinish Clone() {
|
||
|
|
return new GameFinish(this);
|
||
|
|
}
|
||
|
|
|
||
|
|
/// <summary>Field number for the "scores" field.</summary>
|
||
|
|
public const int ScoresFieldNumber = 1;
|
||
|
|
private static readonly pb::FieldCodec<global::Dof.GameScore> _repeated_scores_codec
|
||
|
|
= pb::FieldCodec.ForMessage(10, global::Dof.GameScore.Parser);
|
||
|
|
private readonly pbc::RepeatedField<global::Dof.GameScore> scores_ = new pbc::RepeatedField<global::Dof.GameScore>();
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public pbc::RepeatedField<global::Dof.GameScore> Scores {
|
||
|
|
get { return scores_; }
|
||
|
|
}
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public override bool Equals(object other) {
|
||
|
|
return Equals(other as GameFinish);
|
||
|
|
}
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public bool Equals(GameFinish other) {
|
||
|
|
if (ReferenceEquals(other, null)) {
|
||
|
|
return false;
|
||
|
|
}
|
||
|
|
if (ReferenceEquals(other, this)) {
|
||
|
|
return true;
|
||
|
|
}
|
||
|
|
if(!scores_.Equals(other.scores_)) 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;
|
||
|
|
hash ^= scores_.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
|
||
|
|
scores_.WriteTo(output, _repeated_scores_codec);
|
||
|
|
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) {
|
||
|
|
scores_.WriteTo(ref output, _repeated_scores_codec);
|
||
|
|
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;
|
||
|
|
size += scores_.CalculateSize(_repeated_scores_codec);
|
||
|
|
if (_unknownFields != null) {
|
||
|
|
size += _unknownFields.CalculateSize();
|
||
|
|
}
|
||
|
|
return size;
|
||
|
|
}
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public void MergeFrom(GameFinish other) {
|
||
|
|
if (other == null) {
|
||
|
|
return;
|
||
|
|
}
|
||
|
|
scores_.Add(other.scores_);
|
||
|
|
_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 10: {
|
||
|
|
scores_.AddEntriesFrom(input, _repeated_scores_codec);
|
||
|
|
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 10: {
|
||
|
|
scores_.AddEntriesFrom(ref input, _repeated_scores_codec);
|
||
|
|
break;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
#endif
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
public sealed partial class PlayerLeave : pb::IMessage<PlayerLeave>
|
||
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
|
|
, pb::IBufferMessage
|
||
|
|
#endif
|
||
|
|
{
|
||
|
|
private static readonly pb::MessageParser<PlayerLeave> _parser = new pb::MessageParser<PlayerLeave>(() => new PlayerLeave());
|
||
|
|
private pb::UnknownFieldSet _unknownFields;
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public static pb::MessageParser<PlayerLeave> Parser { get { return _parser; } }
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public static pbr::MessageDescriptor Descriptor {
|
||
|
|
get { return global::Dof.MessagesReflection.Descriptor.MessageTypes[13]; }
|
||
|
|
}
|
||
|
|
|
||
|
|
[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 PlayerLeave() {
|
||
|
|
OnConstruction();
|
||
|
|
}
|
||
|
|
|
||
|
|
partial void OnConstruction();
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public PlayerLeave(PlayerLeave other) : this() {
|
||
|
|
cid_ = other.cid_;
|
||
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
|
|
}
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public PlayerLeave Clone() {
|
||
|
|
return new PlayerLeave(this);
|
||
|
|
}
|
||
|
|
|
||
|
|
/// <summary>Field number for the "cid" field.</summary>
|
||
|
|
public const int CidFieldNumber = 1;
|
||
|
|
private long cid_;
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public long Cid {
|
||
|
|
get { return cid_; }
|
||
|
|
set {
|
||
|
|
cid_ = value;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public override bool Equals(object other) {
|
||
|
|
return Equals(other as PlayerLeave);
|
||
|
|
}
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public bool Equals(PlayerLeave other) {
|
||
|
|
if (ReferenceEquals(other, null)) {
|
||
|
|
return false;
|
||
|
|
}
|
||
|
|
if (ReferenceEquals(other, this)) {
|
||
|
|
return true;
|
||
|
|
}
|
||
|
|
if (Cid != other.Cid) 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 (Cid != 0L) hash ^= Cid.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 (Cid != 0L) {
|
||
|
|
output.WriteRawTag(8);
|
||
|
|
output.WriteInt64(Cid);
|
||
|
|
}
|
||
|
|
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 (Cid != 0L) {
|
||
|
|
output.WriteRawTag(8);
|
||
|
|
output.WriteInt64(Cid);
|
||
|
|
}
|
||
|
|
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 (Cid != 0L) {
|
||
|
|
size += 1 + pb::CodedOutputStream.ComputeInt64Size(Cid);
|
||
|
|
}
|
||
|
|
if (_unknownFields != null) {
|
||
|
|
size += _unknownFields.CalculateSize();
|
||
|
|
}
|
||
|
|
return size;
|
||
|
|
}
|
||
|
|
|
||
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
|
|
public void MergeFrom(PlayerLeave other) {
|
||
|
|
if (other == null) {
|
||
|
|
return;
|
||
|
|
}
|
||
|
|
if (other.Cid != 0L) {
|
||
|
|
Cid = other.Cid;
|
||
|
|
}
|
||
|
|
_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: {
|
||
|
|
Cid = input.ReadInt64();
|
||
|
|
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: {
|
||
|
|
Cid = input.ReadInt64();
|
||
|
|
break;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
#endif
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
#endregion
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
#endregion Designer generated code
|