595 lines
19 KiB
C#
595 lines
19 KiB
C#
// <auto-generated>
|
||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||
// source: npc_request.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;
|
||
/// <summary>Holder for reflection information generated from npc_request.proto</summary>
|
||
public static partial class NpcRequestReflection {
|
||
|
||
#region Descriptor
|
||
/// <summary>File descriptor for npc_request.proto</summary>
|
||
public static pbr::FileDescriptor Descriptor {
|
||
get { return descriptor; }
|
||
}
|
||
private static pbr::FileDescriptor descriptor;
|
||
|
||
static NpcRequestReflection() {
|
||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||
string.Concat(
|
||
"ChFucGNfcmVxdWVzdC5wcm90byI9CgpucGNSZXF1ZXN0Eg8KB25wY0xpc3QY",
|
||
"ASADKAkSDgoGcm9vbUlkGAIgASgJEg4KBmFjdGlvbhgDIAEoBSJACg9OcGNT",
|
||
"aG9ja1JlcXVlc3QSDQoFdmFsdWUYAiABKAkSDgoGdXNlcklkGAMgASgJEg4K",
|
||
"BlJvb21JZBgBIAEoCUIHWgUuLztwYmIGcHJvdG8z"));
|
||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||
new pbr::FileDescriptor[] { },
|
||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||
new pbr::GeneratedClrTypeInfo(typeof(global::npcRequest), global::npcRequest.Parser, new[]{ "NpcList", "RoomId", "Action" }, null, null, null, null),
|
||
new pbr::GeneratedClrTypeInfo(typeof(global::NpcShockRequest), global::NpcShockRequest.Parser, new[]{ "Value", "UserId", "RoomId" }, null, null, null, null)
|
||
}));
|
||
}
|
||
#endregion
|
||
|
||
}
|
||
#region Messages
|
||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||
public sealed partial class npcRequest : pb::IMessage<npcRequest>
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
, pb::IBufferMessage
|
||
#endif
|
||
{
|
||
private static readonly pb::MessageParser<npcRequest> _parser = new pb::MessageParser<npcRequest>(() => new npcRequest());
|
||
private pb::UnknownFieldSet _unknownFields;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pb::MessageParser<npcRequest> Parser { get { return _parser; } }
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pbr::MessageDescriptor Descriptor {
|
||
get { return global::NpcRequestReflection.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 npcRequest() {
|
||
OnConstruction();
|
||
}
|
||
|
||
partial void OnConstruction();
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public npcRequest(npcRequest other) : this() {
|
||
npcList_ = other.npcList_.Clone();
|
||
roomId_ = other.roomId_;
|
||
action_ = other.action_;
|
||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public npcRequest Clone() {
|
||
return new npcRequest(this);
|
||
}
|
||
|
||
/// <summary>Field number for the "npcList" field.</summary>
|
||
public const int NpcListFieldNumber = 1;
|
||
private static readonly pb::FieldCodec<string> _repeated_npcList_codec
|
||
= pb::FieldCodec.ForString(10);
|
||
private readonly pbc::RepeatedField<string> npcList_ = new pbc::RepeatedField<string>();
|
||
/// <summary>
|
||
/// NPC 列表Id 例如: [1,2,3,4,5,6,7,8,9]
|
||
/// </summary>
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public pbc::RepeatedField<string> NpcList {
|
||
get { return npcList_; }
|
||
}
|
||
|
||
/// <summary>Field number for the "roomId" field.</summary>
|
||
public const int RoomIdFieldNumber = 2;
|
||
private string roomId_ = "";
|
||
/// <summary>
|
||
/// 房间id
|
||
/// </summary>
|
||
[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 "action" field.</summary>
|
||
public const int ActionFieldNumber = 3;
|
||
private int action_;
|
||
/// <summary>
|
||
/// 触发的行为:1 进入烟雾 2 离开烟雾
|
||
/// </summary>
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public int Action {
|
||
get { return action_; }
|
||
set {
|
||
action_ = value;
|
||
}
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public override bool Equals(object other) {
|
||
return Equals(other as npcRequest);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public bool Equals(npcRequest other) {
|
||
if (ReferenceEquals(other, null)) {
|
||
return false;
|
||
}
|
||
if (ReferenceEquals(other, this)) {
|
||
return true;
|
||
}
|
||
if(!npcList_.Equals(other.npcList_)) return false;
|
||
if (RoomId != other.RoomId) return false;
|
||
if (Action != other.Action) 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 ^= npcList_.GetHashCode();
|
||
if (RoomId.Length != 0) hash ^= RoomId.GetHashCode();
|
||
if (Action != 0) hash ^= Action.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
|
||
npcList_.WriteTo(output, _repeated_npcList_codec);
|
||
if (RoomId.Length != 0) {
|
||
output.WriteRawTag(18);
|
||
output.WriteString(RoomId);
|
||
}
|
||
if (Action != 0) {
|
||
output.WriteRawTag(24);
|
||
output.WriteInt32(Action);
|
||
}
|
||
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) {
|
||
npcList_.WriteTo(ref output, _repeated_npcList_codec);
|
||
if (RoomId.Length != 0) {
|
||
output.WriteRawTag(18);
|
||
output.WriteString(RoomId);
|
||
}
|
||
if (Action != 0) {
|
||
output.WriteRawTag(24);
|
||
output.WriteInt32(Action);
|
||
}
|
||
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 += npcList_.CalculateSize(_repeated_npcList_codec);
|
||
if (RoomId.Length != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeStringSize(RoomId);
|
||
}
|
||
if (Action != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Action);
|
||
}
|
||
if (_unknownFields != null) {
|
||
size += _unknownFields.CalculateSize();
|
||
}
|
||
return size;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(npcRequest other) {
|
||
if (other == null) {
|
||
return;
|
||
}
|
||
npcList_.Add(other.npcList_);
|
||
if (other.RoomId.Length != 0) {
|
||
RoomId = other.RoomId;
|
||
}
|
||
if (other.Action != 0) {
|
||
Action = other.Action;
|
||
}
|
||
_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) {
|
||
if ((tag & 7) == 4) {
|
||
// Abort on any end group tag.
|
||
return;
|
||
}
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||
break;
|
||
case 10: {
|
||
npcList_.AddEntriesFrom(input, _repeated_npcList_codec);
|
||
break;
|
||
}
|
||
case 18: {
|
||
RoomId = input.ReadString();
|
||
break;
|
||
}
|
||
case 24: {
|
||
Action = 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) {
|
||
if ((tag & 7) == 4) {
|
||
// Abort on any end group tag.
|
||
return;
|
||
}
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||
break;
|
||
case 10: {
|
||
npcList_.AddEntriesFrom(ref input, _repeated_npcList_codec);
|
||
break;
|
||
}
|
||
case 18: {
|
||
RoomId = input.ReadString();
|
||
break;
|
||
}
|
||
case 24: {
|
||
Action = input.ReadInt32();
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||
public sealed partial class NpcShockRequest : pb::IMessage<NpcShockRequest>
|
||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||
, pb::IBufferMessage
|
||
#endif
|
||
{
|
||
private static readonly pb::MessageParser<NpcShockRequest> _parser = new pb::MessageParser<NpcShockRequest>(() => new NpcShockRequest());
|
||
private pb::UnknownFieldSet _unknownFields;
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pb::MessageParser<NpcShockRequest> Parser { get { return _parser; } }
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public static pbr::MessageDescriptor Descriptor {
|
||
get { return global::NpcRequestReflection.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 NpcShockRequest() {
|
||
OnConstruction();
|
||
}
|
||
|
||
partial void OnConstruction();
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public NpcShockRequest(NpcShockRequest other) : this() {
|
||
value_ = other.value_;
|
||
userId_ = other.userId_;
|
||
roomId_ = other.roomId_;
|
||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public NpcShockRequest Clone() {
|
||
return new NpcShockRequest(this);
|
||
}
|
||
|
||
/// <summary>Field number for the "value" field.</summary>
|
||
public const int ValueFieldNumber = 2;
|
||
private string value_ = "";
|
||
/// <summary>
|
||
/// 选项的增加值
|
||
/// </summary>
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public string Value {
|
||
get { return value_; }
|
||
set {
|
||
value_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "userId" field.</summary>
|
||
public const int UserIdFieldNumber = 3;
|
||
private string userId_ = "";
|
||
/// <summary>
|
||
/// 用户id
|
||
/// </summary>
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public string UserId {
|
||
get { return userId_; }
|
||
set {
|
||
userId_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||
}
|
||
}
|
||
|
||
/// <summary>Field number for the "RoomId" field.</summary>
|
||
public const int RoomIdFieldNumber = 1;
|
||
private string roomId_ = "";
|
||
/// <summary>
|
||
/// 房间ID
|
||
/// </summary>
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public string RoomId {
|
||
get { return roomId_; }
|
||
set {
|
||
roomId_ = 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 NpcShockRequest);
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public bool Equals(NpcShockRequest other) {
|
||
if (ReferenceEquals(other, null)) {
|
||
return false;
|
||
}
|
||
if (ReferenceEquals(other, this)) {
|
||
return true;
|
||
}
|
||
if (Value != other.Value) return false;
|
||
if (UserId != other.UserId) return false;
|
||
if (RoomId != other.RoomId) 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 (Value.Length != 0) hash ^= Value.GetHashCode();
|
||
if (UserId.Length != 0) hash ^= UserId.GetHashCode();
|
||
if (RoomId.Length != 0) hash ^= RoomId.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 (Value.Length != 0) {
|
||
output.WriteRawTag(18);
|
||
output.WriteString(Value);
|
||
}
|
||
if (UserId.Length != 0) {
|
||
output.WriteRawTag(26);
|
||
output.WriteString(UserId);
|
||
}
|
||
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 (Value.Length != 0) {
|
||
output.WriteRawTag(18);
|
||
output.WriteString(Value);
|
||
}
|
||
if (UserId.Length != 0) {
|
||
output.WriteRawTag(26);
|
||
output.WriteString(UserId);
|
||
}
|
||
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 (Value.Length != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeStringSize(Value);
|
||
}
|
||
if (UserId.Length != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeStringSize(UserId);
|
||
}
|
||
if (RoomId.Length != 0) {
|
||
size += 1 + pb::CodedOutputStream.ComputeStringSize(RoomId);
|
||
}
|
||
if (_unknownFields != null) {
|
||
size += _unknownFields.CalculateSize();
|
||
}
|
||
return size;
|
||
}
|
||
|
||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||
public void MergeFrom(NpcShockRequest other) {
|
||
if (other == null) {
|
||
return;
|
||
}
|
||
if (other.Value.Length != 0) {
|
||
Value = other.Value;
|
||
}
|
||
if (other.UserId.Length != 0) {
|
||
UserId = other.UserId;
|
||
}
|
||
if (other.RoomId.Length != 0) {
|
||
RoomId = other.RoomId;
|
||
}
|
||
_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) {
|
||
if ((tag & 7) == 4) {
|
||
// Abort on any end group tag.
|
||
return;
|
||
}
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||
break;
|
||
case 10: {
|
||
RoomId = input.ReadString();
|
||
break;
|
||
}
|
||
case 18: {
|
||
Value = input.ReadString();
|
||
break;
|
||
}
|
||
case 26: {
|
||
UserId = 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) {
|
||
if ((tag & 7) == 4) {
|
||
// Abort on any end group tag.
|
||
return;
|
||
}
|
||
switch(tag) {
|
||
default:
|
||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||
break;
|
||
case 10: {
|
||
RoomId = input.ReadString();
|
||
break;
|
||
}
|
||
case 18: {
|
||
Value = input.ReadString();
|
||
break;
|
||
}
|
||
case 26: {
|
||
UserId = input.ReadString();
|
||
break;
|
||
}
|
||
}
|
||
}
|
||
}
|
||
#endif
|
||
|
||
}
|
||
|
||
#endregion
|
||
|
||
|
||
#endregion Designer generated code
|