Esempio n. 1
0
 /// <summary>
 /// Constructor
 /// </summary>
 public MTN()
 {
     CustomManager = new CustomManager();
     PatchManager  = new PatchManager(CustomManager);
     SpawnManager  = new SpawnManager(CustomManager);
     Template      = new Templates();
 }
Esempio n. 2
0
 /// <summary>
 /// Constructor
 /// </summary>
 public MTN()
 {
     Harmony       = HarmonyInstance.Create("MTN.SgtPickles");
     CustomManager = new CustomManager();
     PatchManager  = new PatchManager(CustomManager);
     SpawnManager  = new SpawnManager(CustomManager);
     Template      = new Templates();
 }
 /// <summary>
 /// Constructor. Awkward method of setting references needed. However, Harmony patches
 /// are required to be static. Thus we must break good Object Orientated practices.
 /// </summary>
 /// <param name="CustomManager">The class controlling information pertaining to the customs (and the loaded customs).</param>
 public wandWarpForRealPatch(ICustomManager customManager)
 {
     wandWarpForRealPatch.customManager = customManager;
 }
Esempio n. 4
0
 /// <summary>
 /// Constructor. Awkward method of setting references needed. However, Harmony patches
 /// are required to be static. Thus we must break good Object Orientated practices.
 /// </summary>
 /// <param name="CustomManager">The class controlling information pertaining to the customs (and the loaded customs).</param>
 public drawPatch(ICustomManager customManager)
 {
     drawPatch.customManager = customManager;
 }
Esempio n. 5
0
 /// <summary>
 /// Constructor. Awkward method of setting references needed. However, Harmony patches
 /// are required to be static. Thus we must break good Object Orientated practices.
 /// </summary>
 /// <param name="CustomManager">The class controlling information pertaining to the customs (and the loaded customs).</param>
 public loadObjectsPatch(ICustomManager customManager)
 {
     loadObjectsPatch.customManager = customManager;
 }
 /// <summary>
 /// Constructor. Awkward method of setting references needed. However, Harmony patches
 /// are required to be static. Thus we must break good Object Orientated practices.
 /// </summary>
 /// <param name="CustomManager">The class controlling information pertaining to the customs (and the loaded customs).</param>
 public updateConstructionAnimationPatch(ICustomManager customManager)
 {
     updateConstructionAnimationPatch.customManager = customManager;
 }
Esempio n. 7
0
 /// <summary>
 /// Constructor. Awkward method of setting references needed. However, Harmony patches
 /// are required to be static. Thus we must break good Object Orientated practices.
 /// </summary>
 /// <param name="farmManager">The class controlling information pertaining to the customs (and the loaded customs).</param>
 /// <param name="Monitor">SMAPI's IMonitor, to print out useful information to user.</param>
 public loadForNewGamePatch(ICustomManager customManager, IMonitor Monitor)
 {
     loadForNewGamePatch.customManager = customManager;
     loadForNewGamePatch.Monitor       = Monitor;
 }
Esempio n. 8
0
 /// <summary>
 /// Constructor. Awkward method of setting references needed. However, Harmony patches
 /// are required to be static. Thus we must break good Object Orientated practices.
 /// </summary>
 /// <param name="CustomManager">The class controlling information pertaining to the customs (and the loaded customs).</param>
 public dayUpdatePatch(ICustomManager customManager)
 {
     dayUpdatePatch.customManager = customManager;
 }
Esempio n. 9
0
 /// <summary>
 /// Constructor. Awkward method of setting references needed. However, Harmony patches
 /// are required to be static. Thus we must break good Object Orientated practices.
 /// </summary>
 /// <param name="customManager">The class controlling information pertaining to the customs (and the loaded customs).</param>
 public checkActionPatch(ICustomManager customManager)
 {
     checkActionPatch.customManager = customManager;
 }
Esempio n. 10
0
 /// <summary>
 /// Constructor. Awkward method of setting references needed. However, Harmony patches
 /// are required to be static. Thus we must break good Object Orientated practices.
 /// </summary>
 /// <param name="customManager">The class controlling information pertaining to the customs (and the loaded customs).</param>
 public ConstructorFarmPatch(ICustomManager customManager)
 {
     ConstructorFarmPatch.customManager = customManager;
 }
Esempio n. 11
0
 /// <summary>
 /// Constructor. Awkward method of setting references needed. However, Harmony patches
 /// are required to be static. Thus we must break good Object Orientated practices.
 /// </summary>
 /// <param name="customManager">The class controlling information pertaining to the custom farms (and the loaded farm).</param>
 public getPorchStandingSpotPatch(ICustomManager customManager)
 {
     getPorchStandingSpotPatch.customManager = customManager;
 }
Esempio n. 12
0
 /// <summary>
 /// Constructor. Awkward method of setting references needed. However, Harmony patches
 /// are required to be static. Thus we must break good Object Orientated practices.
 /// </summary>
 /// <param name="customManager">The class controlling information pertaining to the customs (and the loaded customs).</param>
 public setExitLocationPatch(ICustomManager customManager)
 {
     setExitLocationPatch.customManager = customManager;
 }
Esempio n. 13
0
 /// <summary>
 /// Constructor. Awkward method of setting references needed. However, Harmony patches
 /// are required to be static. Thus we must break good Object Orientated practices.
 /// </summary>
 /// <param name="CustomManager">The class controlling information pertaining to the customs (and the loaded customs).</param>
 public setUpPatch(ICustomManager customManager)
 {
     setUpPatch.customManager = customManager;
 }
Esempio n. 14
0
 public PatchManager(ICustomManager customManager)
 {
     this.customManager = customManager;
     patches            = new List <Patch>();
 }
Esempio n. 15
0
 public SpawnManager(ICustomManager customManager)
 {
     this.customManager = customManager;
 }
Esempio n. 16
0
 /// <summary>
 /// Constructor. Awkward method of setting references needed. However, Harmony patches
 /// are required to be static. Thus we must break good Object Orientated practices.
 /// </summary>
 /// <param name="customManager">The class controlling information pertaining to the customs (and the loaded customs).</param>
 public ConstructorFarmHousePatch(ICustomManager customManager)
 {
     ConstructorFarmHousePatch.customManager = customManager;
     SwappedID = -1;
 }
Esempio n. 17
0
 /// <summary>
 /// Constructor. Awkward method of setting references needed. However, Harmony patches
 /// are required to be static. Thus we must break good Object Orientated practices.
 /// </summary>
 /// <param name="CustomManager">The class controlling information pertaining to the customs (and the loaded customs).</param>
 public updateMapPatch(ICustomManager customManager)
 {
     updateMapPatch.customManager = customManager;
 }
Esempio n. 18
0
 /// <summary>
 /// Constructor. Awkward method of setting references needed. However, Harmony patches
 /// are required to be static. Thus we must break good Object Orientated practices.
 /// </summary>
 /// <param name="CustomManager">The class controlling information pertaining to the customs (and the loaded customs).</param>
 public startEventPatch(ICustomManager customManager)
 {
     startEventPatch.customManager = customManager;
 }
Esempio n. 19
0
 /// <summary>
 /// Constructor. Awkward method of setting references needed. However, Harmony patches
 /// are required to be static. Thus we must break good Object Orientated practices.
 /// </summary>
 /// <param name="CustomManager">The class controlling information pertaining to the customs (and the loaded customs).</param>
 public totemWarpForRealPatch(ICustomManager customManager)
 {
     totemWarpForRealPatch.customManager = customManager;
 }
Esempio n. 20
0
 /// <summary>
 /// Constructor. Awkward method of setting references needed. However, Harmony patches
 /// are required to be static. Thus we must break good Object Orientated practices.
 /// </summary>
 /// <param name="customManager">The class controlling information pertaining to the customs (and the loaded customs).</param>
 public resetLocalStatePatch(ICustomManager customManager)
 {
     resetLocalStatePatch.customManager = customManager;
 }
Esempio n. 21
0
 /// <summary>
 /// Constructor. Awkward method of setting references needed. However, Harmony patches
 /// are required to be static. Thus we must break good Object Orientated practices.
 /// </summary>
 /// <param name="farmManager">The class controlling information pertaining to the custom farms (and the loaded farm).</param>
 public leftClickPatch(ICustomManager customManager)
 {
     leftClickPatch.customManager = customManager;
 }
 public setAtFarmPositionPatch(ICustomManager customManager)
 {
     setAtFarmPositionPatch.customManager = customManager;
 }
Esempio n. 23
0
 /// <summary>
 /// Constructor. Awkward method of setting references needed. However, Harmony patches
 /// are required to be static. Thus we must break good Object Orientated practices.
 /// </summary>
 /// <param name="CustomManager">The class controlling information pertaining to the customs (and the loaded customs).</param>
 public performActionPatch(ICustomManager customManager)
 {
     performActionPatch.customManager = customManager;
 }
Esempio n. 24
0
 /// <summary>
 /// Constructor. Awkward method of setting references needed. However, Harmony patches
 /// are required to be static. Thus we must break good Object Orientated practices.
 /// </summary>
 /// <param name="customManager">The class controlling information pertaining to the customs (and the loaded customs).</param>
 public UpdateWhenCurrentLocationPatch(ICustomManager customManager)
 {
     UpdateWhenCurrentLocationPatch.customManager = customManager;
 }
 /// <summary>
 /// Constructor. Awkward method of setting references needed. However, Harmony patches
 /// are required to be static. Thus we must break good Object Orientated practices.
 /// </summary>
 /// <param name="customManager">The class controlling information pertaining to the customs (and the loaded customs).</param>
 public getFrontDoorPositionForFarmerPatch(ICustomManager customManager)
 {
     getFrontDoorPositionForFarmerPatch.customManager = customManager;
 }