【文件属性】:
文件名称:RStore:快速,简单的Roblox缓存DataStore包装器!
文件大小:4KB
文件格式:ZIP
更新时间:2021-04-03 15:18:02
Lua
商店
快速,简单的Roblox缓存DataStore包装器!
快速开始
首先,您需要创建一个新的RDataStore来保存数据。
local RStore = require ( " path.to.RStore " )
local RDataStore = RStore. new ( " datakey " )
接下来,您可能有一个变量或要保存的内容,否则您将不会在这里。
local RStore = require ( " path.to.RStore " )
local CashStore = RStore. new ( " datakey " )
game. Players . PlayerAdded : Connect ( function ( plr )
local cash = CashStore: Get (plr, 0 ) -- **plr** is who yo
【文件预览】:
RStore-main
----main.lua(5KB)
----Class.lua(1KB)
----LICENSE.md(407B)
----README.md(3KB)