File:OnGameMethodsInitialized.png

From Holdfast: Nations At War
Revision as of 13:21, 22 June 2025 by Xarkanoth (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

OnGameMethodsInitialized.png(501 × 217 pixels, file size: 29 KB, MIME type: image/png)

public class MyCoolMod : IHoldfastSharedMethods, IHoldfastGame {

   // Create a static property to hold the game methods.
   public static IHoldfastGameMethods GameMethods { get; set; }
   // The game will call this method and pass in the methods object.
   public void OnGameMethodsInitialized(IHoldfastGameMethods gameMethods)
   {
       GameMethods = gameMethods;
       Debug.Log("Game methods have been initialized and stored.");
   }
   // ... rest of your IHoldfastSharedMethods implementations ...

}

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current13:21, 22 June 2025Thumbnail for version as of 13:21, 22 June 2025501 × 217 (29 KB)Xarkanoth (talk | contribs)

The following page uses this file: