kregano

XComDownloadableContent-format

Aug 2nd, 2017
807
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.27 KB | None | 0 0
  1. //---------------------------------------------------------------------------------------
  2. // FILE: XComDownloadableContentInfo_ReplaceThisText.uc
  3. //
  4. // Use the X2DownloadableContentInfo class to specify unique mod behavior when the
  5. // player creates a new campaign or loads a saved game.
  6. //
  7. //---------------------------------------------------------------------------------------
  8. // Copyright (c) 2016 Firaxis Games, Inc. All rights reserved.
  9. //---------------------------------------------------------------------------------------
  10.  
  11. class X2DownloadableContentInfo_ReplaceThisText extends X2DownloadableContentInfo;
  12.  
  13. /// <summary>
  14. /// This method is run if the player loads a saved game that was created prior to this DLC / Mod being installed, and allows the
  15. /// DLC / Mod to perform custom processing in response. This will only be called once the first time a player loads a save that was
  16. /// create without the content installed. Subsequent saves will record that the content was installed.
  17. /// </summary>
  18. static event OnLoadedSavedGame()
  19. {}
  20.  
  21. /// <summary>
  22. /// Called when the player starts a new campaign while this DLC / Mod is installed
  23. /// </summary>
  24. static event InstallNewCampaign(XComGameState StartState)
  25. {}
Add Comment
Please, Sign In to add comment