GetInt
template: lua-class-function.html title: GetInt icon: lua-shared tags: - lua - shared - needs-verification - needs-example lua: library: KeyValuesHandle function: GetInt realm: shared description: "Get an integer from the keyvalues."
arguments: - position: 1 name: "keyValues" type: KeyValuesHandle - position: 2 types: - name: "key" type: number - name: "key" type: string default: "0" - position: 3 types: - name: "default" type: number default: "0" - name: "default" type: number default: "0" returns: - type: integer description: "The value as an integer."
KeyValuesHandle:GetInt – Get an integer from the keyvalues.