1214 lines
38 KiB
C#
1214 lines
38 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: player.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 player.proto</summary>
|
|
public static partial class PlayerReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for player.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static PlayerReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"CgxwbGF5ZXIucHJvdG8irgEKFlBsYXllckNhbGN1bGF0ZVJlcXVlc3QSEQoJ",
|
|
"aXNGaXJlSW5nGAEgASgIEhIKCmlzU21va2VJbmcYAiABKAgSFAoMZmlyZURp",
|
|
"c3RhbmNlGAMgASgCEg8KB2lzU2hvY2sYBiABKAgSDgoGcm9vbUlkGAQgASgJ",
|
|
"Eg8KB3NlY29uZHMYBSABKAUSFAoMaXNEZXRvbmF0aW9uGAcgASgIEg8KB2lz",
|
|
"V291bmQYCCABKAgiQAoQUGxheWVyTG9jYWxTdGF0ZRIMCgR0eXBlGAEgASgJ",
|
|
"Eg4KBnN0YXR1cxgCIAEoBRIOCgZyb29tSWQYAyABKAkiJAoSUGxheWVyTG9j",
|
|
"YWxSZXF1ZXN0Eg4KBnVzZXJJZBgBIAEoCSIlChNQbGF5ZXJMb2NhbFJlc3Bv",
|
|
"bnNlEg4KBnJvb21JZBgBIAEoCUIHWgUuLztwYmIGcHJvdG8z"));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::PlayerCalculateRequest), global::PlayerCalculateRequest.Parser, new[]{ "IsFireIng", "IsSmokeIng", "FireDistance", "IsShock", "RoomId", "Seconds", "IsDetonation", "IsWound" }, null, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::PlayerLocalState), global::PlayerLocalState.Parser, new[]{ "Type", "Status", "RoomId" }, null, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::PlayerLocalRequest), global::PlayerLocalRequest.Parser, new[]{ "UserId" }, null, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::PlayerLocalResponse), global::PlayerLocalResponse.Parser, new[]{ "RoomId" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class PlayerCalculateRequest : pb::IMessage<PlayerCalculateRequest>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<PlayerCalculateRequest> _parser = new pb::MessageParser<PlayerCalculateRequest>(() => new PlayerCalculateRequest());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<PlayerCalculateRequest> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::PlayerReflection.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 PlayerCalculateRequest() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public PlayerCalculateRequest(PlayerCalculateRequest other) : this() {
|
|
isFireIng_ = other.isFireIng_;
|
|
isSmokeIng_ = other.isSmokeIng_;
|
|
fireDistance_ = other.fireDistance_;
|
|
isShock_ = other.isShock_;
|
|
roomId_ = other.roomId_;
|
|
seconds_ = other.seconds_;
|
|
isDetonation_ = other.isDetonation_;
|
|
isWound_ = other.isWound_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public PlayerCalculateRequest Clone() {
|
|
return new PlayerCalculateRequest(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "isFireIng" field.</summary>
|
|
public const int IsFireIngFieldNumber = 1;
|
|
private bool isFireIng_;
|
|
/// <summary>
|
|
/// 处于火势边缘 true 在火势边缘 false 不在火势边缘
|
|
/// </summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool IsFireIng {
|
|
get { return isFireIng_; }
|
|
set {
|
|
isFireIng_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "isSmokeIng" field.</summary>
|
|
public const int IsSmokeIngFieldNumber = 2;
|
|
private bool isSmokeIng_;
|
|
/// <summary>
|
|
/// 处于烟雾中 true 在烟雾中 false 不在烟雾中
|
|
/// </summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool IsSmokeIng {
|
|
get { return isSmokeIng_; }
|
|
set {
|
|
isSmokeIng_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "fireDistance" field.</summary>
|
|
public const int FireDistanceFieldNumber = 3;
|
|
private float fireDistance_;
|
|
/// <summary>
|
|
/// 火势距离
|
|
/// </summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public float FireDistance {
|
|
get { return fireDistance_; }
|
|
set {
|
|
fireDistance_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "isShock" field.</summary>
|
|
public const int IsShockFieldNumber = 6;
|
|
private bool isShock_;
|
|
/// <summary>
|
|
/// 是否触电 true 触电 false 不触电
|
|
/// </summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool IsShock {
|
|
get { return isShock_; }
|
|
set {
|
|
isShock_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "roomId" field.</summary>
|
|
public const int RoomIdFieldNumber = 4;
|
|
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 "seconds" field.</summary>
|
|
public const int SecondsFieldNumber = 5;
|
|
private int seconds_;
|
|
/// <summary>
|
|
/// 持续时间
|
|
/// </summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int Seconds {
|
|
get { return seconds_; }
|
|
set {
|
|
seconds_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "isDetonation" field.</summary>
|
|
public const int IsDetonationFieldNumber = 7;
|
|
private bool isDetonation_;
|
|
/// <summary>
|
|
/// 是否燃气爆燃 true 爆炸 false 不爆炸
|
|
/// </summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool IsDetonation {
|
|
get { return isDetonation_; }
|
|
set {
|
|
isDetonation_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "isWound" field.</summary>
|
|
public const int IsWoundFieldNumber = 8;
|
|
private bool isWound_;
|
|
/// <summary>
|
|
/// 是否被被消防水带击伤 true 被击伤 false 未被击伤
|
|
/// </summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool IsWound {
|
|
get { return isWound_; }
|
|
set {
|
|
isWound_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as PlayerCalculateRequest);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(PlayerCalculateRequest other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (IsFireIng != other.IsFireIng) return false;
|
|
if (IsSmokeIng != other.IsSmokeIng) return false;
|
|
if (!pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.Equals(FireDistance, other.FireDistance)) return false;
|
|
if (IsShock != other.IsShock) return false;
|
|
if (RoomId != other.RoomId) return false;
|
|
if (Seconds != other.Seconds) return false;
|
|
if (IsDetonation != other.IsDetonation) return false;
|
|
if (IsWound != other.IsWound) 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 (IsFireIng != false) hash ^= IsFireIng.GetHashCode();
|
|
if (IsSmokeIng != false) hash ^= IsSmokeIng.GetHashCode();
|
|
if (FireDistance != 0F) hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(FireDistance);
|
|
if (IsShock != false) hash ^= IsShock.GetHashCode();
|
|
if (RoomId.Length != 0) hash ^= RoomId.GetHashCode();
|
|
if (Seconds != 0) hash ^= Seconds.GetHashCode();
|
|
if (IsDetonation != false) hash ^= IsDetonation.GetHashCode();
|
|
if (IsWound != false) hash ^= IsWound.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 (IsFireIng != false) {
|
|
output.WriteRawTag(8);
|
|
output.WriteBool(IsFireIng);
|
|
}
|
|
if (IsSmokeIng != false) {
|
|
output.WriteRawTag(16);
|
|
output.WriteBool(IsSmokeIng);
|
|
}
|
|
if (FireDistance != 0F) {
|
|
output.WriteRawTag(29);
|
|
output.WriteFloat(FireDistance);
|
|
}
|
|
if (RoomId.Length != 0) {
|
|
output.WriteRawTag(34);
|
|
output.WriteString(RoomId);
|
|
}
|
|
if (Seconds != 0) {
|
|
output.WriteRawTag(40);
|
|
output.WriteInt32(Seconds);
|
|
}
|
|
if (IsShock != false) {
|
|
output.WriteRawTag(48);
|
|
output.WriteBool(IsShock);
|
|
}
|
|
if (IsDetonation != false) {
|
|
output.WriteRawTag(56);
|
|
output.WriteBool(IsDetonation);
|
|
}
|
|
if (IsWound != false) {
|
|
output.WriteRawTag(64);
|
|
output.WriteBool(IsWound);
|
|
}
|
|
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 (IsFireIng != false) {
|
|
output.WriteRawTag(8);
|
|
output.WriteBool(IsFireIng);
|
|
}
|
|
if (IsSmokeIng != false) {
|
|
output.WriteRawTag(16);
|
|
output.WriteBool(IsSmokeIng);
|
|
}
|
|
if (FireDistance != 0F) {
|
|
output.WriteRawTag(29);
|
|
output.WriteFloat(FireDistance);
|
|
}
|
|
if (RoomId.Length != 0) {
|
|
output.WriteRawTag(34);
|
|
output.WriteString(RoomId);
|
|
}
|
|
if (Seconds != 0) {
|
|
output.WriteRawTag(40);
|
|
output.WriteInt32(Seconds);
|
|
}
|
|
if (IsShock != false) {
|
|
output.WriteRawTag(48);
|
|
output.WriteBool(IsShock);
|
|
}
|
|
if (IsDetonation != false) {
|
|
output.WriteRawTag(56);
|
|
output.WriteBool(IsDetonation);
|
|
}
|
|
if (IsWound != false) {
|
|
output.WriteRawTag(64);
|
|
output.WriteBool(IsWound);
|
|
}
|
|
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 (IsFireIng != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (IsSmokeIng != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (FireDistance != 0F) {
|
|
size += 1 + 4;
|
|
}
|
|
if (IsShock != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (RoomId.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(RoomId);
|
|
}
|
|
if (Seconds != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Seconds);
|
|
}
|
|
if (IsDetonation != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (IsWound != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(PlayerCalculateRequest other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.IsFireIng != false) {
|
|
IsFireIng = other.IsFireIng;
|
|
}
|
|
if (other.IsSmokeIng != false) {
|
|
IsSmokeIng = other.IsSmokeIng;
|
|
}
|
|
if (other.FireDistance != 0F) {
|
|
FireDistance = other.FireDistance;
|
|
}
|
|
if (other.IsShock != false) {
|
|
IsShock = other.IsShock;
|
|
}
|
|
if (other.RoomId.Length != 0) {
|
|
RoomId = other.RoomId;
|
|
}
|
|
if (other.Seconds != 0) {
|
|
Seconds = other.Seconds;
|
|
}
|
|
if (other.IsDetonation != false) {
|
|
IsDetonation = other.IsDetonation;
|
|
}
|
|
if (other.IsWound != false) {
|
|
IsWound = other.IsWound;
|
|
}
|
|
_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 8: {
|
|
IsFireIng = input.ReadBool();
|
|
break;
|
|
}
|
|
case 16: {
|
|
IsSmokeIng = input.ReadBool();
|
|
break;
|
|
}
|
|
case 29: {
|
|
FireDistance = input.ReadFloat();
|
|
break;
|
|
}
|
|
case 34: {
|
|
RoomId = input.ReadString();
|
|
break;
|
|
}
|
|
case 40: {
|
|
Seconds = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 48: {
|
|
IsShock = input.ReadBool();
|
|
break;
|
|
}
|
|
case 56: {
|
|
IsDetonation = input.ReadBool();
|
|
break;
|
|
}
|
|
case 64: {
|
|
IsWound = input.ReadBool();
|
|
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 8: {
|
|
IsFireIng = input.ReadBool();
|
|
break;
|
|
}
|
|
case 16: {
|
|
IsSmokeIng = input.ReadBool();
|
|
break;
|
|
}
|
|
case 29: {
|
|
FireDistance = input.ReadFloat();
|
|
break;
|
|
}
|
|
case 34: {
|
|
RoomId = input.ReadString();
|
|
break;
|
|
}
|
|
case 40: {
|
|
Seconds = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 48: {
|
|
IsShock = input.ReadBool();
|
|
break;
|
|
}
|
|
case 56: {
|
|
IsDetonation = input.ReadBool();
|
|
break;
|
|
}
|
|
case 64: {
|
|
IsWound = input.ReadBool();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class PlayerLocalState : pb::IMessage<PlayerLocalState>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<PlayerLocalState> _parser = new pb::MessageParser<PlayerLocalState>(() => new PlayerLocalState());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<PlayerLocalState> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::PlayerReflection.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 PlayerLocalState() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public PlayerLocalState(PlayerLocalState other) : this() {
|
|
type_ = other.type_;
|
|
status_ = other.status_;
|
|
roomId_ = other.roomId_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public PlayerLocalState Clone() {
|
|
return new PlayerLocalState(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "type" field.</summary>
|
|
public const int TypeFieldNumber = 1;
|
|
private string type_ = "";
|
|
/// <summary>
|
|
/// 事件类型
|
|
/// </summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string Type {
|
|
get { return type_; }
|
|
set {
|
|
type_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "status" field.</summary>
|
|
public const int StatusFieldNumber = 2;
|
|
private int status_;
|
|
/// <summary>
|
|
/// 状态 1 开启 2 关闭
|
|
/// </summary>
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int Status {
|
|
get { return status_; }
|
|
set {
|
|
status_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "roomId" field.</summary>
|
|
public const int RoomIdFieldNumber = 3;
|
|
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 PlayerLocalState);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(PlayerLocalState other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (Type != other.Type) return false;
|
|
if (Status != other.Status) 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 (Type.Length != 0) hash ^= Type.GetHashCode();
|
|
if (Status != 0) hash ^= Status.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 (Type.Length != 0) {
|
|
output.WriteRawTag(10);
|
|
output.WriteString(Type);
|
|
}
|
|
if (Status != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteInt32(Status);
|
|
}
|
|
if (RoomId.Length != 0) {
|
|
output.WriteRawTag(26);
|
|
output.WriteString(RoomId);
|
|
}
|
|
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 (Type.Length != 0) {
|
|
output.WriteRawTag(10);
|
|
output.WriteString(Type);
|
|
}
|
|
if (Status != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteInt32(Status);
|
|
}
|
|
if (RoomId.Length != 0) {
|
|
output.WriteRawTag(26);
|
|
output.WriteString(RoomId);
|
|
}
|
|
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 (Type.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Type);
|
|
}
|
|
if (Status != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Status);
|
|
}
|
|
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(PlayerLocalState other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.Type.Length != 0) {
|
|
Type = other.Type;
|
|
}
|
|
if (other.Status != 0) {
|
|
Status = other.Status;
|
|
}
|
|
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: {
|
|
Type = input.ReadString();
|
|
break;
|
|
}
|
|
case 16: {
|
|
Status = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 26: {
|
|
RoomId = 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: {
|
|
Type = input.ReadString();
|
|
break;
|
|
}
|
|
case 16: {
|
|
Status = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 26: {
|
|
RoomId = input.ReadString();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class PlayerLocalRequest : pb::IMessage<PlayerLocalRequest>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<PlayerLocalRequest> _parser = new pb::MessageParser<PlayerLocalRequest>(() => new PlayerLocalRequest());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<PlayerLocalRequest> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::PlayerReflection.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 PlayerLocalRequest() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public PlayerLocalRequest(PlayerLocalRequest other) : this() {
|
|
userId_ = other.userId_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public PlayerLocalRequest Clone() {
|
|
return new PlayerLocalRequest(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "userId" field.</summary>
|
|
public const int UserIdFieldNumber = 1;
|
|
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");
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as PlayerLocalRequest);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(PlayerLocalRequest other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (UserId != other.UserId) 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 (UserId.Length != 0) hash ^= UserId.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 (UserId.Length != 0) {
|
|
output.WriteRawTag(10);
|
|
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 (UserId.Length != 0) {
|
|
output.WriteRawTag(10);
|
|
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 (UserId.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(UserId);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(PlayerLocalRequest other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.UserId.Length != 0) {
|
|
UserId = other.UserId;
|
|
}
|
|
_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: {
|
|
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: {
|
|
UserId = input.ReadString();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class PlayerLocalResponse : pb::IMessage<PlayerLocalResponse>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<PlayerLocalResponse> _parser = new pb::MessageParser<PlayerLocalResponse>(() => new PlayerLocalResponse());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<PlayerLocalResponse> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::PlayerReflection.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 PlayerLocalResponse() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public PlayerLocalResponse(PlayerLocalResponse other) : this() {
|
|
roomId_ = other.roomId_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public PlayerLocalResponse Clone() {
|
|
return new PlayerLocalResponse(this);
|
|
}
|
|
|
|
/// <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 PlayerLocalResponse);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(PlayerLocalResponse other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
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 (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 (_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 (_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 (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(PlayerLocalResponse other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
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;
|
|
}
|
|
}
|
|
}
|
|
#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;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
|
|
#endregion Designer generated code
|