コード例 #1
0
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="entry">Instance of ModEntry</param>
 /// <param name="packHelper">Instance of ContentPackHelper</param>
 public PlayerChanger(ModEntry entry, ContentPackHelper packHelper)
 {
     Entry      = entry;
     PackHelper = packHelper;
 }
コード例 #2
0
 /// <summary>Image Injectors Constructor</summary>
 /// <param name="entry"></param>
 /// <param name="packHelper"></param>
 public ImageInjector(ModEntry entry, ContentPackHelper packHelper)
 {
     //Set the vars to the instances
     Entry      = entry;
     PackHelper = packHelper;
 }
コード例 #3
0
 /// <summary>ContentLoader's Constructor</summary>
 /// <param name="entry">Instance of ModEntry</param>
 /// <param name="packHelper">Instance of ContentPackHelper</param>
 public ContentLoader(ModEntry entry, ContentPackHelper packHelper)
 {
     //Set the fields
     Entry      = entry;
     PackHelper = packHelper;
 }