forked from FAForever/fa
-
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.
Add in remaining blueprint annotations (FAForever#4513)
- Loading branch information
Showing
109 changed files
with
2,479 additions
and
1,086 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,11 +1,32 @@ | ||
---@meta | ||
|
||
---@alias BlueprintId string | ||
|
||
---@class Blueprint | ||
---@field BlueprintId? string BlueprintId is used for modding an existing blueprint. An example for usage is BlueprintId = 'uel0101' which would be the UEF Land Scout. | ||
---@field Merge? boolean Merge is used for modding an existing blueprint. With Merge = 'true' the BlueprintId must be set. | ||
---@field Source? string | ||
--- The unique id of this blueprint. For units, this field is autogenerated from `Source` if not | ||
--- already present. If a blueprint is loaded that has the same id as one already loaded, it | ||
--- overrides it unless `Merge = true` is also set. This is typically what happens for mods, e.g. | ||
--- BlueprintId = "uel0101", | ||
--- Merge = true, | ||
--- would let you change the blueprint of the Snoop UEF Land Scout without needing to add everything | ||
--- in the original definition (which could change or be modified by other mods). | ||
---@field BlueprintId BlueprintId | ||
--- Setting `Merge = true` will make the blueprint definition merge with an already existing one | ||
--- given by `BlueprintId` (which must also be set to an existing blueprint id). | ||
---@field Merge? boolean | ||
--- the file the blueprint was originally defined in | ||
---@field Source string | ||
|
||
---@alias SoundLodCutoff | ||
---| "DefaultLodCutoff" | ||
---| "UnitMove_LodCutoff" | ||
---| "Weapon_LodCutoff" | ||
---| "WeaponBig_LodCutoff" | ||
|
||
---@class SoundBlueprint | ||
--- which sound bank to use | ||
---@field Bank string | ||
--- the sound cue inside of the sound bank to use | ||
---@field Cue string | ||
---@field LodCutoff string | ||
--- unknown usage | ||
---@field LodCutoff SoundLodCutoff |
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
Oops, something went wrong.