GameProgress Lua API

From Off Grid Wiki
Revision as of 13:05, 13 September 2017 by Harry (talk | contribs) (Add GameProgress Lua API page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

GameProgress

Functions

GetValue

GameProgress.GetValue(key)

Expected parameter types

key string

Description: Returns a value from the game progress by key, empty string if it doesn't exist

Returns: string

SetValue

GameProgress.SetValue(key, value, overwrite)

Expected parameter types

key string
value string
overwrite bool (optional)

Description: Sets a value in the game progress

Returns: Nothing

HasKey

GameProgress.HasKey(key)

Expected parameter types

key string

Description: Does the specified key exist?

Returns: bool


This file is auto generated, please don't edit manually!

Docs last hacked together on: 13/09/2017 14:00