InstanceManager.ReleaseInstance (Civ5 API)

From Civilization Modding Wiki
Jump to: navigation, search

This page is a part of the Lua and UI Reference (Civ5).


Function.png This function is a member of InstanceManager.

This is an instance method, invoke it with a colon.


Usage

void InstanceManager:ReleaseInstance(table instance)


Parameters

instance: No description available.


Source code samples

Redundant occurences have been removed.

CityBannerManager.lua

UI/InGame/CityBannerManager.lua
0674
g_TeamIM:ReleaseInstance( instance.SubControls );
0679
g_SVStrikeIM:ReleaseInstance( svInstance );
0691
g_OtherIM:ReleaseInstance( instance.SubControls );
0819
g_OtherIM:ReleaseInstance( banner.SubControls );
0821
g_TeamIM:ReleaseInstance( banner.SubControls );


InGame.lua

UI/InGame/InGame.lua
0938
g_PopupIM:ReleaseInstance( instance );
0949
g_PopupIM:ReleaseInstance( v );


ResourceIconManager.lua

UI/InGame/ResourceIconManager.lua
0038
g_ResourceManager:ReleaseInstance( instance );


YieldIconManager.lua

UI/InGame/YieldIconManager.lua
0199
g_AnchorIM:ReleaseInstance( instance );
0204
g_ImageIM:ReleaseInstance( instance );



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.