// // Generated by the protocol buffer compiler. DO NOT EDIT! // source: common.proto // #pragma warning disable 1591, 0612, 3021 #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 Pb.Common { /// Holder for reflection information generated from common.proto public static partial class CommonReflection { #region Descriptor /// File descriptor for common.proto public static pbr::FileDescriptor Descriptor { get { return descriptor; } } private static pbr::FileDescriptor descriptor; static CommonReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( "Cgxjb21tb24ucHJvdG8SCXBiLmNvbW1vbiJdCgZQYlVzZXISCwoDdUlkGAEg", "ASgDEg0KBXVuYW1lGAIgASgJEg4KBmF2YXRhchgDIAEoCRIVCg1ub2JpbGl0", "eUxldmVsGAQgASgFEhAKCGludGVncmFsGAUgASgDIjIKDUdhbWVTdGF0dXNS", "ZXESDgoGc3RhdHVzGAEgASgFEhEKCXRpbWVzdGFtcBgCIAEoAyJGCg5HYW1l", "U3RhdHVzUmVzcBIPCgdzdWNjZXNzGAEgASgIEhAKCGJhdHRsZUlkGAIgASgD", "EhEKCXRpbWVzdGFtcBgDIAEoAyJYChNVc2VySW50ZWdyYWxDaGFuZ2VkEh8K", "BHVzZXIYASABKAsyES5wYi5jb21tb24uUGJVc2VyEg4KBmNoYW5nZRgCIAEo", "AxIQCghpbnRlZ3JhbBgDIAEoAyI3ChVDaGFuZ2VVc2VySW50ZWdyYWxSZXES", "DgoGdXNlcklkGAEgASgDEg4KBmNoYW5nZRgCIAEoAyJlChZDaGFuZ2VVc2Vy", "SW50ZWdyYWxSZXNwEgwKBGNvZGUYASABKAUSCwoDbXNnGAIgASgJEg4KBnVz", "ZXJJZBgDIAEoAxIOCgZjaGFuZ2UYBCABKAMSEAoIaW50ZWdyYWwYBSABKAMi", "dAoKQ2hlY2tJbk1zZxIMCgRjb2RlGAEgASgFEgsKA21zZxgCIAEoCRIfCgR1", "c2VyGAMgASgLMhEucGIuY29tbW9uLlBiVXNlchIWCg5pbnRlZ3JhbENoYW5n", "ZRgEIAEoAxISCgppc0NyaXRpY2FsGAUgASgIImEKC0dpZnRQYWNrTXNnEgwK", "BGNvZGUYASABKAUSCwoDbXNnGAIgASgJEh8KBHVzZXIYAyABKAsyES5wYi5j", "b21tb24uUGJVc2VyEhYKDmludGVncmFsQ2hhbmdlGAQgASgDIqwBCgxVc2Vy", "UXVlcnlNc2cSHwoEdXNlchgBIAEoCzIRLnBiLmNvbW1vbi5QYlVzZXISLgoE", "cmFuaxgCIAMoCzIgLnBiLmNvbW1vbi5Vc2VyUXVlcnlNc2cuUmFua0l0ZW0S", "EAoIdGl0bGVJZHMYAyADKAMaOQoIUmFua0l0ZW0SEAoIcmFua1R5cGUYASAB", "KAUSDQoFc2NvcmUYAiABKAMSDAoEcmFuaxgDIAEoBSI+CgpEYW5tYWt1TXNn", "Eh8KBHVzZXIYASABKAsyES5wYi5jb21tb24uUGJVc2VyEg8KB2NvbnRlbnQY", "AiABKAkieAoHR2lmdE1zZxIfCgR1c2VyGAEgASgLMhEucGIuY29tbW9uLlBi", "VXNlchIOCgZnaWZ0SWQYAiABKAMSCwoDbnVtGAMgASgDEhAKCGdpZnROYW1l", "GAQgASgJEg0KBXByaWNlGAUgASgDEg4KBmlzUGFpZBgGIAEoCCKdAQoNUmV3", "YXJkUG9vbE1zZxITCgt3ZWxmYXJlUG9vbBgBIAEoAxIQCghiYXR0bGVJZBgC", "IAEoAxISCgppbml0UmV3YXJkGAMgASgDEhIKCmdpZnRSZXdhcmQYBCABKAMS", "FAoMYmF0dGxlUmV3YXJkGAUgASgDEhMKC290aGVyUmV3YXJkGAYgASgDEhIK", "CmFsbFJld2FyZHMYCiABKANCHVobZGNnL2dhbWUvcGIvY29tbW9uO3BiQ29t", "bW9uYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Pb.Common.PbUser), global::Pb.Common.PbUser.Parser, new[]{ "UId", "Uname", "Avatar", "NobilityLevel", "Integral" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Pb.Common.GameStatusReq), global::Pb.Common.GameStatusReq.Parser, new[]{ "Status", "Timestamp" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Pb.Common.GameStatusResp), global::Pb.Common.GameStatusResp.Parser, new[]{ "Success", "BattleId", "Timestamp" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Pb.Common.UserIntegralChanged), global::Pb.Common.UserIntegralChanged.Parser, new[]{ "User", "Change", "Integral" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Pb.Common.ChangeUserIntegralReq), global::Pb.Common.ChangeUserIntegralReq.Parser, new[]{ "UserId", "Change" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Pb.Common.ChangeUserIntegralResp), global::Pb.Common.ChangeUserIntegralResp.Parser, new[]{ "Code", "Msg", "UserId", "Change", "Integral" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Pb.Common.CheckInMsg), global::Pb.Common.CheckInMsg.Parser, new[]{ "Code", "Msg", "User", "IntegralChange", "IsCritical" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Pb.Common.GiftPackMsg), global::Pb.Common.GiftPackMsg.Parser, new[]{ "Code", "Msg", "User", "IntegralChange" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Pb.Common.UserQueryMsg), global::Pb.Common.UserQueryMsg.Parser, new[]{ "User", "Rank", "TitleIds" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Pb.Common.UserQueryMsg.Types.RankItem), global::Pb.Common.UserQueryMsg.Types.RankItem.Parser, new[]{ "RankType", "Score", "Rank" }, null, null, null, null)}), new pbr::GeneratedClrTypeInfo(typeof(global::Pb.Common.DanmakuMsg), global::Pb.Common.DanmakuMsg.Parser, new[]{ "User", "Content" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Pb.Common.GiftMsg), global::Pb.Common.GiftMsg.Parser, new[]{ "User", "GiftId", "Num", "GiftName", "Price", "IsPaid" }, null, null, null, null), new pbr::GeneratedClrTypeInfo(typeof(global::Pb.Common.RewardPoolMsg), global::Pb.Common.RewardPoolMsg.Parser, new[]{ "WelfarePool", "BattleId", "InitReward", "GiftReward", "BattleReward", "OtherReward", "AllRewards" }, null, null, null, null) })); } #endregion } #region Messages /// /// PbUser 用户 /// public sealed partial class PbUser : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PbUser()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Pb.Common.CommonReflection.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 PbUser() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public PbUser(PbUser other) : this() { uId_ = other.uId_; uname_ = other.uname_; avatar_ = other.avatar_; nobilityLevel_ = other.nobilityLevel_; integral_ = other.integral_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public PbUser Clone() { return new PbUser(this); } /// Field number for the "uId" field. public const int UIdFieldNumber = 1; private long uId_; /// /// 用户id /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long UId { get { return uId_; } set { uId_ = value; } } /// Field number for the "uname" field. public const int UnameFieldNumber = 2; private string uname_ = ""; /// /// 用户名 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Uname { get { return uname_; } set { uname_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "avatar" field. public const int AvatarFieldNumber = 3; private string avatar_ = ""; /// /// 头像 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Avatar { get { return avatar_; } set { avatar_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "nobilityLevel" field. public const int NobilityLevelFieldNumber = 4; private int nobilityLevel_; /// /// 贵族等级 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int NobilityLevel { get { return nobilityLevel_; } set { nobilityLevel_ = value; } } /// Field number for the "integral" field. public const int IntegralFieldNumber = 5; private long integral_; /// /// 用户当前积分 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long Integral { get { return integral_; } set { integral_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as PbUser); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(PbUser other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (UId != other.UId) return false; if (Uname != other.Uname) return false; if (Avatar != other.Avatar) return false; if (NobilityLevel != other.NobilityLevel) return false; if (Integral != other.Integral) 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 != 0L) hash ^= UId.GetHashCode(); if (Uname.Length != 0) hash ^= Uname.GetHashCode(); if (Avatar.Length != 0) hash ^= Avatar.GetHashCode(); if (NobilityLevel != 0) hash ^= NobilityLevel.GetHashCode(); if (Integral != 0L) hash ^= Integral.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 != 0L) { output.WriteRawTag(8); output.WriteInt64(UId); } if (Uname.Length != 0) { output.WriteRawTag(18); output.WriteString(Uname); } if (Avatar.Length != 0) { output.WriteRawTag(26); output.WriteString(Avatar); } if (NobilityLevel != 0) { output.WriteRawTag(32); output.WriteInt32(NobilityLevel); } if (Integral != 0L) { output.WriteRawTag(40); output.WriteInt64(Integral); } 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 != 0L) { output.WriteRawTag(8); output.WriteInt64(UId); } if (Uname.Length != 0) { output.WriteRawTag(18); output.WriteString(Uname); } if (Avatar.Length != 0) { output.WriteRawTag(26); output.WriteString(Avatar); } if (NobilityLevel != 0) { output.WriteRawTag(32); output.WriteInt32(NobilityLevel); } if (Integral != 0L) { output.WriteRawTag(40); output.WriteInt64(Integral); } 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 != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(UId); } if (Uname.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Uname); } if (Avatar.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Avatar); } if (NobilityLevel != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(NobilityLevel); } if (Integral != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(Integral); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(PbUser other) { if (other == null) { return; } if (other.UId != 0L) { UId = other.UId; } if (other.Uname.Length != 0) { Uname = other.Uname; } if (other.Avatar.Length != 0) { Avatar = other.Avatar; } if (other.NobilityLevel != 0) { NobilityLevel = other.NobilityLevel; } if (other.Integral != 0L) { Integral = other.Integral; } _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: { UId = input.ReadInt64(); break; } case 18: { Uname = input.ReadString(); break; } case 26: { Avatar = input.ReadString(); break; } case 32: { NobilityLevel = input.ReadInt32(); break; } case 40: { Integral = 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: { UId = input.ReadInt64(); break; } case 18: { Uname = input.ReadString(); break; } case 26: { Avatar = input.ReadString(); break; } case 32: { NobilityLevel = input.ReadInt32(); break; } case 40: { Integral = input.ReadInt64(); break; } } } } #endif } /// /// GameStatusReq 游戏状态控制 game.status /// public sealed partial class GameStatusReq : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GameStatusReq()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Pb.Common.CommonReflection.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 GameStatusReq() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GameStatusReq(GameStatusReq other) : this() { status_ = other.status_; timestamp_ = other.timestamp_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GameStatusReq Clone() { return new GameStatusReq(this); } /// Field number for the "status" field. public const int StatusFieldNumber = 1; private int status_; /// /// 1开始新战局 2结束战局 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Status { get { return status_; } set { status_ = value; } } /// Field number for the "timestamp" field. public const int TimestampFieldNumber = 2; private long timestamp_; /// /// 时间戳 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long Timestamp { get { return timestamp_; } set { timestamp_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as GameStatusReq); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(GameStatusReq other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Status != other.Status) return false; if (Timestamp != other.Timestamp) 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 (Status != 0) hash ^= Status.GetHashCode(); if (Timestamp != 0L) hash ^= Timestamp.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 (Status != 0) { output.WriteRawTag(8); output.WriteInt32(Status); } if (Timestamp != 0L) { output.WriteRawTag(16); output.WriteInt64(Timestamp); } 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 (Status != 0) { output.WriteRawTag(8); output.WriteInt32(Status); } if (Timestamp != 0L) { output.WriteRawTag(16); output.WriteInt64(Timestamp); } 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 (Status != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Status); } if (Timestamp != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(Timestamp); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(GameStatusReq other) { if (other == null) { return; } if (other.Status != 0) { Status = other.Status; } if (other.Timestamp != 0L) { Timestamp = other.Timestamp; } _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: { Status = input.ReadInt32(); break; } case 16: { Timestamp = 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: { Status = input.ReadInt32(); break; } case 16: { Timestamp = input.ReadInt64(); break; } } } } #endif } /// /// GameStatusResp 游戏状态控制返回值 /// public sealed partial class GameStatusResp : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GameStatusResp()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Pb.Common.CommonReflection.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 GameStatusResp() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GameStatusResp(GameStatusResp other) : this() { success_ = other.success_; battleId_ = other.battleId_; timestamp_ = other.timestamp_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GameStatusResp Clone() { return new GameStatusResp(this); } /// Field number for the "success" field. public const int SuccessFieldNumber = 1; private bool success_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Success { get { return success_; } set { success_ = value; } } /// Field number for the "battleId" field. public const int BattleIdFieldNumber = 2; private long battleId_; /// /// 战局ID | 上一场战局ID(结束时) /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long BattleId { get { return battleId_; } set { battleId_ = value; } } /// Field number for the "timestamp" field. public const int TimestampFieldNumber = 3; private long timestamp_; /// /// 时间戳 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long Timestamp { get { return timestamp_; } set { timestamp_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as GameStatusResp); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(GameStatusResp other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Success != other.Success) return false; if (BattleId != other.BattleId) return false; if (Timestamp != other.Timestamp) 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 (Success != false) hash ^= Success.GetHashCode(); if (BattleId != 0L) hash ^= BattleId.GetHashCode(); if (Timestamp != 0L) hash ^= Timestamp.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 (Success != false) { output.WriteRawTag(8); output.WriteBool(Success); } if (BattleId != 0L) { output.WriteRawTag(16); output.WriteInt64(BattleId); } if (Timestamp != 0L) { output.WriteRawTag(24); output.WriteInt64(Timestamp); } 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 (Success != false) { output.WriteRawTag(8); output.WriteBool(Success); } if (BattleId != 0L) { output.WriteRawTag(16); output.WriteInt64(BattleId); } if (Timestamp != 0L) { output.WriteRawTag(24); output.WriteInt64(Timestamp); } 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 (Success != false) { size += 1 + 1; } if (BattleId != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(BattleId); } if (Timestamp != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(Timestamp); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(GameStatusResp other) { if (other == null) { return; } if (other.Success != false) { Success = other.Success; } if (other.BattleId != 0L) { BattleId = other.BattleId; } if (other.Timestamp != 0L) { Timestamp = other.Timestamp; } _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: { Success = input.ReadBool(); break; } case 16: { BattleId = input.ReadInt64(); break; } case 24: { Timestamp = 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: { Success = input.ReadBool(); break; } case 16: { BattleId = input.ReadInt64(); break; } case 24: { Timestamp = input.ReadInt64(); break; } } } } #endif } /// /// UserIntegralChanged 用户积分变更 push -> user.integral.change /// public sealed partial class UserIntegralChanged : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UserIntegralChanged()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Pb.Common.CommonReflection.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 UserIntegralChanged() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public UserIntegralChanged(UserIntegralChanged other) : this() { user_ = other.user_ != null ? other.user_.Clone() : null; change_ = other.change_; integral_ = other.integral_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public UserIntegralChanged Clone() { return new UserIntegralChanged(this); } /// Field number for the "user" field. 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; } } /// Field number for the "change" field. public const int ChangeFieldNumber = 2; private long change_; /// /// 变更量 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long Change { get { return change_; } set { change_ = value; } } /// Field number for the "integral" field. public const int IntegralFieldNumber = 3; private long integral_; /// /// 现有量 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long Integral { get { return integral_; } set { integral_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as UserIntegralChanged); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(UserIntegralChanged other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!object.Equals(User, other.User)) return false; if (Change != other.Change) return false; if (Integral != other.Integral) 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 (Change != 0L) hash ^= Change.GetHashCode(); if (Integral != 0L) hash ^= Integral.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 (Change != 0L) { output.WriteRawTag(16); output.WriteInt64(Change); } if (Integral != 0L) { output.WriteRawTag(24); output.WriteInt64(Integral); } 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 (Change != 0L) { output.WriteRawTag(16); output.WriteInt64(Change); } if (Integral != 0L) { output.WriteRawTag(24); output.WriteInt64(Integral); } 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 (Change != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(Change); } if (Integral != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(Integral); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(UserIntegralChanged other) { if (other == null) { return; } if (other.user_ != null) { if (user_ == null) { User = new global::Pb.Common.PbUser(); } User.MergeFrom(other.User); } if (other.Change != 0L) { Change = other.Change; } if (other.Integral != 0L) { Integral = other.Integral; } _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: { Change = input.ReadInt64(); break; } case 24: { Integral = 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 10: { if (user_ == null) { User = new global::Pb.Common.PbUser(); } input.ReadMessage(User); break; } case 16: { Change = input.ReadInt64(); break; } case 24: { Integral = input.ReadInt64(); break; } } } } #endif } /// /// ChangeUserIntegral 更新用户积分 request -> user.integral.change /// public sealed partial class ChangeUserIntegralReq : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ChangeUserIntegralReq()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Pb.Common.CommonReflection.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 ChangeUserIntegralReq() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ChangeUserIntegralReq(ChangeUserIntegralReq other) : this() { userId_ = other.userId_; change_ = other.change_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ChangeUserIntegralReq Clone() { return new ChangeUserIntegralReq(this); } /// Field number for the "userId" field. public const int UserIdFieldNumber = 1; private long userId_; /// /// 用户ID /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long UserId { get { return userId_; } set { userId_ = value; } } /// Field number for the "change" field. public const int ChangeFieldNumber = 2; private long change_; /// /// 更新积分量,负数为消耗,正数为增加 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long Change { get { return change_; } set { change_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as ChangeUserIntegralReq); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(ChangeUserIntegralReq other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (UserId != other.UserId) return false; if (Change != other.Change) 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 != 0L) hash ^= UserId.GetHashCode(); if (Change != 0L) hash ^= Change.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 != 0L) { output.WriteRawTag(8); output.WriteInt64(UserId); } if (Change != 0L) { output.WriteRawTag(16); output.WriteInt64(Change); } 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 != 0L) { output.WriteRawTag(8); output.WriteInt64(UserId); } if (Change != 0L) { output.WriteRawTag(16); output.WriteInt64(Change); } 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 != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(UserId); } if (Change != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(Change); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(ChangeUserIntegralReq other) { if (other == null) { return; } if (other.UserId != 0L) { UserId = other.UserId; } if (other.Change != 0L) { Change = other.Change; } _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: { UserId = input.ReadInt64(); break; } case 16: { Change = 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: { UserId = input.ReadInt64(); break; } case 16: { Change = input.ReadInt64(); break; } } } } #endif } /// /// ChangeUserIntegralResp 用户积分更新返回 /// public sealed partial class ChangeUserIntegralResp : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new ChangeUserIntegralResp()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Pb.Common.CommonReflection.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 ChangeUserIntegralResp() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ChangeUserIntegralResp(ChangeUserIntegralResp other) : this() { code_ = other.code_; msg_ = other.msg_; userId_ = other.userId_; change_ = other.change_; integral_ = other.integral_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public ChangeUserIntegralResp Clone() { return new ChangeUserIntegralResp(this); } /// Field number for the "code" field. public const int CodeFieldNumber = 1; private int code_; /// /// code, 200表示成功,其余根据对照表 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Code { get { return code_; } set { code_ = value; } } /// Field number for the "msg" field. public const int MsgFieldNumber = 2; private string msg_ = ""; /// /// 消息 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Msg { get { return msg_; } set { msg_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "userId" field. public const int UserIdFieldNumber = 3; private long userId_; /// /// 用户ID /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long UserId { get { return userId_; } set { userId_ = value; } } /// Field number for the "change" field. public const int ChangeFieldNumber = 4; private long change_; /// /// 本次更新积分量 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long Change { get { return change_; } set { change_ = value; } } /// Field number for the "integral" field. public const int IntegralFieldNumber = 5; private long integral_; /// /// 当前剩余积分 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long Integral { get { return integral_; } set { integral_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as ChangeUserIntegralResp); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(ChangeUserIntegralResp other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Code != other.Code) return false; if (Msg != other.Msg) return false; if (UserId != other.UserId) return false; if (Change != other.Change) return false; if (Integral != other.Integral) 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 (Code != 0) hash ^= Code.GetHashCode(); if (Msg.Length != 0) hash ^= Msg.GetHashCode(); if (UserId != 0L) hash ^= UserId.GetHashCode(); if (Change != 0L) hash ^= Change.GetHashCode(); if (Integral != 0L) hash ^= Integral.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 (Code != 0) { output.WriteRawTag(8); output.WriteInt32(Code); } if (Msg.Length != 0) { output.WriteRawTag(18); output.WriteString(Msg); } if (UserId != 0L) { output.WriteRawTag(24); output.WriteInt64(UserId); } if (Change != 0L) { output.WriteRawTag(32); output.WriteInt64(Change); } if (Integral != 0L) { output.WriteRawTag(40); output.WriteInt64(Integral); } 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 (Code != 0) { output.WriteRawTag(8); output.WriteInt32(Code); } if (Msg.Length != 0) { output.WriteRawTag(18); output.WriteString(Msg); } if (UserId != 0L) { output.WriteRawTag(24); output.WriteInt64(UserId); } if (Change != 0L) { output.WriteRawTag(32); output.WriteInt64(Change); } if (Integral != 0L) { output.WriteRawTag(40); output.WriteInt64(Integral); } 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 (Code != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Code); } if (Msg.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Msg); } if (UserId != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(UserId); } if (Change != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(Change); } if (Integral != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(Integral); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(ChangeUserIntegralResp other) { if (other == null) { return; } if (other.Code != 0) { Code = other.Code; } if (other.Msg.Length != 0) { Msg = other.Msg; } if (other.UserId != 0L) { UserId = other.UserId; } if (other.Change != 0L) { Change = other.Change; } if (other.Integral != 0L) { Integral = other.Integral; } _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: { Code = input.ReadInt32(); break; } case 18: { Msg = input.ReadString(); break; } case 24: { UserId = input.ReadInt64(); break; } case 32: { Change = input.ReadInt64(); break; } case 40: { Integral = 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: { Code = input.ReadInt32(); break; } case 18: { Msg = input.ReadString(); break; } case 24: { UserId = input.ReadInt64(); break; } case 32: { Change = input.ReadInt64(); break; } case 40: { Integral = input.ReadInt64(); break; } } } } #endif } /// /// CheckInMsg 每日打卡 push -> user.checkIn /// public sealed partial class CheckInMsg : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new CheckInMsg()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Pb.Common.CommonReflection.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 CheckInMsg() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public CheckInMsg(CheckInMsg other) : this() { code_ = other.code_; msg_ = other.msg_; user_ = other.user_ != null ? other.user_.Clone() : null; integralChange_ = other.integralChange_; isCritical_ = other.isCritical_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public CheckInMsg Clone() { return new CheckInMsg(this); } /// Field number for the "code" field. public const int CodeFieldNumber = 1; private int code_; /// /// code, 200表示成功,其余根据对照表 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Code { get { return code_; } set { code_ = value; } } /// Field number for the "msg" field. public const int MsgFieldNumber = 2; private string msg_ = ""; /// /// 消息 [打卡成功,快乐玩耍吧! | 今天已打过卡了!] /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Msg { get { return msg_; } set { msg_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "user" field. public const int UserFieldNumber = 3; private global::Pb.Common.PbUser user_; /// /// 最新积分放置在user中 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public global::Pb.Common.PbUser User { get { return user_; } set { user_ = value; } } /// Field number for the "integralChange" field. public const int IntegralChangeFieldNumber = 4; private long integralChange_; /// /// 积分变动 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long IntegralChange { get { return integralChange_; } set { integralChange_ = value; } } /// Field number for the "isCritical" field. public const int IsCriticalFieldNumber = 5; private bool isCritical_; /// /// 是否欧皇附体 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool IsCritical { get { return isCritical_; } set { isCritical_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as CheckInMsg); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(CheckInMsg other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Code != other.Code) return false; if (Msg != other.Msg) return false; if (!object.Equals(User, other.User)) return false; if (IntegralChange != other.IntegralChange) return false; if (IsCritical != other.IsCritical) 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 (Code != 0) hash ^= Code.GetHashCode(); if (Msg.Length != 0) hash ^= Msg.GetHashCode(); if (user_ != null) hash ^= User.GetHashCode(); if (IntegralChange != 0L) hash ^= IntegralChange.GetHashCode(); if (IsCritical != false) hash ^= IsCritical.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 (Code != 0) { output.WriteRawTag(8); output.WriteInt32(Code); } if (Msg.Length != 0) { output.WriteRawTag(18); output.WriteString(Msg); } if (user_ != null) { output.WriteRawTag(26); output.WriteMessage(User); } if (IntegralChange != 0L) { output.WriteRawTag(32); output.WriteInt64(IntegralChange); } if (IsCritical != false) { output.WriteRawTag(40); output.WriteBool(IsCritical); } 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 (Code != 0) { output.WriteRawTag(8); output.WriteInt32(Code); } if (Msg.Length != 0) { output.WriteRawTag(18); output.WriteString(Msg); } if (user_ != null) { output.WriteRawTag(26); output.WriteMessage(User); } if (IntegralChange != 0L) { output.WriteRawTag(32); output.WriteInt64(IntegralChange); } if (IsCritical != false) { output.WriteRawTag(40); output.WriteBool(IsCritical); } 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 (Code != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Code); } if (Msg.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Msg); } if (user_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(User); } if (IntegralChange != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(IntegralChange); } if (IsCritical != 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(CheckInMsg other) { if (other == null) { return; } if (other.Code != 0) { Code = other.Code; } if (other.Msg.Length != 0) { Msg = other.Msg; } if (other.user_ != null) { if (user_ == null) { User = new global::Pb.Common.PbUser(); } User.MergeFrom(other.User); } if (other.IntegralChange != 0L) { IntegralChange = other.IntegralChange; } if (other.IsCritical != false) { IsCritical = other.IsCritical; } _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: { Code = input.ReadInt32(); break; } case 18: { Msg = input.ReadString(); break; } case 26: { if (user_ == null) { User = new global::Pb.Common.PbUser(); } input.ReadMessage(User); break; } case 32: { IntegralChange = input.ReadInt64(); break; } case 40: { IsCritical = 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) { switch(tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input); break; case 8: { Code = input.ReadInt32(); break; } case 18: { Msg = input.ReadString(); break; } case 26: { if (user_ == null) { User = new global::Pb.Common.PbUser(); } input.ReadMessage(User); break; } case 32: { IntegralChange = input.ReadInt64(); break; } case 40: { IsCritical = input.ReadBool(); break; } } } } #endif } /// /// GiftPackMsg 领取礼包消息 push -> user.giftPack 命令(新手礼包|福利|低保|其它礼包) /// public sealed partial class GiftPackMsg : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GiftPackMsg()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Pb.Common.CommonReflection.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 GiftPackMsg() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GiftPackMsg(GiftPackMsg other) : this() { code_ = other.code_; msg_ = other.msg_; user_ = other.user_ != null ? other.user_.Clone() : null; integralChange_ = other.integralChange_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GiftPackMsg Clone() { return new GiftPackMsg(this); } /// Field number for the "code" field. public const int CodeFieldNumber = 1; private int code_; /// /// code, 200表示成功,其余根据对照表 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Code { get { return code_; } set { code_ = value; } } /// Field number for the "msg" field. public const int MsgFieldNumber = 2; private string msg_ = ""; /// /// 领取消息: [成功无msg | 已经领过礼包了xxx ] /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Msg { get { return msg_; } set { msg_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "user" field. public const int UserFieldNumber = 3; 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; } } /// Field number for the "integralChange" field. public const int IntegralChangeFieldNumber = 4; private long integralChange_; /// /// 积分变动 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long IntegralChange { get { return integralChange_; } set { integralChange_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as GiftPackMsg); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(GiftPackMsg other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (Code != other.Code) return false; if (Msg != other.Msg) return false; if (!object.Equals(User, other.User)) return false; if (IntegralChange != other.IntegralChange) 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 (Code != 0) hash ^= Code.GetHashCode(); if (Msg.Length != 0) hash ^= Msg.GetHashCode(); if (user_ != null) hash ^= User.GetHashCode(); if (IntegralChange != 0L) hash ^= IntegralChange.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 (Code != 0) { output.WriteRawTag(8); output.WriteInt32(Code); } if (Msg.Length != 0) { output.WriteRawTag(18); output.WriteString(Msg); } if (user_ != null) { output.WriteRawTag(26); output.WriteMessage(User); } if (IntegralChange != 0L) { output.WriteRawTag(32); output.WriteInt64(IntegralChange); } 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 (Code != 0) { output.WriteRawTag(8); output.WriteInt32(Code); } if (Msg.Length != 0) { output.WriteRawTag(18); output.WriteString(Msg); } if (user_ != null) { output.WriteRawTag(26); output.WriteMessage(User); } if (IntegralChange != 0L) { output.WriteRawTag(32); output.WriteInt64(IntegralChange); } 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 (Code != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Code); } if (Msg.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Msg); } if (user_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(User); } if (IntegralChange != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(IntegralChange); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(GiftPackMsg other) { if (other == null) { return; } if (other.Code != 0) { Code = other.Code; } if (other.Msg.Length != 0) { Msg = other.Msg; } if (other.user_ != null) { if (user_ == null) { User = new global::Pb.Common.PbUser(); } User.MergeFrom(other.User); } if (other.IntegralChange != 0L) { IntegralChange = other.IntegralChange; } _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: { Code = input.ReadInt32(); break; } case 18: { Msg = input.ReadString(); break; } case 26: { if (user_ == null) { User = new global::Pb.Common.PbUser(); } input.ReadMessage(User); break; } case 32: { IntegralChange = 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: { Code = input.ReadInt32(); break; } case 18: { Msg = input.ReadString(); break; } case 26: { if (user_ == null) { User = new global::Pb.Common.PbUser(); } input.ReadMessage(User); break; } case 32: { IntegralChange = input.ReadInt64(); break; } } } } #endif } /// /// QueryIntegralMsg 用户查询信息通知 push -> user.query /// public sealed partial class UserQueryMsg : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new UserQueryMsg()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Pb.Common.CommonReflection.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 UserQueryMsg() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public UserQueryMsg(UserQueryMsg other) : this() { user_ = other.user_ != null ? other.user_.Clone() : null; rank_ = other.rank_.Clone(); titleIds_ = other.titleIds_.Clone(); _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public UserQueryMsg Clone() { return new UserQueryMsg(this); } /// Field number for the "user" field. 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; } } /// Field number for the "rank" field. public const int RankFieldNumber = 2; private static readonly pb::FieldCodec _repeated_rank_codec = pb::FieldCodec.ForMessage(18, global::Pb.Common.UserQueryMsg.Types.RankItem.Parser); private readonly pbc::RepeatedField rank_ = new pbc::RepeatedField(); /// /// 排行数据(多个榜) /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField Rank { get { return rank_; } } /// Field number for the "titleIds" field. public const int TitleIdsFieldNumber = 3; private static readonly pb::FieldCodec _repeated_titleIds_codec = pb::FieldCodec.ForInt64(26); private readonly pbc::RepeatedField titleIds_ = new pbc::RepeatedField(); /// /// 称号ID列表,具体称号配置 给接口取 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public pbc::RepeatedField TitleIds { get { return titleIds_; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as UserQueryMsg); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(UserQueryMsg other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!object.Equals(User, other.User)) return false; if(!rank_.Equals(other.rank_)) return false; if(!titleIds_.Equals(other.titleIds_)) 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(); hash ^= rank_.GetHashCode(); hash ^= titleIds_.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); } rank_.WriteTo(output, _repeated_rank_codec); titleIds_.WriteTo(output, _repeated_titleIds_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) { if (user_ != null) { output.WriteRawTag(10); output.WriteMessage(User); } rank_.WriteTo(ref output, _repeated_rank_codec); titleIds_.WriteTo(ref output, _repeated_titleIds_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; if (user_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(User); } size += rank_.CalculateSize(_repeated_rank_codec); size += titleIds_.CalculateSize(_repeated_titleIds_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(UserQueryMsg other) { if (other == null) { return; } if (other.user_ != null) { if (user_ == null) { User = new global::Pb.Common.PbUser(); } User.MergeFrom(other.User); } rank_.Add(other.rank_); titleIds_.Add(other.titleIds_); _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 18: { rank_.AddEntriesFrom(input, _repeated_rank_codec); break; } case 26: case 24: { titleIds_.AddEntriesFrom(input, _repeated_titleIds_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: { if (user_ == null) { User = new global::Pb.Common.PbUser(); } input.ReadMessage(User); break; } case 18: { rank_.AddEntriesFrom(ref input, _repeated_rank_codec); break; } case 26: case 24: { titleIds_.AddEntriesFrom(ref input, _repeated_titleIds_codec); break; } } } } #endif #region Nested types /// Container for nested types declared in the UserQueryMsg message type. [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static partial class Types { /// /// RankItem 排行数据结构 /// public sealed partial class RankItem : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RankItem()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Pb.Common.UserQueryMsg.Descriptor.NestedTypes[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 RankItem() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RankItem(RankItem other) : this() { rankType_ = other.rankType_; score_ = other.score_; rank_ = other.rank_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RankItem Clone() { return new RankItem(this); } /// Field number for the "rankType" field. public const int RankTypeFieldNumber = 1; private int rankType_; /// /// 排行榜类型 (与pbGameZhg.RankType一致) /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int RankType { get { return rankType_; } set { rankType_ = value; } } /// Field number for the "score" field. public const int ScoreFieldNumber = 2; private long score_; /// /// 具体分数 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long Score { get { return score_; } set { score_ = value; } } /// Field number for the "rank" field. public const int RankFieldNumber = 3; private int rank_; /// /// 具体排名,不上榜为0 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public int Rank { get { return rank_; } set { rank_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as RankItem); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(RankItem other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (RankType != other.RankType) return false; if (Score != other.Score) return false; if (Rank != other.Rank) 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 (RankType != 0) hash ^= RankType.GetHashCode(); if (Score != 0L) hash ^= Score.GetHashCode(); if (Rank != 0) hash ^= Rank.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 (RankType != 0) { output.WriteRawTag(8); output.WriteInt32(RankType); } if (Score != 0L) { output.WriteRawTag(16); output.WriteInt64(Score); } if (Rank != 0) { output.WriteRawTag(24); output.WriteInt32(Rank); } 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 (RankType != 0) { output.WriteRawTag(8); output.WriteInt32(RankType); } if (Score != 0L) { output.WriteRawTag(16); output.WriteInt64(Score); } if (Rank != 0) { output.WriteRawTag(24); output.WriteInt32(Rank); } 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 (RankType != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(RankType); } if (Score != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(Score); } if (Rank != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Rank); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(RankItem other) { if (other == null) { return; } if (other.RankType != 0) { RankType = other.RankType; } if (other.Score != 0L) { Score = other.Score; } if (other.Rank != 0) { Rank = other.Rank; } _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: { RankType = input.ReadInt32(); break; } case 16: { Score = input.ReadInt64(); break; } case 24: { Rank = 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: { RankType = input.ReadInt32(); break; } case 16: { Score = input.ReadInt64(); break; } case 24: { Rank = input.ReadInt32(); break; } } } } #endif } } #endregion } /// /// DanmakuMsg 普通弹幕消息 push -> live.danmaku /// public sealed partial class DanmakuMsg : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new DanmakuMsg()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Pb.Common.CommonReflection.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 DanmakuMsg() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public DanmakuMsg(DanmakuMsg other) : this() { user_ = other.user_ != null ? other.user_.Clone() : null; content_ = other.content_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public DanmakuMsg Clone() { return new DanmakuMsg(this); } /// Field number for the "user" field. 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; } } /// Field number for the "content" field. public const int ContentFieldNumber = 2; private string content_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string Content { get { return content_; } set { content_ = 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 DanmakuMsg); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(DanmakuMsg other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!object.Equals(User, other.User)) return false; if (Content != other.Content) 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 (Content.Length != 0) hash ^= Content.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 (Content.Length != 0) { output.WriteRawTag(18); output.WriteString(Content); } 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 (Content.Length != 0) { output.WriteRawTag(18); output.WriteString(Content); } 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 (Content.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Content); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(DanmakuMsg other) { if (other == null) { return; } if (other.user_ != null) { if (user_ == null) { User = new global::Pb.Common.PbUser(); } User.MergeFrom(other.User); } if (other.Content.Length != 0) { Content = other.Content; } _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 18: { Content = 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: { if (user_ == null) { User = new global::Pb.Common.PbUser(); } input.ReadMessage(User); break; } case 18: { Content = input.ReadString(); break; } } } } #endif } /// /// 赠送礼物 push -> live.gift.common | live.gift.nobility /// public sealed partial class GiftMsg : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GiftMsg()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Pb.Common.CommonReflection.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 GiftMsg() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GiftMsg(GiftMsg other) : this() { user_ = other.user_ != null ? other.user_.Clone() : null; giftId_ = other.giftId_; num_ = other.num_; giftName_ = other.giftName_; price_ = other.price_; isPaid_ = other.isPaid_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public GiftMsg Clone() { return new GiftMsg(this); } /// Field number for the "user" field. 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; } } /// Field number for the "giftId" field. public const int GiftIdFieldNumber = 2; private long giftId_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long GiftId { get { return giftId_; } set { giftId_ = value; } } /// Field number for the "num" field. public const int NumFieldNumber = 3; private long num_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long Num { get { return num_; } set { num_ = value; } } /// Field number for the "giftName" field. public const int GiftNameFieldNumber = 4; private string giftName_ = ""; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public string GiftName { get { return giftName_; } set { giftName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); } } /// Field number for the "price" field. public const int PriceFieldNumber = 5; private long price_; /// /// 单价 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long Price { get { return price_; } set { price_ = value; } } /// Field number for the "isPaid" field. public const int IsPaidFieldNumber = 6; private bool isPaid_; /// /// 是否收费礼物 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool IsPaid { get { return isPaid_; } set { isPaid_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as GiftMsg); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(GiftMsg other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (!object.Equals(User, other.User)) return false; if (GiftId != other.GiftId) return false; if (Num != other.Num) return false; if (GiftName != other.GiftName) return false; if (Price != other.Price) return false; if (IsPaid != other.IsPaid) 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 (GiftId != 0L) hash ^= GiftId.GetHashCode(); if (Num != 0L) hash ^= Num.GetHashCode(); if (GiftName.Length != 0) hash ^= GiftName.GetHashCode(); if (Price != 0L) hash ^= Price.GetHashCode(); if (IsPaid != false) hash ^= IsPaid.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 (GiftId != 0L) { output.WriteRawTag(16); output.WriteInt64(GiftId); } if (Num != 0L) { output.WriteRawTag(24); output.WriteInt64(Num); } if (GiftName.Length != 0) { output.WriteRawTag(34); output.WriteString(GiftName); } if (Price != 0L) { output.WriteRawTag(40); output.WriteInt64(Price); } if (IsPaid != false) { output.WriteRawTag(48); output.WriteBool(IsPaid); } 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 (GiftId != 0L) { output.WriteRawTag(16); output.WriteInt64(GiftId); } if (Num != 0L) { output.WriteRawTag(24); output.WriteInt64(Num); } if (GiftName.Length != 0) { output.WriteRawTag(34); output.WriteString(GiftName); } if (Price != 0L) { output.WriteRawTag(40); output.WriteInt64(Price); } if (IsPaid != false) { output.WriteRawTag(48); output.WriteBool(IsPaid); } 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 (GiftId != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(GiftId); } if (Num != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(Num); } if (GiftName.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(GiftName); } if (Price != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(Price); } if (IsPaid != 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(GiftMsg other) { if (other == null) { return; } if (other.user_ != null) { if (user_ == null) { User = new global::Pb.Common.PbUser(); } User.MergeFrom(other.User); } if (other.GiftId != 0L) { GiftId = other.GiftId; } if (other.Num != 0L) { Num = other.Num; } if (other.GiftName.Length != 0) { GiftName = other.GiftName; } if (other.Price != 0L) { Price = other.Price; } if (other.IsPaid != false) { IsPaid = other.IsPaid; } _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: { GiftId = input.ReadInt64(); break; } case 24: { Num = input.ReadInt64(); break; } case 34: { GiftName = input.ReadString(); break; } case 40: { Price = input.ReadInt64(); break; } case 48: { IsPaid = 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) { 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: { GiftId = input.ReadInt64(); break; } case 24: { Num = input.ReadInt64(); break; } case 34: { GiftName = input.ReadString(); break; } case 40: { Price = input.ReadInt64(); break; } case 48: { IsPaid = input.ReadBool(); break; } } } } #endif } /// /// 奖池变动消息 push -> game.rewardPool /// public sealed partial class RewardPoolMsg : pb::IMessage #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE , pb::IBufferMessage #endif { private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RewardPoolMsg()); private pb::UnknownFieldSet _unknownFields; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pb::MessageParser Parser { get { return _parser; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public static pbr::MessageDescriptor Descriptor { get { return global::Pb.Common.CommonReflection.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 RewardPoolMsg() { OnConstruction(); } partial void OnConstruction(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RewardPoolMsg(RewardPoolMsg other) : this() { welfarePool_ = other.welfarePool_; battleId_ = other.battleId_; initReward_ = other.initReward_; giftReward_ = other.giftReward_; battleReward_ = other.battleReward_; otherReward_ = other.otherReward_; allRewards_ = other.allRewards_; _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public RewardPoolMsg Clone() { return new RewardPoolMsg(this); } /// Field number for the "welfarePool" field. public const int WelfarePoolFieldNumber = 1; private long welfarePool_; /// /// 福利池,与战局无关 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long WelfarePool { get { return welfarePool_; } set { welfarePool_ = value; } } /// Field number for the "battleId" field. public const int BattleIdFieldNumber = 2; private long battleId_; /// /// 战局ID /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long BattleId { get { return battleId_; } set { battleId_ = value; } } /// Field number for the "initReward" field. public const int InitRewardFieldNumber = 3; private long initReward_; /// /// 初始奖池 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long InitReward { get { return initReward_; } set { initReward_ = value; } } /// Field number for the "giftReward" field. public const int GiftRewardFieldNumber = 4; private long giftReward_; /// /// 礼物奖池 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long GiftReward { get { return giftReward_; } set { giftReward_ = value; } } /// Field number for the "battleReward" field. public const int BattleRewardFieldNumber = 5; private long battleReward_; /// /// 战斗奖池 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long BattleReward { get { return battleReward_; } set { battleReward_ = value; } } /// Field number for the "otherReward" field. public const int OtherRewardFieldNumber = 6; private long otherReward_; /// /// 其它奖池 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long OtherReward { get { return otherReward_; } set { otherReward_ = value; } } /// Field number for the "allRewards" field. public const int AllRewardsFieldNumber = 10; private long allRewards_; /// /// 所有奖池 /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public long AllRewards { get { return allRewards_; } set { allRewards_ = value; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public override bool Equals(object other) { return Equals(other as RewardPoolMsg); } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public bool Equals(RewardPoolMsg other) { if (ReferenceEquals(other, null)) { return false; } if (ReferenceEquals(other, this)) { return true; } if (WelfarePool != other.WelfarePool) return false; if (BattleId != other.BattleId) return false; if (InitReward != other.InitReward) return false; if (GiftReward != other.GiftReward) return false; if (BattleReward != other.BattleReward) return false; if (OtherReward != other.OtherReward) return false; if (AllRewards != other.AllRewards) 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 (WelfarePool != 0L) hash ^= WelfarePool.GetHashCode(); if (BattleId != 0L) hash ^= BattleId.GetHashCode(); if (InitReward != 0L) hash ^= InitReward.GetHashCode(); if (GiftReward != 0L) hash ^= GiftReward.GetHashCode(); if (BattleReward != 0L) hash ^= BattleReward.GetHashCode(); if (OtherReward != 0L) hash ^= OtherReward.GetHashCode(); if (AllRewards != 0L) hash ^= AllRewards.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 (WelfarePool != 0L) { output.WriteRawTag(8); output.WriteInt64(WelfarePool); } if (BattleId != 0L) { output.WriteRawTag(16); output.WriteInt64(BattleId); } if (InitReward != 0L) { output.WriteRawTag(24); output.WriteInt64(InitReward); } if (GiftReward != 0L) { output.WriteRawTag(32); output.WriteInt64(GiftReward); } if (BattleReward != 0L) { output.WriteRawTag(40); output.WriteInt64(BattleReward); } if (OtherReward != 0L) { output.WriteRawTag(48); output.WriteInt64(OtherReward); } if (AllRewards != 0L) { output.WriteRawTag(80); output.WriteInt64(AllRewards); } 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 (WelfarePool != 0L) { output.WriteRawTag(8); output.WriteInt64(WelfarePool); } if (BattleId != 0L) { output.WriteRawTag(16); output.WriteInt64(BattleId); } if (InitReward != 0L) { output.WriteRawTag(24); output.WriteInt64(InitReward); } if (GiftReward != 0L) { output.WriteRawTag(32); output.WriteInt64(GiftReward); } if (BattleReward != 0L) { output.WriteRawTag(40); output.WriteInt64(BattleReward); } if (OtherReward != 0L) { output.WriteRawTag(48); output.WriteInt64(OtherReward); } if (AllRewards != 0L) { output.WriteRawTag(80); output.WriteInt64(AllRewards); } 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 (WelfarePool != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(WelfarePool); } if (BattleId != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(BattleId); } if (InitReward != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(InitReward); } if (GiftReward != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(GiftReward); } if (BattleReward != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(BattleReward); } if (OtherReward != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(OtherReward); } if (AllRewards != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(AllRewards); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)] public void MergeFrom(RewardPoolMsg other) { if (other == null) { return; } if (other.WelfarePool != 0L) { WelfarePool = other.WelfarePool; } if (other.BattleId != 0L) { BattleId = other.BattleId; } if (other.InitReward != 0L) { InitReward = other.InitReward; } if (other.GiftReward != 0L) { GiftReward = other.GiftReward; } if (other.BattleReward != 0L) { BattleReward = other.BattleReward; } if (other.OtherReward != 0L) { OtherReward = other.OtherReward; } if (other.AllRewards != 0L) { AllRewards = other.AllRewards; } _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: { WelfarePool = input.ReadInt64(); break; } case 16: { BattleId = input.ReadInt64(); break; } case 24: { InitReward = input.ReadInt64(); break; } case 32: { GiftReward = input.ReadInt64(); break; } case 40: { BattleReward = input.ReadInt64(); break; } case 48: { OtherReward = input.ReadInt64(); break; } case 80: { AllRewards = 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: { WelfarePool = input.ReadInt64(); break; } case 16: { BattleId = input.ReadInt64(); break; } case 24: { InitReward = input.ReadInt64(); break; } case 32: { GiftReward = input.ReadInt64(); break; } case 40: { BattleReward = input.ReadInt64(); break; } case 48: { OtherReward = input.ReadInt64(); break; } case 80: { AllRewards = input.ReadInt64(); break; } } } } #endif } #endregion } #endregion Designer generated code