New UI modding features
lefreut
Member Posts: 1,462
***
Post edited by lefreut on
12
Comments
Example:
Btw, is there a comprehensive list of all the Infinity_XXX() functions available somewhere?
[spoiler]
Infinity_ActivateInventory() -> void Infinity_ActivateRecord(index) -> void Infinity_AddDLC(string1,string2,int1,int2,string3,string4) -> void Infinity_AddDLCContent(string,int) -> void Infinity_CanCloudSave() -> boolean Infinity_CanLevelUp(index) -> boolean Infinity_ChangeOption(option_id,value,panel_id) -> void Infinity_CheckItemIdentify(item_id) -> void Infinity_ClickItem(???) -> ??? Infinity_ClickObjectInWorld(???) -> ??? Infinity_ClickScreen(???) -> ??? Infinity_ClickWorldAt(???) -> ??? Infinity_CloseEngine(???) -> ??? Infinity_DestroyAnimation(???) -> ??? Infinity_DisplayString(???) -> ??? Infinity_DoFile(filename) -> void Infinity_EnterEdit(???) -> ??? Infinity_FetchString(strref) -> string Infinity_FindItemWithBam(???) -> ??? Infinity_FindItemWithText(???) -> ??? Infinity_FindUIItemByName(element_name) -> ref Infinity_FocusTextEdit(element_name) -> void Infinity_GetArea(element_name) -> x,y,w,h Infinity_GetClockTicks() -> int Infinity_GetContainerItemDescription(item_index) -> string Infinity_GetContentHeight(font,w,string,font_size,int,zoom) -> int Infinity_GetCurrentGroundPage() -> int Infinity_GetCurrentMovie(???) -> ??? Infinity_GetCurrentScreenName(???) -> ??? Infinity_GetFilesOfType(extension) -> list Infinity_GetFrameCounter() -> int Infinity_GetGameTicks() -> int Infinity_GetGroundItemDescription(item_index,slot_id,container_id) -> string Infinity_GetGroupItemDescription(item_index) -> string Infinity_GetInCutsceneMode(???) -> ??? Infinity_GetINIString(section_name,value_name,default_value) -> string Infinity_GetINIValue(section_name,value_name,default_value) -> int Infinity_GetListHeight(list_name) -> int Infinity_GetMaxChapterPage() -> int Infinity_GetMaxGroundPage() -> int Infinity_GetMenuArea(menu_name) -> x,y,w,h Infinity_GetMenuItemByName(???) -> ??? Infinity_GetMousePosition() -> x,y Infinity_GetNumCharacters() -> int Infinity_GetOffset(menu_name) -> x,y // TBC Infinity_GetOption(option_id,panel_id) -> int Infinity_GetPasswordRequired(id) -> void Infinity_GetPortraitTooltip(index) -> string Infinity_GetScreenSize() -> w,h Infinity_GetScriptVarInt(name) -> int Infinity_GetScrollIdentifyEnabled(item_id) -> boolean Infinity_GetSelectedCharacterName() -> string Infinity_GetSpellIdentifyEnabled(item_id) -> boolean Infinity_GetTimeString() -> string Infinity_GetTransitionInProgress(???) -> ??? Infinity_GetUseButtonText(item_id,mode) -> string Infinity_GooglePlaySignedIn() -> int Infinity_HighlightJournalButton() -> void Infinity_HoverMouseOver(???) -> ??? Infinity_HoverMouseOverObject(???) -> ??? Infinity_InstanceAnimation(string,resref,x,y,w,h,list,list_index) -> void Infinity_IsItemEnabled(???) -> ??? Infinity_IsMenuOnStack(menu_name) -> boolean Infinity_IsPlayerMoving(???) -> ??? Infinity_JoinMultiplayerGame(id) -> void Infinity_LaunchURL(???) -> ??? Infinity_LevelUp(index) -> ??? Infinity_Log(msg) -> void Infinity_LookAtObjectInWorld(???) -> ??? Infinity_LuaConsoleInput(???,???) -> void Infinity_OnAddUserEntry(string) -> void Infinity_OnCharacterImportItemSelect(table_index) -> void Infinity_OnCharacterItemSelect(table_index) -> void Infinity_OnEditUserEntry(string1,string2) Infinity_OnGroundPage(increment) -> void Infinity_OnPortraitDblClick(index) -> void Infinity_OnPortraitItemSelect(???) -> ??? Infinity_OnPortraitLClick(index) -> void Infinity_OnPortraitRClick(index) -> void Infinity_OnRemoveUserEntry(string) -> void Infinity_OnRest(???) -> ??? Infinity_OnScriptItemSelect(table_index) -> void Infinity_OnScrollIdentify(item_id) -> void Infinity_OnSoundItemSelect(table_index) -> void Infinity_OnSpellIdentify(item_id) -> void Infinity_OnUseButtonClick(item_id,mode) -> void Infinity_OpenInventoryContainer(resref) -> void Infinity_PlayMovie(movie_name,element_name) -> void Infinity_PlaySound(resref) -> void Infinity_PopMenu(menu_name) -> void Infinity_PressKeyboardButton(???) -> ??? Infinity_PushMenu(menu_name) -> void Infinity_RandomNumber(min,range) -> int Infinity_RemoveINIEntry(section_name,value_name) -> void Infinity_RequestMultiplayerGameDetails(???) -> ??? Infinity_ScaleToText(element_name) -> void Infinity_ScrollLists(???) -> ??? Infinity_SelectDialogueOption(???) -> ??? Infinity_SelectItemAbility(ability_index,item_num,item_id) -> void Infinity_SelectListItem(???) -> ??? Infinity_SendChatMessage(msg,boolean) -> void Infinity_SetArea(element_name,x,y,w,h) Infinity_SetBackground(menu_name) -> void Infinity_SetCloudEnabled(???) -> ??? Infinity_SetGooglePlaySigninState(???) -> ??? Infinity_SetHairColor(index) -> void Infinity_SetHighlightColors(lr,lg,lb,la,cr,cg,cb,ca,rr,rg,rb,ra) -> void Infinity_SetINIValue(section_name,value_name,value) -> void Infinity_SetKey(value,type) -> void // sets key in C++ memory Infinity_SetLanguage(lang_id,showSubTitles) -> void Infinity_SetMajorColor(index) -> void Infinity_SetMinorColor(index) -> void Infinity_SetOffset(menu_name,x,y) Infinity_SetOverlay(menu_name) -> void Infinity_SetScreenSize(w,h) -> void Infinity_SetScrollTop(???) -> ??? Infinity_SetSkinColor(index) -> void Infinity_SetToken(token_name,value) -> void Infinity_ShutdownGame() -> void Infinity_SignInOutButtonEnabled(???) -> ??? Infinity_SplitItemStack(item_id,count,slot_name) -> void Infinity_StartItemCapture(map_name) -> void Infinity_StartKeybind(action) -> void Infinity_StopItemCapture(map_name) -> void Infinity_StopKeybind() -> void Infinity_StopMovie(element_name) -> void Infinity_SwapSlot(???) -> ??? Infinity_SwapWithAppearance() -> void Infinity_SwapWithPortrait(index) -> void Infinity_TakeScreenshot() -> void Infinity_TextEditHasFocus() -> boolean Infinity_TransitionMenu(menu_name) -> void Infinity_UpdateCharacterRecordExportPanel() -> void Infinity_UpdateCloudSaveState() -> void Infinity_UpdateInventoryRequesterPanel(???) -> ??? Infinity_UpdateLuaStats() -> void Infinity_UpdateStoreMainPanel(???) -> ??? Infinity_UpdateStoreRequesterPanel(???) -> ??? Infinity_WriteINILine(file_handle,string) -> void
[/spoiler]