Classes CacheEntry - hikipuro/rpgmakermv_ref GitHub Wiki

CacheEntry クラス

[クラス一覧 / rpg_core.js]

(ver.1.6.2)

定義場所: rpg_core.js

関連項目

フィールド

名前 初期値 説明
cache CacheMap
key string
item string
cached boolean false
touchTicks number 0
touchSeconds number 0
ttlTicks number 0
ttlSeconds number 0
freedByTTL boolean false

メソッド

名前 説明
コンストラクタ CacheEntry インスタンスを作成する
free
allocate
setTimeToLive
isStillAlive
touch

コンストラクタ

定義: new CacheEntry(cache, key, item)

引数 説明
cache CacheMap
key string
item string

free

定義: free(byTTL)

引数 説明
byTTL boolean

allocate

定義: allocate()


setTimeToLive

定義: setTimeToLive(ticks, seconds)

引数 説明
ticks number
seconds number

isStillAlive

定義: isStillAlive()


touch

定義: touch()