-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathSaveData.lua
44 lines (43 loc) · 1.04 KB
/
SaveData.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
---@meta Ravenscript
---*Ravenfield Type*
---
---[RS Docs](http://ravenfieldgame.com/ravenscript/api/SaveData.html)
---@class SaveData: Base
SaveData = {
---@param key string
---@return bool
GetBool = function(key) end,
---@param key string
---@return float
GetFloat = function(key) end,
---@param key string
---@return int
GetInteger = function(key) end,
---@param key string
---@return string
GetString = function(key) end,
---@param key string
---@return bool
HasBool = function(key) end,
---@param key string
---@return bool
HasFloat = function(key) end,
---@param key string
---@return bool
HasInteger = function(key) end,
---@param key string
---@return bool
HasString = function(key) end,
---@param key string
---@param value bool
StoreBool = function(key, value) end,
---@param key string
---@param value float
StoreFloat = function(key, value) end,
---@param key string
---@param value int
StoreInteger = function(key, value) end,
---@param key string
---@param value string
StoreString = function(key, value) end,
}