// <auto-generated>
//   This file was generated by a tool; you should avoid making direct changes.
//   Consider using 'partial classes' to extend these types
//   Input: PersistenceControl.proto
// </auto-generated>

#region Designer generated code
#pragma warning disable CS0612, CS0618, CS1591, CS3021, IDE0079, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
namespace EA.Sims4.Network
{

    [global::ProtoBuf.ProtoContract()]
    public partial class PersistenceControlMessageData : global::ProtoBuf.IExtensible
    {
        private global::ProtoBuf.IExtension __pbn__extensionData;
        global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
            => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);

        [global::ProtoBuf.ProtoMember(1)]
        public global::System.Collections.Generic.List<global::EA.Sims4.Persistence.SaveGameSlotMetaData> slot_meta_data { get; } = new global::System.Collections.Generic.List<global::EA.Sims4.Persistence.SaveGameSlotMetaData>();

        [global::ProtoBuf.ProtoMember(2)]
        public global::EA.Sims4.Persistence.SaveGameData save_data { get; set; }

        [global::ProtoBuf.ProtoMember(3)]
        public global::System.Collections.Generic.List<global::EA.Sims4.Persistence.ZoneObjectData> zone_object_data { get; } = new global::System.Collections.Generic.List<global::EA.Sims4.Persistence.ZoneObjectData>();

        [global::ProtoBuf.ProtoMember(4)]
        public global::EA.Sims4.Persistence.FeedbackContext errors { get; set; }

        [global::ProtoBuf.ProtoMember(5)]
        public global::System.Collections.Generic.List<global::EA.Sims4.Persistence.ZoneObjectDataScratchPair> scratch_path { get; } = new global::System.Collections.Generic.List<global::EA.Sims4.Persistence.ZoneObjectDataScratchPair>();

    }

    [global::ProtoBuf.ProtoContract()]
    public partial class PersistenceControlMessage : global::ProtoBuf.IExtensible
    {
        private global::ProtoBuf.IExtension __pbn__extensionData;
        global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
            => global::ProtoBuf.Extensible.GetExtensionObject(ref __pbn__extensionData, createIfMissing);

        [global::ProtoBuf.ProtoMember(1)]
        public ulong callback
        {
            get => __pbn__callback.GetValueOrDefault();
            set => __pbn__callback = value;
        }
        public bool ShouldSerializecallback() => __pbn__callback != null;
        public void Resetcallback() => __pbn__callback = null;
        private ulong? __pbn__callback;

        [global::ProtoBuf.ProtoMember(2)]
        public ulong userdata
        {
            get => __pbn__userdata.GetValueOrDefault();
            set => __pbn__userdata = value;
        }
        public bool ShouldSerializeuserdata() => __pbn__userdata != null;
        public void Resetuserdata() => __pbn__userdata = null;
        private ulong? __pbn__userdata;

        [global::ProtoBuf.ProtoMember(4)]
        [global::System.ComponentModel.DefaultValue(PersistenceOpTypes.PERSISTENCE_OP_LOAD_SLOTS)]
        public PersistenceOpTypes opcode
        {
            get => __pbn__opcode ?? PersistenceOpTypes.PERSISTENCE_OP_LOAD_SLOTS;
            set => __pbn__opcode = value;
        }
        public bool ShouldSerializeopcode() => __pbn__opcode != null;
        public void Resetopcode() => __pbn__opcode = null;
        private PersistenceOpTypes? __pbn__opcode;

        [global::ProtoBuf.ProtoMember(5)]
        public PersistenceControlMessageData data { get; set; }

    }

}

#pragma warning restore CS0612, CS0618, CS1591, CS3021, CS8981, IDE0079, IDE1006, RCS1036, RCS1057, RCS1085, RCS1192
#endregion
