User Tools

Site Tools


mod-management-functions

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
mod-management-functions [2021/06/08 14:47] – [override] maximemod-management-functions [2021/06/08 14:48] – [registerAssetId] maxime
Line 64: Line 64:
 Assign an asset ID to an asset in the mod's directory Assign an asset ID to an asset in the mod's directory
  
-''void **myMod:registerAssetId**(//assetPath//, //assetId//)''+''void **myMod:registerAssetId**(//assetPath//, //assetId// [, //assetType//])''
  
 ^ Name ^ Type ^ Description ^ ^ Name ^ Type ^ Description ^
 | //''assetPath''// | ''string'' | the path to the asset | | //''assetPath''// | ''string'' | the path to the asset |
 | //''assetId''// | ''string'' | the ID to assign to the asset | | //''assetId''// | ''string'' | the ID to assign to the asset |
 +| //''assetType''// | ''string'' | optional, type of the asset |
  
 ---- ----
mod-management-functions.txt · Last modified: 2022/10/07 11:18 by maxime

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki