forked from X2CommunityCore/X2WOTCCommunityHighlander
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Item upgrade improvements (X2CommunityCore#93 & X2CommunityCore#289)
Allows any item type to be upgraded, and allows for upgrade slot handling on a per-state basis. Implements issue X2CommunityCore#93 Implements issue X2CommunityCore#289
- Loading branch information
1 parent
ea70fe5
commit f7a6514
Showing
10 changed files
with
118 additions
and
14 deletions.
There are no files selected for viewing
16 changes: 13 additions & 3 deletions
16
X2WOTCCommunityHighlander/Src/XComGame/Classes/CHHelpers.uc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<h1>X2DownloadableContentInfo Hooks</h1> | ||
|
||
Many of the Highlander's features utilize function calls to the subclasses of | ||
X2DownloadableContentInfo that all mods require. These are known colloquially | ||
as DlcInfo hooks, and are commonly used as an alternative when an event will | ||
not work for a given feature. | ||
|
||
Mods can define a function of the same name with the same arguments in their | ||
X2DownloadableContentInfo file, and then perform any custom handling. | ||
|
||
Unlike events, these DlcInfo hooks are not limited to two arguments. However, | ||
they are much slower than events are, so events should generally be used. | ||
|