Modding.GetModProperty (Civ5 API)
From Civilization Modding Wiki
Jump to navigationJump to search
This page is a part of the Lua and UI Reference (Civ5).
This function is a member of Modding. This is a static method, invoke it with a dot. |
Usage
unknown Modding.GetModProperty(unknown arg0, unknown arg1, string arg2)
Returned Value
- No description available.
Parameters
arg0: No description available. arg1: No description available. arg2: No description available.
Source code samples
Redundant occurences have been removed.
CustomMod.lua
UI/FrontEnd/Modding/CustomMod.lua
0079
|
local customImage = Modding.GetModProperty(customMod.ModID, customMod.Version, "Custom_Background_" .. customMod.Name); |
GameMenu.lua
UI/InGame/Menus/GameMenu.lua
0444
|
local title = Modding.GetModProperty(v.ID, v.Version, "Name"); |
InstalledPanel.lua
UI/FrontEnd/Modding/InstalledPanel.lua
0367
|
local displayName = Modding.GetModProperty(v.ModID, v.Version, "Name"); |
ScenariosMenu.lua
UI/FrontEnd/ScenariosMenu.lua
0101
|
local foregroundImage = Modding.GetModProperty(customMod.ModID, customMod.Version, "Custom_Foreground_" .. customMod.Name); |
The initial version of this page was created by the Civ5 API Bot, see the Civ5 API Reference FAQ. Some of the texts come from the 2kgames' wiki and most of code samples are copyrighted to Firaxis.
Functions' signatures were either copied from the 2kgames' wiki, or infered from the Lua source files and the binaries. Errors are possible.
Contributors may find help in the Contributors guide to the Civ5 API.