|
|
|
@ -44,8 +44,11 @@ namespace Pb.Game.Zhgww2 {
|
|
|
|
|
"cGIuZ2FtZS56aGd3dzIuU3VwcG9ydFNwZWNpYWwuVHlwZRINCgVjb3VudBgD",
|
|
|
|
|
"IAEoBSIiCgRUeXBlEg4KClBBUkFUUk9PUFMQABIKCgZCT01CRVIQASJACg5T",
|
|
|
|
|
"dXBwb3J0QWlyZHJvcBIfCgR1c2VyGAEgASgLMhEucGIuY29tbW9uLlBiVXNl",
|
|
|
|
|
"chINCgVsZXZlbBgCIAEoBUImWiRkY2cvZ2FtZS9wYi9nYW1lL3poZ3d3Mjtw",
|
|
|
|
|
"YkdhbWVaaGdXVzJiBnByb3RvMw=="));
|
|
|
|
|
"chINCgVsZXZlbBgCIAEoBSI9CghPdmVydGltZRIfCgR1c2VyGAEgASgLMhEu",
|
|
|
|
|
"cGIuY29tbW9uLlBiVXNlchIQCghkdXJhdGlvbhgCIAEoBSJACg9CZWNvbWVD",
|
|
|
|
|
"b21tYW5kZXISHwoEdXNlchgBIAEoCzIRLnBiLmNvbW1vbi5QYlVzZXISDAoE",
|
|
|
|
|
"cmFuZBgCIAEoBUImWiRkY2cvZ2FtZS9wYi9nYW1lL3poZ3d3MjtwYkdhbWVa",
|
|
|
|
|
"aGdXVzJiBnByb3RvMw=="));
|
|
|
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
|
|
|
new pbr::FileDescriptor[] { global::Pb.Common.CommonReflection.Descriptor, },
|
|
|
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
|
|
@ -59,7 +62,9 @@ namespace Pb.Game.Zhgww2 {
|
|
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Pb.Game.Zhgww2.SupportSkill), global::Pb.Game.Zhgww2.SupportSkill.Parser, new[]{ "User", "Skill" }, null, null, null, null),
|
|
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Pb.Game.Zhgww2.ChargeTank), global::Pb.Game.Zhgww2.ChargeTank.Parser, new[]{ "User", "Value" }, null, null, null, null),
|
|
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Pb.Game.Zhgww2.SupportSpecial), global::Pb.Game.Zhgww2.SupportSpecial.Parser, new[]{ "User", "Type", "Count" }, null, new[]{ typeof(global::Pb.Game.Zhgww2.SupportSpecial.Types.Type) }, null, null),
|
|
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Pb.Game.Zhgww2.SupportAirdrop), global::Pb.Game.Zhgww2.SupportAirdrop.Parser, new[]{ "User", "Level" }, null, null, null, null)
|
|
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Pb.Game.Zhgww2.SupportAirdrop), global::Pb.Game.Zhgww2.SupportAirdrop.Parser, new[]{ "User", "Level" }, null, null, null, null),
|
|
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Pb.Game.Zhgww2.Overtime), global::Pb.Game.Zhgww2.Overtime.Parser, new[]{ "User", "Duration" }, null, null, null, null),
|
|
|
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Pb.Game.Zhgww2.BecomeCommander), global::Pb.Game.Zhgww2.BecomeCommander.Parser, new[]{ "User", "Rand" }, null, null, null, null)
|
|
|
|
|
}));
|
|
|
|
|
}
|
|
|
|
|
#endregion
|
|
|
|
@ -2933,6 +2938,488 @@ namespace Pb.Game.Zhgww2 {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 加时 push -> game.control.overtime
|
|
|
|
|
/// </summary>
|
|
|
|
|
public sealed partial class Overtime : pb::IMessage<Overtime>
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
, pb::IBufferMessage
|
|
|
|
|
#endif
|
|
|
|
|
{
|
|
|
|
|
private static readonly pb::MessageParser<Overtime> _parser = new pb::MessageParser<Overtime>(() => new Overtime());
|
|
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
|
public static pb::MessageParser<Overtime> Parser { get { return _parser; } }
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
|
|
|
get { return global::Pb.Game.Zhgww2.CommandReflection.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 Overtime() {
|
|
|
|
|
OnConstruction();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
partial void OnConstruction();
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
|
public Overtime(Overtime other) : this() {
|
|
|
|
|
user_ = other.user_ != null ? other.user_.Clone() : null;
|
|
|
|
|
duration_ = other.duration_;
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
|
public Overtime Clone() {
|
|
|
|
|
return new Overtime(this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "user" field.</summary>
|
|
|
|
|
public const int UserFieldNumber = 1;
|
|
|
|
|
private global::Pb.Common.PbUser user_;
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
|
public global::Pb.Common.PbUser User {
|
|
|
|
|
get { return user_; }
|
|
|
|
|
set {
|
|
|
|
|
user_ = value;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "duration" field.</summary>
|
|
|
|
|
public const int DurationFieldNumber = 2;
|
|
|
|
|
private int duration_;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 具体加时时长,单位:秒
|
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
|
public int Duration {
|
|
|
|
|
get { return duration_; }
|
|
|
|
|
set {
|
|
|
|
|
duration_ = value;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
|
public override bool Equals(object other) {
|
|
|
|
|
return Equals(other as Overtime);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
|
public bool Equals(Overtime other) {
|
|
|
|
|
if (ReferenceEquals(other, null)) {
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
if (ReferenceEquals(other, this)) {
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
if (!object.Equals(User, other.User)) return false;
|
|
|
|
|
if (Duration != other.Duration) 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 (user_ != null) hash ^= User.GetHashCode();
|
|
|
|
|
if (Duration != 0) hash ^= Duration.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 (user_ != null) {
|
|
|
|
|
output.WriteRawTag(10);
|
|
|
|
|
output.WriteMessage(User);
|
|
|
|
|
}
|
|
|
|
|
if (Duration != 0) {
|
|
|
|
|
output.WriteRawTag(16);
|
|
|
|
|
output.WriteInt32(Duration);
|
|
|
|
|
}
|
|
|
|
|
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 (user_ != null) {
|
|
|
|
|
output.WriteRawTag(10);
|
|
|
|
|
output.WriteMessage(User);
|
|
|
|
|
}
|
|
|
|
|
if (Duration != 0) {
|
|
|
|
|
output.WriteRawTag(16);
|
|
|
|
|
output.WriteInt32(Duration);
|
|
|
|
|
}
|
|
|
|
|
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 (user_ != null) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(User);
|
|
|
|
|
}
|
|
|
|
|
if (Duration != 0) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Duration);
|
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
size += _unknownFields.CalculateSize();
|
|
|
|
|
}
|
|
|
|
|
return size;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
|
public void MergeFrom(Overtime other) {
|
|
|
|
|
if (other == null) {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (other.user_ != null) {
|
|
|
|
|
if (user_ == null) {
|
|
|
|
|
User = new global::Pb.Common.PbUser();
|
|
|
|
|
}
|
|
|
|
|
User.MergeFrom(other.User);
|
|
|
|
|
}
|
|
|
|
|
if (other.Duration != 0) {
|
|
|
|
|
Duration = other.Duration;
|
|
|
|
|
}
|
|
|
|
|
_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: {
|
|
|
|
|
if (user_ == null) {
|
|
|
|
|
User = new global::Pb.Common.PbUser();
|
|
|
|
|
}
|
|
|
|
|
input.ReadMessage(User);
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 16: {
|
|
|
|
|
Duration = 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: {
|
|
|
|
|
if (user_ == null) {
|
|
|
|
|
User = new global::Pb.Common.PbUser();
|
|
|
|
|
}
|
|
|
|
|
input.ReadMessage(User);
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 16: {
|
|
|
|
|
Duration = input.ReadInt32();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 成为指挥官 push -> game.become.commander
|
|
|
|
|
/// </summary>
|
|
|
|
|
public sealed partial class BecomeCommander : pb::IMessage<BecomeCommander>
|
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
|
|
|
, pb::IBufferMessage
|
|
|
|
|
#endif
|
|
|
|
|
{
|
|
|
|
|
private static readonly pb::MessageParser<BecomeCommander> _parser = new pb::MessageParser<BecomeCommander>(() => new BecomeCommander());
|
|
|
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
|
public static pb::MessageParser<BecomeCommander> Parser { get { return _parser; } }
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
|
|
|
get { return global::Pb.Game.Zhgww2.CommandReflection.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 BecomeCommander() {
|
|
|
|
|
OnConstruction();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
partial void OnConstruction();
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
|
public BecomeCommander(BecomeCommander other) : this() {
|
|
|
|
|
user_ = other.user_ != null ? other.user_.Clone() : null;
|
|
|
|
|
rand_ = other.rand_;
|
|
|
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
|
public BecomeCommander Clone() {
|
|
|
|
|
return new BecomeCommander(this);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "user" field.</summary>
|
|
|
|
|
public const int UserFieldNumber = 1;
|
|
|
|
|
private global::Pb.Common.PbUser user_;
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
|
public global::Pb.Common.PbUser User {
|
|
|
|
|
get { return user_; }
|
|
|
|
|
set {
|
|
|
|
|
user_ = value;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>Field number for the "rand" field.</summary>
|
|
|
|
|
public const int RandFieldNumber = 2;
|
|
|
|
|
private int rand_;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 随机到的数值
|
|
|
|
|
/// </summary>
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
|
public int Rand {
|
|
|
|
|
get { return rand_; }
|
|
|
|
|
set {
|
|
|
|
|
rand_ = value;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
|
public override bool Equals(object other) {
|
|
|
|
|
return Equals(other as BecomeCommander);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
|
public bool Equals(BecomeCommander other) {
|
|
|
|
|
if (ReferenceEquals(other, null)) {
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
if (ReferenceEquals(other, this)) {
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
if (!object.Equals(User, other.User)) return false;
|
|
|
|
|
if (Rand != other.Rand) 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 (user_ != null) hash ^= User.GetHashCode();
|
|
|
|
|
if (Rand != 0) hash ^= Rand.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 (user_ != null) {
|
|
|
|
|
output.WriteRawTag(10);
|
|
|
|
|
output.WriteMessage(User);
|
|
|
|
|
}
|
|
|
|
|
if (Rand != 0) {
|
|
|
|
|
output.WriteRawTag(16);
|
|
|
|
|
output.WriteInt32(Rand);
|
|
|
|
|
}
|
|
|
|
|
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 (user_ != null) {
|
|
|
|
|
output.WriteRawTag(10);
|
|
|
|
|
output.WriteMessage(User);
|
|
|
|
|
}
|
|
|
|
|
if (Rand != 0) {
|
|
|
|
|
output.WriteRawTag(16);
|
|
|
|
|
output.WriteInt32(Rand);
|
|
|
|
|
}
|
|
|
|
|
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 (user_ != null) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeMessageSize(User);
|
|
|
|
|
}
|
|
|
|
|
if (Rand != 0) {
|
|
|
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Rand);
|
|
|
|
|
}
|
|
|
|
|
if (_unknownFields != null) {
|
|
|
|
|
size += _unknownFields.CalculateSize();
|
|
|
|
|
}
|
|
|
|
|
return size;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
|
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
|
|
|
public void MergeFrom(BecomeCommander other) {
|
|
|
|
|
if (other == null) {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
if (other.user_ != null) {
|
|
|
|
|
if (user_ == null) {
|
|
|
|
|
User = new global::Pb.Common.PbUser();
|
|
|
|
|
}
|
|
|
|
|
User.MergeFrom(other.User);
|
|
|
|
|
}
|
|
|
|
|
if (other.Rand != 0) {
|
|
|
|
|
Rand = other.Rand;
|
|
|
|
|
}
|
|
|
|
|
_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: {
|
|
|
|
|
if (user_ == null) {
|
|
|
|
|
User = new global::Pb.Common.PbUser();
|
|
|
|
|
}
|
|
|
|
|
input.ReadMessage(User);
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 16: {
|
|
|
|
|
Rand = 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: {
|
|
|
|
|
if (user_ == null) {
|
|
|
|
|
User = new global::Pb.Common.PbUser();
|
|
|
|
|
}
|
|
|
|
|
input.ReadMessage(User);
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
case 16: {
|
|
|
|
|
Rand = input.ReadInt32();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|