up
This commit is contained in:
@@ -12,6 +12,7 @@ do
|
||||
local lastLoginBtn = "lastLoginBtn"
|
||||
local token = "token"
|
||||
local currGroup = "currGroup"
|
||||
local showGuid = "showGuid"
|
||||
|
||||
Prefs = {}
|
||||
|
||||
@@ -113,4 +114,14 @@ do
|
||||
function Prefs.setCurrGroup(phone, val)
|
||||
PlayerPrefs.SetString(phone .. "_" .. currGroup, val)
|
||||
end
|
||||
|
||||
function Prefs.getShowGuid()
|
||||
local f = PlayerPrefs.GetInt(showGuid, 0)
|
||||
return (f == 0 and true or false)
|
||||
end
|
||||
|
||||
function Prefs.setShowGuid(v)
|
||||
local f = v and 0 or 1
|
||||
PlayerPrefs.SetInt(showGuid, f)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user