//
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: cs.sync.proto
//
#pragma warning disable 1591, 0612, 3021, 8981
#region Designer generated code
using pb = global::Google.Protobuf;
using pbc = global::Google.Protobuf.Collections;
using pbr = global::Google.Protobuf.Reflection;
using scg = global::System.Collections.Generic;
namespace RPG.Network.Proto {
/// Holder for reflection information generated from cs.sync.proto
public static partial class CsSyncReflection {
#region Descriptor
/// File descriptor for cs.sync.proto
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static CsSyncReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"Cg1jcy5zeW5jLnByb3RvEgVwcm90bxoTY29tbW9uLmRlZmluZS5wcm90bxoP",
"Y3MuYXZhdGFyLnByb3RvGg1jcy5pdGVtLnByb3RvGg5jcy5xdWVzdC5wcm90",
"bxoQY3MubWlzc2lvbi5wcm90bxoPY3MucGxheWVyLnByb3RvImgKD0Jhc2lj",
"TW9kdWxlU3luYxIYCgdzdGFtaW5hGAEgASgNUgdzdGFtaW5hEjsKGndlZWtf",
"Y29jb29uX2ZpbmlzaGVkX2NvdW50GAIgASgNUhd3ZWVrQ29jb29uRmluaXNo",
"ZWRDb3VudCKBAQoPUm9ndWVNb2R1bGVTeW5jEh0KCnJvZ3VlX2NvaW4YASAB",
"KA1SCXJvZ3VlQ29pbhIjCg1yb2d1ZV9zdGFtaW5hGAIgASgNUgxyb2d1ZVN0",
"YW1pbmESKgoRcm9ndWVfZXhwbG9yZV9leHAYAyABKA1SD3JvZ3VlRXhwbG9y",
"ZUV4cCI8CgpBdmF0YXJTeW5jEi4KC2F2YXRhcl9saXN0GAEgAygLMg0ucHJv",
"dG8uQXZhdGFyUgphdmF0YXJMaXN0IukBCgtNaXNzaW9uU3luYxIxCgxtaXNz",
"aW9uX2xpc3QYASADKAsyDi5wcm90by5NaXNzaW9uUgttaXNzaW9uTGlzdBJA",
"Ch1maW5pc2hlZF9tYWluX21pc3Npb25faWRfbGlzdBgCIAMoDVIZZmluaXNo",
"ZWRNYWluTWlzc2lvbklkTGlzdBItChNkZWxfbWlzc2lvbl9pZF9saXN0GAMg",
"AygNUhBkZWxNaXNzaW9uSWRMaXN0EjYKGGRlbF9tYWluX21pc3Npb25faWRf",
"bGlzdBgEIAMoDVIUZGVsTWFpbk1pc3Npb25JZExpc3QizgEKEE1pc3Npb25F",
"dmVudFN5bmMSPAoSbWlzc2lvbl9ldmVudF9saXN0GAEgAygLMg4ucHJvdG8u",
"TWlzc2lvblIQbWlzc2lvbkV2ZW50TGlzdBJCCh5maW5pc2hlZF9taXNzaW9u",
"X2V2ZW50X2lkX2xpc3QYAiADKA1SGmZpbmlzaGVkTWlzc2lvbkV2ZW50SWRM",
"aXN0EjgKGWRlbF9taXNzaW9uX2V2ZW50X2lkX2xpc3QYAyADKA1SFWRlbE1p",
"c3Npb25FdmVudElkTGlzdCLUBwoSUGxheWVyU3luY1NjTm90aWZ5EjUKCmJh",
"c2ljX2luZm8YASABKAsyFi5wcm90by5QbGF5ZXJCYXNpY0luZm9SCWJhc2lj",
"SW5mbxIyCgthdmF0YXJfc3luYxgCIAEoCzIRLnByb3RvLkF2YXRhclN5bmNS",
"CmF2YXRhclN5bmMSNwoOZXF1aXBtZW50X2xpc3QYAyADKAsyEC5wcm90by5F",
"cXVpcG1lbnRSDWVxdWlwbWVudExpc3QSLAoSZGVsX2VxdWlwbWVudF9saXN0",
"GAQgAygNUhBkZWxFcXVpcG1lbnRMaXN0EjQKDW1hdGVyaWFsX2xpc3QYBSAD",
"KAsyDy5wcm90by5NYXRlcmlhbFIMbWF0ZXJpYWxMaXN0EisKCnF1ZXN0X2xp",
"c3QYBiADKAsyDC5wcm90by5RdWVzdFIJcXVlc3RMaXN0EjUKDG1pc3Npb25f",
"c3luYxgHIAEoCzISLnByb3RvLk1pc3Npb25TeW5jUgttaXNzaW9uU3luYxJC",
"ChFiYXNpY19tb2R1bGVfc3luYxgIIAEoCzIWLnByb3RvLkJhc2ljTW9kdWxl",
"U3luY1IPYmFzaWNNb2R1bGVTeW5jEisKCnJlbGljX2xpc3QYCSADKAsyDC5w",
"cm90by5SZWxpY1IJcmVsaWNMaXN0EiQKDmRlbF9yZWxpY19saXN0GAogAygN",
"UgxkZWxSZWxpY0xpc3QSRQoSbWlzc2lvbl9ldmVudF9zeW5jGAsgASgLMhcu",
"cHJvdG8uTWlzc2lvbkV2ZW50U3luY1IQbWlzc2lvbkV2ZW50U3luYxJJChRi",
"YXNpY190eXBlX2luZm9fbGlzdBgMIAMoCzIYLnByb3RvLkhlcm9CYXNpY1R5",
"cGVJbmZvUhFiYXNpY1R5cGVJbmZvTGlzdBI3Cg9yb2d1ZV9pdGVtX2xpc3QY",
"DSADKAsyDy5wcm90by5NYXRlcmlhbFINcm9ndWVJdGVtTGlzdBJCChFyb2d1",
"ZV9tb2R1bGVfc3luYxgOIAEoCzIWLnByb3RvLlJvZ3VlTW9kdWxlU3luY1IP",
"cm9ndWVNb2R1bGVTeW5jEksKFndhaXRfZGVsX3Jlc291cmNlX2xpc3QYDyAD",
"KAsyFi5wcm90by5XYWl0RGVsUmVzb3VyY2VSE3dhaXREZWxSZXNvdXJjZUxp",
"c3QSMgoVdG90YWxfYWNoaWV2ZW1lbnRfZXhwGBAgASgNUhN0b3RhbEFjaGll",
"dmVtZW50RXhwEisKEm5ld19pdGVtX2hpbnRfbGlzdBgRIAMoDVIPbmV3SXRl",
"bUhpbnRMaXN0KkYKEUNtZFBsYXllclN5bmNUeXBlEhUKEUNtZFBsYXllclN5",
"bmNOb25lEAASGgoVQ21kUGxheWVyU3luY1NjTm90aWZ5ENkEYgZwcm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::RPG.Network.Proto.CommonDefineReflection.Descriptor, global::RPG.Network.Proto.CsAvatarReflection.Descriptor, global::RPG.Network.Proto.CsItemReflection.Descriptor, global::RPG.Network.Proto.CsQuestReflection.Descriptor, global::RPG.Network.Proto.CsMissionReflection.Descriptor, global::RPG.Network.Proto.CsPlayerReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(new[] {typeof(global::RPG.Network.Proto.CmdPlayerSyncType), }, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.BasicModuleSync), global::RPG.Network.Proto.BasicModuleSync.Parser, new[]{ "Stamina", "WeekCocoonFinishedCount" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.RogueModuleSync), global::RPG.Network.Proto.RogueModuleSync.Parser, new[]{ "RogueCoin", "RogueStamina", "RogueExploreExp" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.AvatarSync), global::RPG.Network.Proto.AvatarSync.Parser, new[]{ "AvatarList" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.MissionSync), global::RPG.Network.Proto.MissionSync.Parser, new[]{ "MissionList", "FinishedMainMissionIdList", "DelMissionIdList", "DelMainMissionIdList" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.MissionEventSync), global::RPG.Network.Proto.MissionEventSync.Parser, new[]{ "MissionEventList", "FinishedMissionEventIdList", "DelMissionEventIdList" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::RPG.Network.Proto.PlayerSyncScNotify), global::RPG.Network.Proto.PlayerSyncScNotify.Parser, new[]{ "BasicInfo", "AvatarSync", "EquipmentList", "DelEquipmentList", "MaterialList", "QuestList", "MissionSync", "BasicModuleSync", "RelicList", "DelRelicList", "MissionEventSync", "BasicTypeInfoList", "RogueItemList", "RogueModuleSync", "WaitDelResourceList", "TotalAchievementExp", "NewItemHintList" }, null, null, null, null)
}));
}
#endregion
}
#region Enums
public enum CmdPlayerSyncType {
[pbr::OriginalName("CmdPlayerSyncNone")] CmdPlayerSyncNone = 0,
[pbr::OriginalName("CmdPlayerSyncScNotify")] CmdPlayerSyncScNotify = 601,
}
#endregion
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class BasicModuleSync : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BasicModuleSync());
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::RPG.Network.Proto.CsSyncReflection.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 BasicModuleSync() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public BasicModuleSync(BasicModuleSync other) : this() {
stamina_ = other.stamina_;
weekCocoonFinishedCount_ = other.weekCocoonFinishedCount_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public BasicModuleSync Clone() {
return new BasicModuleSync(this);
}
/// Field number for the "stamina" field.
public const int StaminaFieldNumber = 1;
private uint stamina_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint Stamina {
get { return stamina_; }
set {
stamina_ = value;
}
}
/// Field number for the "week_cocoon_finished_count" field.
public const int WeekCocoonFinishedCountFieldNumber = 2;
private uint weekCocoonFinishedCount_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint WeekCocoonFinishedCount {
get { return weekCocoonFinishedCount_; }
set {
weekCocoonFinishedCount_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as BasicModuleSync);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(BasicModuleSync other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Stamina != other.Stamina) return false;
if (WeekCocoonFinishedCount != other.WeekCocoonFinishedCount) 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 (Stamina != 0) hash ^= Stamina.GetHashCode();
if (WeekCocoonFinishedCount != 0) hash ^= WeekCocoonFinishedCount.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 (Stamina != 0) {
output.WriteRawTag(8);
output.WriteUInt32(Stamina);
}
if (WeekCocoonFinishedCount != 0) {
output.WriteRawTag(16);
output.WriteUInt32(WeekCocoonFinishedCount);
}
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 (Stamina != 0) {
output.WriteRawTag(8);
output.WriteUInt32(Stamina);
}
if (WeekCocoonFinishedCount != 0) {
output.WriteRawTag(16);
output.WriteUInt32(WeekCocoonFinishedCount);
}
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 (Stamina != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Stamina);
}
if (WeekCocoonFinishedCount != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(WeekCocoonFinishedCount);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(BasicModuleSync other) {
if (other == null) {
return;
}
if (other.Stamina != 0) {
Stamina = other.Stamina;
}
if (other.WeekCocoonFinishedCount != 0) {
WeekCocoonFinishedCount = other.WeekCocoonFinishedCount;
}
_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: {
Stamina = input.ReadUInt32();
break;
}
case 16: {
WeekCocoonFinishedCount = input.ReadUInt32();
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: {
Stamina = input.ReadUInt32();
break;
}
case 16: {
WeekCocoonFinishedCount = input.ReadUInt32();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class RogueModuleSync : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new RogueModuleSync());
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::RPG.Network.Proto.CsSyncReflection.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 RogueModuleSync() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public RogueModuleSync(RogueModuleSync other) : this() {
rogueCoin_ = other.rogueCoin_;
rogueStamina_ = other.rogueStamina_;
rogueExploreExp_ = other.rogueExploreExp_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public RogueModuleSync Clone() {
return new RogueModuleSync(this);
}
/// Field number for the "rogue_coin" field.
public const int RogueCoinFieldNumber = 1;
private uint rogueCoin_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint RogueCoin {
get { return rogueCoin_; }
set {
rogueCoin_ = value;
}
}
/// Field number for the "rogue_stamina" field.
public const int RogueStaminaFieldNumber = 2;
private uint rogueStamina_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint RogueStamina {
get { return rogueStamina_; }
set {
rogueStamina_ = value;
}
}
/// Field number for the "rogue_explore_exp" field.
public const int RogueExploreExpFieldNumber = 3;
private uint rogueExploreExp_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint RogueExploreExp {
get { return rogueExploreExp_; }
set {
rogueExploreExp_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as RogueModuleSync);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(RogueModuleSync other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (RogueCoin != other.RogueCoin) return false;
if (RogueStamina != other.RogueStamina) return false;
if (RogueExploreExp != other.RogueExploreExp) 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 (RogueCoin != 0) hash ^= RogueCoin.GetHashCode();
if (RogueStamina != 0) hash ^= RogueStamina.GetHashCode();
if (RogueExploreExp != 0) hash ^= RogueExploreExp.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 (RogueCoin != 0) {
output.WriteRawTag(8);
output.WriteUInt32(RogueCoin);
}
if (RogueStamina != 0) {
output.WriteRawTag(16);
output.WriteUInt32(RogueStamina);
}
if (RogueExploreExp != 0) {
output.WriteRawTag(24);
output.WriteUInt32(RogueExploreExp);
}
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 (RogueCoin != 0) {
output.WriteRawTag(8);
output.WriteUInt32(RogueCoin);
}
if (RogueStamina != 0) {
output.WriteRawTag(16);
output.WriteUInt32(RogueStamina);
}
if (RogueExploreExp != 0) {
output.WriteRawTag(24);
output.WriteUInt32(RogueExploreExp);
}
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 (RogueCoin != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RogueCoin);
}
if (RogueStamina != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RogueStamina);
}
if (RogueExploreExp != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(RogueExploreExp);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(RogueModuleSync other) {
if (other == null) {
return;
}
if (other.RogueCoin != 0) {
RogueCoin = other.RogueCoin;
}
if (other.RogueStamina != 0) {
RogueStamina = other.RogueStamina;
}
if (other.RogueExploreExp != 0) {
RogueExploreExp = other.RogueExploreExp;
}
_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: {
RogueCoin = input.ReadUInt32();
break;
}
case 16: {
RogueStamina = input.ReadUInt32();
break;
}
case 24: {
RogueExploreExp = input.ReadUInt32();
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: {
RogueCoin = input.ReadUInt32();
break;
}
case 16: {
RogueStamina = input.ReadUInt32();
break;
}
case 24: {
RogueExploreExp = input.ReadUInt32();
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class AvatarSync : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new AvatarSync());
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::RPG.Network.Proto.CsSyncReflection.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 AvatarSync() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public AvatarSync(AvatarSync other) : this() {
avatarList_ = other.avatarList_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public AvatarSync Clone() {
return new AvatarSync(this);
}
/// Field number for the "avatar_list" field.
public const int AvatarListFieldNumber = 1;
private static readonly pb::FieldCodec _repeated_avatarList_codec
= pb::FieldCodec.ForMessage(10, global::RPG.Network.Proto.Avatar.Parser);
private readonly pbc::RepeatedField avatarList_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField AvatarList {
get { return avatarList_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as AvatarSync);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(AvatarSync other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if(!avatarList_.Equals(other.avatarList_)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
hash ^= avatarList_.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
avatarList_.WriteTo(output, _repeated_avatarList_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) {
avatarList_.WriteTo(ref output, _repeated_avatarList_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;
size += avatarList_.CalculateSize(_repeated_avatarList_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(AvatarSync other) {
if (other == null) {
return;
}
avatarList_.Add(other.avatarList_);
_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: {
avatarList_.AddEntriesFrom(input, _repeated_avatarList_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: {
avatarList_.AddEntriesFrom(ref input, _repeated_avatarList_codec);
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class MissionSync : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MissionSync());
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::RPG.Network.Proto.CsSyncReflection.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 MissionSync() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public MissionSync(MissionSync other) : this() {
missionList_ = other.missionList_.Clone();
finishedMainMissionIdList_ = other.finishedMainMissionIdList_.Clone();
delMissionIdList_ = other.delMissionIdList_.Clone();
delMainMissionIdList_ = other.delMainMissionIdList_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public MissionSync Clone() {
return new MissionSync(this);
}
/// Field number for the "mission_list" field.
public const int MissionListFieldNumber = 1;
private static readonly pb::FieldCodec _repeated_missionList_codec
= pb::FieldCodec.ForMessage(10, global::RPG.Network.Proto.Mission.Parser);
private readonly pbc::RepeatedField missionList_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField MissionList {
get { return missionList_; }
}
/// Field number for the "finished_main_mission_id_list" field.
public const int FinishedMainMissionIdListFieldNumber = 2;
private static readonly pb::FieldCodec _repeated_finishedMainMissionIdList_codec
= pb::FieldCodec.ForUInt32(18);
private readonly pbc::RepeatedField finishedMainMissionIdList_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField FinishedMainMissionIdList {
get { return finishedMainMissionIdList_; }
}
/// Field number for the "del_mission_id_list" field.
public const int DelMissionIdListFieldNumber = 3;
private static readonly pb::FieldCodec _repeated_delMissionIdList_codec
= pb::FieldCodec.ForUInt32(26);
private readonly pbc::RepeatedField delMissionIdList_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField DelMissionIdList {
get { return delMissionIdList_; }
}
/// Field number for the "del_main_mission_id_list" field.
public const int DelMainMissionIdListFieldNumber = 4;
private static readonly pb::FieldCodec _repeated_delMainMissionIdList_codec
= pb::FieldCodec.ForUInt32(34);
private readonly pbc::RepeatedField delMainMissionIdList_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField DelMainMissionIdList {
get { return delMainMissionIdList_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as MissionSync);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(MissionSync other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if(!missionList_.Equals(other.missionList_)) return false;
if(!finishedMainMissionIdList_.Equals(other.finishedMainMissionIdList_)) return false;
if(!delMissionIdList_.Equals(other.delMissionIdList_)) return false;
if(!delMainMissionIdList_.Equals(other.delMainMissionIdList_)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
hash ^= missionList_.GetHashCode();
hash ^= finishedMainMissionIdList_.GetHashCode();
hash ^= delMissionIdList_.GetHashCode();
hash ^= delMainMissionIdList_.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
missionList_.WriteTo(output, _repeated_missionList_codec);
finishedMainMissionIdList_.WriteTo(output, _repeated_finishedMainMissionIdList_codec);
delMissionIdList_.WriteTo(output, _repeated_delMissionIdList_codec);
delMainMissionIdList_.WriteTo(output, _repeated_delMainMissionIdList_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) {
missionList_.WriteTo(ref output, _repeated_missionList_codec);
finishedMainMissionIdList_.WriteTo(ref output, _repeated_finishedMainMissionIdList_codec);
delMissionIdList_.WriteTo(ref output, _repeated_delMissionIdList_codec);
delMainMissionIdList_.WriteTo(ref output, _repeated_delMainMissionIdList_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;
size += missionList_.CalculateSize(_repeated_missionList_codec);
size += finishedMainMissionIdList_.CalculateSize(_repeated_finishedMainMissionIdList_codec);
size += delMissionIdList_.CalculateSize(_repeated_delMissionIdList_codec);
size += delMainMissionIdList_.CalculateSize(_repeated_delMainMissionIdList_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(MissionSync other) {
if (other == null) {
return;
}
missionList_.Add(other.missionList_);
finishedMainMissionIdList_.Add(other.finishedMainMissionIdList_);
delMissionIdList_.Add(other.delMissionIdList_);
delMainMissionIdList_.Add(other.delMainMissionIdList_);
_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: {
missionList_.AddEntriesFrom(input, _repeated_missionList_codec);
break;
}
case 18:
case 16: {
finishedMainMissionIdList_.AddEntriesFrom(input, _repeated_finishedMainMissionIdList_codec);
break;
}
case 26:
case 24: {
delMissionIdList_.AddEntriesFrom(input, _repeated_delMissionIdList_codec);
break;
}
case 34:
case 32: {
delMainMissionIdList_.AddEntriesFrom(input, _repeated_delMainMissionIdList_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: {
missionList_.AddEntriesFrom(ref input, _repeated_missionList_codec);
break;
}
case 18:
case 16: {
finishedMainMissionIdList_.AddEntriesFrom(ref input, _repeated_finishedMainMissionIdList_codec);
break;
}
case 26:
case 24: {
delMissionIdList_.AddEntriesFrom(ref input, _repeated_delMissionIdList_codec);
break;
}
case 34:
case 32: {
delMainMissionIdList_.AddEntriesFrom(ref input, _repeated_delMainMissionIdList_codec);
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class MissionEventSync : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MissionEventSync());
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::RPG.Network.Proto.CsSyncReflection.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 MissionEventSync() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public MissionEventSync(MissionEventSync other) : this() {
missionEventList_ = other.missionEventList_.Clone();
finishedMissionEventIdList_ = other.finishedMissionEventIdList_.Clone();
delMissionEventIdList_ = other.delMissionEventIdList_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public MissionEventSync Clone() {
return new MissionEventSync(this);
}
/// Field number for the "mission_event_list" field.
public const int MissionEventListFieldNumber = 1;
private static readonly pb::FieldCodec _repeated_missionEventList_codec
= pb::FieldCodec.ForMessage(10, global::RPG.Network.Proto.Mission.Parser);
private readonly pbc::RepeatedField missionEventList_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField MissionEventList {
get { return missionEventList_; }
}
/// Field number for the "finished_mission_event_id_list" field.
public const int FinishedMissionEventIdListFieldNumber = 2;
private static readonly pb::FieldCodec _repeated_finishedMissionEventIdList_codec
= pb::FieldCodec.ForUInt32(18);
private readonly pbc::RepeatedField finishedMissionEventIdList_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField FinishedMissionEventIdList {
get { return finishedMissionEventIdList_; }
}
/// Field number for the "del_mission_event_id_list" field.
public const int DelMissionEventIdListFieldNumber = 3;
private static readonly pb::FieldCodec _repeated_delMissionEventIdList_codec
= pb::FieldCodec.ForUInt32(26);
private readonly pbc::RepeatedField delMissionEventIdList_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField DelMissionEventIdList {
get { return delMissionEventIdList_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as MissionEventSync);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(MissionEventSync other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if(!missionEventList_.Equals(other.missionEventList_)) return false;
if(!finishedMissionEventIdList_.Equals(other.finishedMissionEventIdList_)) return false;
if(!delMissionEventIdList_.Equals(other.delMissionEventIdList_)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override int GetHashCode() {
int hash = 1;
hash ^= missionEventList_.GetHashCode();
hash ^= finishedMissionEventIdList_.GetHashCode();
hash ^= delMissionEventIdList_.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
missionEventList_.WriteTo(output, _repeated_missionEventList_codec);
finishedMissionEventIdList_.WriteTo(output, _repeated_finishedMissionEventIdList_codec);
delMissionEventIdList_.WriteTo(output, _repeated_delMissionEventIdList_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) {
missionEventList_.WriteTo(ref output, _repeated_missionEventList_codec);
finishedMissionEventIdList_.WriteTo(ref output, _repeated_finishedMissionEventIdList_codec);
delMissionEventIdList_.WriteTo(ref output, _repeated_delMissionEventIdList_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;
size += missionEventList_.CalculateSize(_repeated_missionEventList_codec);
size += finishedMissionEventIdList_.CalculateSize(_repeated_finishedMissionEventIdList_codec);
size += delMissionEventIdList_.CalculateSize(_repeated_delMissionEventIdList_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(MissionEventSync other) {
if (other == null) {
return;
}
missionEventList_.Add(other.missionEventList_);
finishedMissionEventIdList_.Add(other.finishedMissionEventIdList_);
delMissionEventIdList_.Add(other.delMissionEventIdList_);
_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: {
missionEventList_.AddEntriesFrom(input, _repeated_missionEventList_codec);
break;
}
case 18:
case 16: {
finishedMissionEventIdList_.AddEntriesFrom(input, _repeated_finishedMissionEventIdList_codec);
break;
}
case 26:
case 24: {
delMissionEventIdList_.AddEntriesFrom(input, _repeated_delMissionEventIdList_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: {
missionEventList_.AddEntriesFrom(ref input, _repeated_missionEventList_codec);
break;
}
case 18:
case 16: {
finishedMissionEventIdList_.AddEntriesFrom(ref input, _repeated_finishedMissionEventIdList_codec);
break;
}
case 26:
case 24: {
delMissionEventIdList_.AddEntriesFrom(ref input, _repeated_delMissionEventIdList_codec);
break;
}
}
}
}
#endif
}
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class PlayerSyncScNotify : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new PlayerSyncScNotify());
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::RPG.Network.Proto.CsSyncReflection.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 PlayerSyncScNotify() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public PlayerSyncScNotify(PlayerSyncScNotify other) : this() {
basicInfo_ = other.basicInfo_ != null ? other.basicInfo_.Clone() : null;
avatarSync_ = other.avatarSync_ != null ? other.avatarSync_.Clone() : null;
equipmentList_ = other.equipmentList_.Clone();
delEquipmentList_ = other.delEquipmentList_.Clone();
materialList_ = other.materialList_.Clone();
questList_ = other.questList_.Clone();
missionSync_ = other.missionSync_ != null ? other.missionSync_.Clone() : null;
basicModuleSync_ = other.basicModuleSync_ != null ? other.basicModuleSync_.Clone() : null;
relicList_ = other.relicList_.Clone();
delRelicList_ = other.delRelicList_.Clone();
missionEventSync_ = other.missionEventSync_ != null ? other.missionEventSync_.Clone() : null;
basicTypeInfoList_ = other.basicTypeInfoList_.Clone();
rogueItemList_ = other.rogueItemList_.Clone();
rogueModuleSync_ = other.rogueModuleSync_ != null ? other.rogueModuleSync_.Clone() : null;
waitDelResourceList_ = other.waitDelResourceList_.Clone();
totalAchievementExp_ = other.totalAchievementExp_;
newItemHintList_ = other.newItemHintList_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public PlayerSyncScNotify Clone() {
return new PlayerSyncScNotify(this);
}
/// Field number for the "basic_info" field.
public const int BasicInfoFieldNumber = 1;
private global::RPG.Network.Proto.PlayerBasicInfo basicInfo_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::RPG.Network.Proto.PlayerBasicInfo BasicInfo {
get { return basicInfo_; }
set {
basicInfo_ = value;
}
}
/// Field number for the "avatar_sync" field.
public const int AvatarSyncFieldNumber = 2;
private global::RPG.Network.Proto.AvatarSync avatarSync_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::RPG.Network.Proto.AvatarSync AvatarSync {
get { return avatarSync_; }
set {
avatarSync_ = value;
}
}
/// Field number for the "equipment_list" field.
public const int EquipmentListFieldNumber = 3;
private static readonly pb::FieldCodec _repeated_equipmentList_codec
= pb::FieldCodec.ForMessage(26, global::RPG.Network.Proto.Equipment.Parser);
private readonly pbc::RepeatedField equipmentList_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField EquipmentList {
get { return equipmentList_; }
}
/// Field number for the "del_equipment_list" field.
public const int DelEquipmentListFieldNumber = 4;
private static readonly pb::FieldCodec _repeated_delEquipmentList_codec
= pb::FieldCodec.ForUInt32(34);
private readonly pbc::RepeatedField delEquipmentList_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField DelEquipmentList {
get { return delEquipmentList_; }
}
/// Field number for the "material_list" field.
public const int MaterialListFieldNumber = 5;
private static readonly pb::FieldCodec _repeated_materialList_codec
= pb::FieldCodec.ForMessage(42, global::RPG.Network.Proto.Material.Parser);
private readonly pbc::RepeatedField materialList_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField MaterialList {
get { return materialList_; }
}
/// Field number for the "quest_list" field.
public const int QuestListFieldNumber = 6;
private static readonly pb::FieldCodec _repeated_questList_codec
= pb::FieldCodec.ForMessage(50, global::RPG.Network.Proto.Quest.Parser);
private readonly pbc::RepeatedField questList_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField QuestList {
get { return questList_; }
}
/// Field number for the "mission_sync" field.
public const int MissionSyncFieldNumber = 7;
private global::RPG.Network.Proto.MissionSync missionSync_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::RPG.Network.Proto.MissionSync MissionSync {
get { return missionSync_; }
set {
missionSync_ = value;
}
}
/// Field number for the "basic_module_sync" field.
public const int BasicModuleSyncFieldNumber = 8;
private global::RPG.Network.Proto.BasicModuleSync basicModuleSync_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::RPG.Network.Proto.BasicModuleSync BasicModuleSync {
get { return basicModuleSync_; }
set {
basicModuleSync_ = value;
}
}
/// Field number for the "relic_list" field.
public const int RelicListFieldNumber = 9;
private static readonly pb::FieldCodec _repeated_relicList_codec
= pb::FieldCodec.ForMessage(74, global::RPG.Network.Proto.Relic.Parser);
private readonly pbc::RepeatedField relicList_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField RelicList {
get { return relicList_; }
}
/// Field number for the "del_relic_list" field.
public const int DelRelicListFieldNumber = 10;
private static readonly pb::FieldCodec _repeated_delRelicList_codec
= pb::FieldCodec.ForUInt32(82);
private readonly pbc::RepeatedField delRelicList_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField DelRelicList {
get { return delRelicList_; }
}
/// Field number for the "mission_event_sync" field.
public const int MissionEventSyncFieldNumber = 11;
private global::RPG.Network.Proto.MissionEventSync missionEventSync_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::RPG.Network.Proto.MissionEventSync MissionEventSync {
get { return missionEventSync_; }
set {
missionEventSync_ = value;
}
}
/// Field number for the "basic_type_info_list" field.
public const int BasicTypeInfoListFieldNumber = 12;
private static readonly pb::FieldCodec _repeated_basicTypeInfoList_codec
= pb::FieldCodec.ForMessage(98, global::RPG.Network.Proto.HeroBasicTypeInfo.Parser);
private readonly pbc::RepeatedField basicTypeInfoList_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField BasicTypeInfoList {
get { return basicTypeInfoList_; }
}
/// Field number for the "rogue_item_list" field.
public const int RogueItemListFieldNumber = 13;
private static readonly pb::FieldCodec _repeated_rogueItemList_codec
= pb::FieldCodec.ForMessage(106, global::RPG.Network.Proto.Material.Parser);
private readonly pbc::RepeatedField rogueItemList_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField RogueItemList {
get { return rogueItemList_; }
}
/// Field number for the "rogue_module_sync" field.
public const int RogueModuleSyncFieldNumber = 14;
private global::RPG.Network.Proto.RogueModuleSync rogueModuleSync_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::RPG.Network.Proto.RogueModuleSync RogueModuleSync {
get { return rogueModuleSync_; }
set {
rogueModuleSync_ = value;
}
}
/// Field number for the "wait_del_resource_list" field.
public const int WaitDelResourceListFieldNumber = 15;
private static readonly pb::FieldCodec _repeated_waitDelResourceList_codec
= pb::FieldCodec.ForMessage(122, global::RPG.Network.Proto.WaitDelResource.Parser);
private readonly pbc::RepeatedField waitDelResourceList_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField WaitDelResourceList {
get { return waitDelResourceList_; }
}
/// Field number for the "total_achievement_exp" field.
public const int TotalAchievementExpFieldNumber = 16;
private uint totalAchievementExp_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint TotalAchievementExp {
get { return totalAchievementExp_; }
set {
totalAchievementExp_ = value;
}
}
/// Field number for the "new_item_hint_list" field.
public const int NewItemHintListFieldNumber = 17;
private static readonly pb::FieldCodec _repeated_newItemHintList_codec
= pb::FieldCodec.ForUInt32(138);
private readonly pbc::RepeatedField newItemHintList_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField NewItemHintList {
get { return newItemHintList_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as PlayerSyncScNotify);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(PlayerSyncScNotify other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(BasicInfo, other.BasicInfo)) return false;
if (!object.Equals(AvatarSync, other.AvatarSync)) return false;
if(!equipmentList_.Equals(other.equipmentList_)) return false;
if(!delEquipmentList_.Equals(other.delEquipmentList_)) return false;
if(!materialList_.Equals(other.materialList_)) return false;
if(!questList_.Equals(other.questList_)) return false;
if (!object.Equals(MissionSync, other.MissionSync)) return false;
if (!object.Equals(BasicModuleSync, other.BasicModuleSync)) return false;
if(!relicList_.Equals(other.relicList_)) return false;
if(!delRelicList_.Equals(other.delRelicList_)) return false;
if (!object.Equals(MissionEventSync, other.MissionEventSync)) return false;
if(!basicTypeInfoList_.Equals(other.basicTypeInfoList_)) return false;
if(!rogueItemList_.Equals(other.rogueItemList_)) return false;
if (!object.Equals(RogueModuleSync, other.RogueModuleSync)) return false;
if(!waitDelResourceList_.Equals(other.waitDelResourceList_)) return false;
if (TotalAchievementExp != other.TotalAchievementExp) return false;
if(!newItemHintList_.Equals(other.newItemHintList_)) 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 (basicInfo_ != null) hash ^= BasicInfo.GetHashCode();
if (avatarSync_ != null) hash ^= AvatarSync.GetHashCode();
hash ^= equipmentList_.GetHashCode();
hash ^= delEquipmentList_.GetHashCode();
hash ^= materialList_.GetHashCode();
hash ^= questList_.GetHashCode();
if (missionSync_ != null) hash ^= MissionSync.GetHashCode();
if (basicModuleSync_ != null) hash ^= BasicModuleSync.GetHashCode();
hash ^= relicList_.GetHashCode();
hash ^= delRelicList_.GetHashCode();
if (missionEventSync_ != null) hash ^= MissionEventSync.GetHashCode();
hash ^= basicTypeInfoList_.GetHashCode();
hash ^= rogueItemList_.GetHashCode();
if (rogueModuleSync_ != null) hash ^= RogueModuleSync.GetHashCode();
hash ^= waitDelResourceList_.GetHashCode();
if (TotalAchievementExp != 0) hash ^= TotalAchievementExp.GetHashCode();
hash ^= newItemHintList_.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 (basicInfo_ != null) {
output.WriteRawTag(10);
output.WriteMessage(BasicInfo);
}
if (avatarSync_ != null) {
output.WriteRawTag(18);
output.WriteMessage(AvatarSync);
}
equipmentList_.WriteTo(output, _repeated_equipmentList_codec);
delEquipmentList_.WriteTo(output, _repeated_delEquipmentList_codec);
materialList_.WriteTo(output, _repeated_materialList_codec);
questList_.WriteTo(output, _repeated_questList_codec);
if (missionSync_ != null) {
output.WriteRawTag(58);
output.WriteMessage(MissionSync);
}
if (basicModuleSync_ != null) {
output.WriteRawTag(66);
output.WriteMessage(BasicModuleSync);
}
relicList_.WriteTo(output, _repeated_relicList_codec);
delRelicList_.WriteTo(output, _repeated_delRelicList_codec);
if (missionEventSync_ != null) {
output.WriteRawTag(90);
output.WriteMessage(MissionEventSync);
}
basicTypeInfoList_.WriteTo(output, _repeated_basicTypeInfoList_codec);
rogueItemList_.WriteTo(output, _repeated_rogueItemList_codec);
if (rogueModuleSync_ != null) {
output.WriteRawTag(114);
output.WriteMessage(RogueModuleSync);
}
waitDelResourceList_.WriteTo(output, _repeated_waitDelResourceList_codec);
if (TotalAchievementExp != 0) {
output.WriteRawTag(128, 1);
output.WriteUInt32(TotalAchievementExp);
}
newItemHintList_.WriteTo(output, _repeated_newItemHintList_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 (basicInfo_ != null) {
output.WriteRawTag(10);
output.WriteMessage(BasicInfo);
}
if (avatarSync_ != null) {
output.WriteRawTag(18);
output.WriteMessage(AvatarSync);
}
equipmentList_.WriteTo(ref output, _repeated_equipmentList_codec);
delEquipmentList_.WriteTo(ref output, _repeated_delEquipmentList_codec);
materialList_.WriteTo(ref output, _repeated_materialList_codec);
questList_.WriteTo(ref output, _repeated_questList_codec);
if (missionSync_ != null) {
output.WriteRawTag(58);
output.WriteMessage(MissionSync);
}
if (basicModuleSync_ != null) {
output.WriteRawTag(66);
output.WriteMessage(BasicModuleSync);
}
relicList_.WriteTo(ref output, _repeated_relicList_codec);
delRelicList_.WriteTo(ref output, _repeated_delRelicList_codec);
if (missionEventSync_ != null) {
output.WriteRawTag(90);
output.WriteMessage(MissionEventSync);
}
basicTypeInfoList_.WriteTo(ref output, _repeated_basicTypeInfoList_codec);
rogueItemList_.WriteTo(ref output, _repeated_rogueItemList_codec);
if (rogueModuleSync_ != null) {
output.WriteRawTag(114);
output.WriteMessage(RogueModuleSync);
}
waitDelResourceList_.WriteTo(ref output, _repeated_waitDelResourceList_codec);
if (TotalAchievementExp != 0) {
output.WriteRawTag(128, 1);
output.WriteUInt32(TotalAchievementExp);
}
newItemHintList_.WriteTo(ref output, _repeated_newItemHintList_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 (basicInfo_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(BasicInfo);
}
if (avatarSync_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AvatarSync);
}
size += equipmentList_.CalculateSize(_repeated_equipmentList_codec);
size += delEquipmentList_.CalculateSize(_repeated_delEquipmentList_codec);
size += materialList_.CalculateSize(_repeated_materialList_codec);
size += questList_.CalculateSize(_repeated_questList_codec);
if (missionSync_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(MissionSync);
}
if (basicModuleSync_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(BasicModuleSync);
}
size += relicList_.CalculateSize(_repeated_relicList_codec);
size += delRelicList_.CalculateSize(_repeated_delRelicList_codec);
if (missionEventSync_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(MissionEventSync);
}
size += basicTypeInfoList_.CalculateSize(_repeated_basicTypeInfoList_codec);
size += rogueItemList_.CalculateSize(_repeated_rogueItemList_codec);
if (rogueModuleSync_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(RogueModuleSync);
}
size += waitDelResourceList_.CalculateSize(_repeated_waitDelResourceList_codec);
if (TotalAchievementExp != 0) {
size += 2 + pb::CodedOutputStream.ComputeUInt32Size(TotalAchievementExp);
}
size += newItemHintList_.CalculateSize(_repeated_newItemHintList_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(PlayerSyncScNotify other) {
if (other == null) {
return;
}
if (other.basicInfo_ != null) {
if (basicInfo_ == null) {
BasicInfo = new global::RPG.Network.Proto.PlayerBasicInfo();
}
BasicInfo.MergeFrom(other.BasicInfo);
}
if (other.avatarSync_ != null) {
if (avatarSync_ == null) {
AvatarSync = new global::RPG.Network.Proto.AvatarSync();
}
AvatarSync.MergeFrom(other.AvatarSync);
}
equipmentList_.Add(other.equipmentList_);
delEquipmentList_.Add(other.delEquipmentList_);
materialList_.Add(other.materialList_);
questList_.Add(other.questList_);
if (other.missionSync_ != null) {
if (missionSync_ == null) {
MissionSync = new global::RPG.Network.Proto.MissionSync();
}
MissionSync.MergeFrom(other.MissionSync);
}
if (other.basicModuleSync_ != null) {
if (basicModuleSync_ == null) {
BasicModuleSync = new global::RPG.Network.Proto.BasicModuleSync();
}
BasicModuleSync.MergeFrom(other.BasicModuleSync);
}
relicList_.Add(other.relicList_);
delRelicList_.Add(other.delRelicList_);
if (other.missionEventSync_ != null) {
if (missionEventSync_ == null) {
MissionEventSync = new global::RPG.Network.Proto.MissionEventSync();
}
MissionEventSync.MergeFrom(other.MissionEventSync);
}
basicTypeInfoList_.Add(other.basicTypeInfoList_);
rogueItemList_.Add(other.rogueItemList_);
if (other.rogueModuleSync_ != null) {
if (rogueModuleSync_ == null) {
RogueModuleSync = new global::RPG.Network.Proto.RogueModuleSync();
}
RogueModuleSync.MergeFrom(other.RogueModuleSync);
}
waitDelResourceList_.Add(other.waitDelResourceList_);
if (other.TotalAchievementExp != 0) {
TotalAchievementExp = other.TotalAchievementExp;
}
newItemHintList_.Add(other.newItemHintList_);
_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 (basicInfo_ == null) {
BasicInfo = new global::RPG.Network.Proto.PlayerBasicInfo();
}
input.ReadMessage(BasicInfo);
break;
}
case 18: {
if (avatarSync_ == null) {
AvatarSync = new global::RPG.Network.Proto.AvatarSync();
}
input.ReadMessage(AvatarSync);
break;
}
case 26: {
equipmentList_.AddEntriesFrom(input, _repeated_equipmentList_codec);
break;
}
case 34:
case 32: {
delEquipmentList_.AddEntriesFrom(input, _repeated_delEquipmentList_codec);
break;
}
case 42: {
materialList_.AddEntriesFrom(input, _repeated_materialList_codec);
break;
}
case 50: {
questList_.AddEntriesFrom(input, _repeated_questList_codec);
break;
}
case 58: {
if (missionSync_ == null) {
MissionSync = new global::RPG.Network.Proto.MissionSync();
}
input.ReadMessage(MissionSync);
break;
}
case 66: {
if (basicModuleSync_ == null) {
BasicModuleSync = new global::RPG.Network.Proto.BasicModuleSync();
}
input.ReadMessage(BasicModuleSync);
break;
}
case 74: {
relicList_.AddEntriesFrom(input, _repeated_relicList_codec);
break;
}
case 82:
case 80: {
delRelicList_.AddEntriesFrom(input, _repeated_delRelicList_codec);
break;
}
case 90: {
if (missionEventSync_ == null) {
MissionEventSync = new global::RPG.Network.Proto.MissionEventSync();
}
input.ReadMessage(MissionEventSync);
break;
}
case 98: {
basicTypeInfoList_.AddEntriesFrom(input, _repeated_basicTypeInfoList_codec);
break;
}
case 106: {
rogueItemList_.AddEntriesFrom(input, _repeated_rogueItemList_codec);
break;
}
case 114: {
if (rogueModuleSync_ == null) {
RogueModuleSync = new global::RPG.Network.Proto.RogueModuleSync();
}
input.ReadMessage(RogueModuleSync);
break;
}
case 122: {
waitDelResourceList_.AddEntriesFrom(input, _repeated_waitDelResourceList_codec);
break;
}
case 128: {
TotalAchievementExp = input.ReadUInt32();
break;
}
case 138:
case 136: {
newItemHintList_.AddEntriesFrom(input, _repeated_newItemHintList_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 (basicInfo_ == null) {
BasicInfo = new global::RPG.Network.Proto.PlayerBasicInfo();
}
input.ReadMessage(BasicInfo);
break;
}
case 18: {
if (avatarSync_ == null) {
AvatarSync = new global::RPG.Network.Proto.AvatarSync();
}
input.ReadMessage(AvatarSync);
break;
}
case 26: {
equipmentList_.AddEntriesFrom(ref input, _repeated_equipmentList_codec);
break;
}
case 34:
case 32: {
delEquipmentList_.AddEntriesFrom(ref input, _repeated_delEquipmentList_codec);
break;
}
case 42: {
materialList_.AddEntriesFrom(ref input, _repeated_materialList_codec);
break;
}
case 50: {
questList_.AddEntriesFrom(ref input, _repeated_questList_codec);
break;
}
case 58: {
if (missionSync_ == null) {
MissionSync = new global::RPG.Network.Proto.MissionSync();
}
input.ReadMessage(MissionSync);
break;
}
case 66: {
if (basicModuleSync_ == null) {
BasicModuleSync = new global::RPG.Network.Proto.BasicModuleSync();
}
input.ReadMessage(BasicModuleSync);
break;
}
case 74: {
relicList_.AddEntriesFrom(ref input, _repeated_relicList_codec);
break;
}
case 82:
case 80: {
delRelicList_.AddEntriesFrom(ref input, _repeated_delRelicList_codec);
break;
}
case 90: {
if (missionEventSync_ == null) {
MissionEventSync = new global::RPG.Network.Proto.MissionEventSync();
}
input.ReadMessage(MissionEventSync);
break;
}
case 98: {
basicTypeInfoList_.AddEntriesFrom(ref input, _repeated_basicTypeInfoList_codec);
break;
}
case 106: {
rogueItemList_.AddEntriesFrom(ref input, _repeated_rogueItemList_codec);
break;
}
case 114: {
if (rogueModuleSync_ == null) {
RogueModuleSync = new global::RPG.Network.Proto.RogueModuleSync();
}
input.ReadMessage(RogueModuleSync);
break;
}
case 122: {
waitDelResourceList_.AddEntriesFrom(ref input, _repeated_waitDelResourceList_codec);
break;
}
case 128: {
TotalAchievementExp = input.ReadUInt32();
break;
}
case 138:
case 136: {
newItemHintList_.AddEntriesFrom(ref input, _repeated_newItemHintList_codec);
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code