HaveSavedValue
- Parameters
-
key integer
valueType integer
missionKey integer
table hashtable
- comment
- patch
1.24a
- Source
- Blizzard.j
- return type
boolean
- Source code
function HaveSavedValue takes integer key, integer valueType, integer missionKey, hashtable table returns boolean if (valueType == bj_HASHTABLE_BOOLEAN) then return HaveSavedBoolean(table, missionKey, key) elseif (valueType == bj_HASHTABLE_INTEGER) then return HaveSavedInteger(table, missionKey, key) elseif (valueType == bj_HASHTABLE_REAL) then return HaveSavedReal(table, missionKey, key) elseif (valueType == bj_HASHTABLE_STRING) then return HaveSavedString(table, missionKey, key) elseif (valueType == bj_HASHTABLE_HANDLE) then return HaveSavedHandle(table, missionKey, key) else // Unrecognized value type - ignore the request. return false endif endfunction