File:OnGameMethodsInitialized.png
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/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 13:21, 22 June 2025 | ![]() | 501 × 217 (29 KB) | Xarkanoth (talk | contribs) |
You cannot overwrite this file.
File usage
The following page uses this file: