| | |
| | | "bmRfUzJDEhEKCWVycm9yY29kZRgBIAEoBRIjCgZmYW1pbHkYAiABKAsyEy5w", |
| | | "cm90b2J1Zi5GYW1pbHlNc2ciHQoORmFtaWx5Sm9pbl9DMlMSCwoDdWlkGAEg", |
| | | "ASgJIjAKDkZhbWlseUpvaW5fUzJDEhEKCWVycm9yY29kZRgBIAEoBRILCgN1", |
| | | "aWQYAiABKAkiIgoRRmFtaWx5R2V0Q2hhdF9DMlMSDQoFbGltaXQYASABKAUi", |
| | | "ZgoRRmFtaWx5R2V0Q2hhdF9TMkMSEQoJZXJyb3Jjb2RlGAEgASgFEikKCG1l", |
| | | "c3NhZ2VzGAIgAygLMhcucHJvdG9idWYuRmFtaWx5Q2hhdE1zZxITCgtvbmxp", |
| | | "bmVDb3VudBgEIAEoBSJMChNGYW1pbHlTdGFydENoYXRfQzJTEiQKCGNoYXRU", |
| | | "eXBlGAEgASgOMhIucHJvdG9idWYuQ2hhdFR5cGUSDwoHY29udGVudBgCIAEo", |
| | | "CSJSChNGYW1pbHlTdGFydENoYXRfUzJDEhEKCWVycm9yY29kZRgBIAEoBRIo", |
| | | "aWQYAiABKAkiMQoRRmFtaWx5R2V0Q2hhdF9DMlMSDQoFc3RhcnQYASABKAUS", |
| | | "DQoFbGltaXQYAiABKAUidQoRRmFtaWx5R2V0Q2hhdF9TMkMSEQoJZXJyb3Jj", |
| | | "b2RlGAEgASgFEikKCG1lc3NhZ2VzGAIgAygLMhcucHJvdG9idWYuRmFtaWx5", |
| | | "Q2hhdE1zZxINCgV0b3RhbBgDIAEoBRITCgtvbmxpbmVDb3VudBgEIAEoBSJb", |
| | | "ChNGYW1pbHlTdGFydENoYXRfQzJTEiQKCGNoYXRUeXBlGAEgASgOMhIucHJv", |
| | | "dG9idWYuQ2hhdFR5cGUSDwoHY29udGVudBgCIAEoCRINCgVnZW1JZBgDIAEo", |
| | | "BSJSChNGYW1pbHlTdGFydENoYXRfUzJDEhEKCWVycm9yY29kZRgBIAEoBRIo", |
| | | "CgdtZXNzYWdlGAIgASgLMhcucHJvdG9idWYuRmFtaWx5Q2hhdE1zZyIqChVG", |
| | | "YW1pbHlTdGFydERvbmF0ZV9DMlMSEQoJbWVzc2FnZUlkGAEgASgFIlQKFUZh", |
| | | "bWlseVN0YXJ0RG9uYXRlX1MyQxIRCgllcnJvcmNvZGUYASABKAUSKAoHbWVz", |
| | |
| | | new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FamilyFind_S2C), global::Protobuf.FamilyFind_S2C.Parser, new[]{ "Errorcode", "Family" }, null, null, null), |
| | | new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FamilyJoin_C2S), global::Protobuf.FamilyJoin_C2S.Parser, new[]{ "Uid" }, null, null, null), |
| | | new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FamilyJoin_S2C), global::Protobuf.FamilyJoin_S2C.Parser, new[]{ "Errorcode", "Uid" }, null, null, null), |
| | | new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FamilyGetChat_C2S), global::Protobuf.FamilyGetChat_C2S.Parser, new[]{ "Limit" }, null, null, null), |
| | | new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FamilyGetChat_S2C), global::Protobuf.FamilyGetChat_S2C.Parser, new[]{ "Errorcode", "Messages", "OnlineCount" }, null, null, null), |
| | | new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FamilyStartChat_C2S), global::Protobuf.FamilyStartChat_C2S.Parser, new[]{ "ChatType", "Content" }, null, null, null), |
| | | new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FamilyGetChat_C2S), global::Protobuf.FamilyGetChat_C2S.Parser, new[]{ "Start", "Limit" }, null, null, null), |
| | | new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FamilyGetChat_S2C), global::Protobuf.FamilyGetChat_S2C.Parser, new[]{ "Errorcode", "Messages", "Total", "OnlineCount" }, null, null, null), |
| | | new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FamilyStartChat_C2S), global::Protobuf.FamilyStartChat_C2S.Parser, new[]{ "ChatType", "Content", "GemId" }, null, null, null), |
| | | new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FamilyStartChat_S2C), global::Protobuf.FamilyStartChat_S2C.Parser, new[]{ "Errorcode", "Message" }, null, null, null), |
| | | new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FamilyStartDonate_C2S), global::Protobuf.FamilyStartDonate_C2S.Parser, new[]{ "MessageId" }, null, null, null), |
| | | new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.FamilyStartDonate_S2C), global::Protobuf.FamilyStartDonate_S2C.Parser, new[]{ "Errorcode", "Message" }, null, null, null), |
| | |
| | | /// <summary>Field number for the "errorcode" field.</summary> |
| | | public const int ErrorcodeFieldNumber = 1; |
| | | private int errorcode_; |
| | | /// <summary> |
| | | /// NotEnough_Level,Input_Invalid |
| | | /// </summary> |
| | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | public int Errorcode { |
| | | get { return errorcode_; } |
| | |
| | | /// <summary>Field number for the "errorcode" field.</summary> |
| | | public const int ErrorcodeFieldNumber = 1; |
| | | private int errorcode_; |
| | | /// <summary> |
| | | /// NotEnough_Level,AlreadyIn_Family |
| | | /// </summary> |
| | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | public int Errorcode { |
| | | get { return errorcode_; } |
| | |
| | | /// <summary>Field number for the "errorcode" field.</summary> |
| | | public const int ErrorcodeFieldNumber = 1; |
| | | private int errorcode_; |
| | | /// <summary> |
| | | /// NotEnough_Level,AlreadyIn_Family,NotExist_Family |
| | | /// </summary> |
| | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | public int Errorcode { |
| | | get { return errorcode_; } |
| | |
| | | |
| | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | public FamilyGetChat_C2S(FamilyGetChat_C2S other) : this() { |
| | | start_ = other.start_; |
| | | limit_ = other.limit_; |
| | | } |
| | | |
| | |
| | | return new FamilyGetChat_C2S(this); |
| | | } |
| | | |
| | | /// <summary>Field number for the "limit" field.</summary> |
| | | public const int LimitFieldNumber = 1; |
| | | private int limit_; |
| | | /// <summary>Field number for the "start" field.</summary> |
| | | public const int StartFieldNumber = 1; |
| | | private int start_; |
| | | /// <summary> |
| | | /// 0是最后一页,1倒数第二页 |
| | | /// int32 start = 1; |
| | | /// </summary> |
| | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | public int Start { |
| | | get { return start_; } |
| | | set { |
| | | start_ = value; |
| | | } |
| | | } |
| | | |
| | | /// <summary>Field number for the "limit" field.</summary> |
| | | public const int LimitFieldNumber = 2; |
| | | private int limit_; |
| | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | public int Limit { |
| | | get { return limit_; } |
| | |
| | | if (ReferenceEquals(other, this)) { |
| | | return true; |
| | | } |
| | | if (Start != other.Start) return false; |
| | | if (Limit != other.Limit) return false; |
| | | return true; |
| | | } |
| | |
| | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | public override int GetHashCode() { |
| | | int hash = 1; |
| | | if (Start != 0) hash ^= Start.GetHashCode(); |
| | | if (Limit != 0) hash ^= Limit.GetHashCode(); |
| | | return hash; |
| | | } |
| | |
| | | |
| | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | public void WriteTo(pb::CodedOutputStream output) { |
| | | if (Limit != 0) { |
| | | if (Start != 0) { |
| | | output.WriteRawTag(8); |
| | | output.WriteInt32(Start); |
| | | } |
| | | if (Limit != 0) { |
| | | output.WriteRawTag(16); |
| | | output.WriteInt32(Limit); |
| | | } |
| | | } |
| | |
| | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | public int CalculateSize() { |
| | | int size = 0; |
| | | if (Start != 0) { |
| | | size += 1 + pb::CodedOutputStream.ComputeInt32Size(Start); |
| | | } |
| | | if (Limit != 0) { |
| | | size += 1 + pb::CodedOutputStream.ComputeInt32Size(Limit); |
| | | } |
| | |
| | | public void MergeFrom(FamilyGetChat_C2S other) { |
| | | if (other == null) { |
| | | return; |
| | | } |
| | | if (other.Start != 0) { |
| | | Start = other.Start; |
| | | } |
| | | if (other.Limit != 0) { |
| | | Limit = other.Limit; |
| | |
| | | input.SkipLastField(); |
| | | break; |
| | | case 8: { |
| | | Start = input.ReadInt32(); |
| | | break; |
| | | } |
| | | case 16: { |
| | | Limit = input.ReadInt32(); |
| | | break; |
| | | } |
| | |
| | | public FamilyGetChat_S2C(FamilyGetChat_S2C other) : this() { |
| | | errorcode_ = other.errorcode_; |
| | | messages_ = other.messages_.Clone(); |
| | | total_ = other.total_; |
| | | onlineCount_ = other.onlineCount_; |
| | | } |
| | | |
| | |
| | | get { return messages_; } |
| | | } |
| | | |
| | | /// <summary>Field number for the "total" field.</summary> |
| | | public const int TotalFieldNumber = 3; |
| | | private int total_; |
| | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | public int Total { |
| | | get { return total_; } |
| | | set { |
| | | total_ = value; |
| | | } |
| | | } |
| | | |
| | | /// <summary>Field number for the "onlineCount" field.</summary> |
| | | public const int OnlineCountFieldNumber = 4; |
| | | private int onlineCount_; |
| | | /// <summary> |
| | | /// int32 total=3; |
| | | /// 公会在线玩家数 |
| | | /// </summary> |
| | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | |
| | | } |
| | | if (Errorcode != other.Errorcode) return false; |
| | | if(!messages_.Equals(other.messages_)) return false; |
| | | if (Total != other.Total) return false; |
| | | if (OnlineCount != other.OnlineCount) return false; |
| | | return true; |
| | | } |
| | |
| | | int hash = 1; |
| | | if (Errorcode != 0) hash ^= Errorcode.GetHashCode(); |
| | | hash ^= messages_.GetHashCode(); |
| | | if (Total != 0) hash ^= Total.GetHashCode(); |
| | | if (OnlineCount != 0) hash ^= OnlineCount.GetHashCode(); |
| | | return hash; |
| | | } |
| | |
| | | output.WriteInt32(Errorcode); |
| | | } |
| | | messages_.WriteTo(output, _repeated_messages_codec); |
| | | if (Total != 0) { |
| | | output.WriteRawTag(24); |
| | | output.WriteInt32(Total); |
| | | } |
| | | if (OnlineCount != 0) { |
| | | output.WriteRawTag(32); |
| | | output.WriteInt32(OnlineCount); |
| | |
| | | size += 1 + pb::CodedOutputStream.ComputeInt32Size(Errorcode); |
| | | } |
| | | size += messages_.CalculateSize(_repeated_messages_codec); |
| | | if (Total != 0) { |
| | | size += 1 + pb::CodedOutputStream.ComputeInt32Size(Total); |
| | | } |
| | | if (OnlineCount != 0) { |
| | | size += 1 + pb::CodedOutputStream.ComputeInt32Size(OnlineCount); |
| | | } |
| | |
| | | Errorcode = other.Errorcode; |
| | | } |
| | | messages_.Add(other.messages_); |
| | | if (other.Total != 0) { |
| | | Total = other.Total; |
| | | } |
| | | if (other.OnlineCount != 0) { |
| | | OnlineCount = other.OnlineCount; |
| | | } |
| | |
| | | } |
| | | case 18: { |
| | | messages_.AddEntriesFrom(input, _repeated_messages_codec); |
| | | break; |
| | | } |
| | | case 24: { |
| | | Total = input.ReadInt32(); |
| | | break; |
| | | } |
| | | case 32: { |
| | |
| | | public FamilyStartChat_C2S(FamilyStartChat_C2S other) : this() { |
| | | chatType_ = other.chatType_; |
| | | content_ = other.content_; |
| | | gemId_ = other.gemId_; |
| | | } |
| | | |
| | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | |
| | | } |
| | | } |
| | | |
| | | /// <summary>Field number for the "gemId" field.</summary> |
| | | public const int GemIdFieldNumber = 3; |
| | | private int gemId_; |
| | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | public int GemId { |
| | | get { return gemId_; } |
| | | set { |
| | | gemId_ = value; |
| | | } |
| | | } |
| | | |
| | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | | public override bool Equals(object other) { |
| | | return Equals(other as FamilyStartChat_C2S); |
| | |
| | | } |
| | | if (ChatType != other.ChatType) return false; |
| | | if (Content != other.Content) return false; |
| | | if (GemId != other.GemId) return false; |
| | | return true; |
| | | } |
| | | |
| | |
| | | int hash = 1; |
| | | if (ChatType != 0) hash ^= ChatType.GetHashCode(); |
| | | if (Content.Length != 0) hash ^= Content.GetHashCode(); |
| | | if (GemId != 0) hash ^= GemId.GetHashCode(); |
| | | return hash; |
| | | } |
| | | |
| | |
| | | output.WriteRawTag(18); |
| | | output.WriteString(Content); |
| | | } |
| | | if (GemId != 0) { |
| | | output.WriteRawTag(24); |
| | | output.WriteInt32(GemId); |
| | | } |
| | | } |
| | | |
| | | [global::System.Diagnostics.DebuggerNonUserCodeAttribute] |
| | |
| | | } |
| | | if (Content.Length != 0) { |
| | | size += 1 + pb::CodedOutputStream.ComputeStringSize(Content); |
| | | } |
| | | if (GemId != 0) { |
| | | size += 1 + pb::CodedOutputStream.ComputeInt32Size(GemId); |
| | | } |
| | | return size; |
| | | } |
| | |
| | | } |
| | | if (other.Content.Length != 0) { |
| | | Content = other.Content; |
| | | } |
| | | if (other.GemId != 0) { |
| | | GemId = other.GemId; |
| | | } |
| | | } |
| | | |
| | |
| | | Content = input.ReadString(); |
| | | break; |
| | | } |
| | | case 24: { |
| | | GemId = input.ReadInt32(); |
| | | break; |
| | | } |
| | | } |
| | | } |
| | | } |