Skip to content

资源模块管理接口 Mod

具体函数名及描述如下:

序号函数名函数描述
1GetCfgIdByAssetId(...)通过资源id获取defid

GetCfgIdByAssetId

  • 参数及类型:
  • 返回值及类型:
  • 该方法的主要作用: 通过资源id获取defid
  • 具体使用案例如下:
lua
local cfgId = Mod:GetCfgIdByAssetId(assetId)