toggle menu
VentureLibs
1.0
main
switch theme
search in API
VentureLibs
/
net.blockventuremc.modules.general.cache
/
PlayerCache
Player
Cache
object
PlayerCache
(
source
)
Members
Functions
add
To
Cache
Link copied to clipboard
fun
addToCache
(
user
:
BlockUser
)
:
BlockUser
cleanup
Link copied to clipboard
fun
cleanup
(
)
get
Link copied to clipboard
fun
get
(
uuid
:
UUID
)
:
BlockUser
get
Or
Null
Link copied to clipboard
fun
getOrNull
(
uuid
:
UUID
)
:
BlockUser
?
reload
Player
Link copied to clipboard
fun
reloadPlayer
(
uuid
:
UUID
)
:
BlockUser
remove
Link copied to clipboard
fun
remove
(
uuid
:
UUID
)
run
Online
Time
Scheduler
Link copied to clipboard
fun
runOnlineTimeScheduler
(
)
save
To
DB
Link copied to clipboard
fun
saveToDB
(
user
:
BlockUser
)
Updates the given user in the database.
update
Cached
Link copied to clipboard
fun
updateCached
(
user
:
BlockUser
)
:
BlockUser