avalon
Toggle table of contents
0.0.1-SNAPSHOT
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
avalon
avalon-game-battle-engine
/
io.github.lishangbu.avalon.game.battle.engine.adapter.memory.store
/
InMemoryBattleSessionStore
In
Memory
Battle
Session
Store
class
InMemoryBattleSessionStore
:
BattleSessionStore
BattleSession 的内存存储实现。
Members
Constructors
In
Memory
Battle
Session
Store
Link copied to clipboard
constructor
(
)
Functions
find
Link copied to clipboard
open
override
fun
find
(
sessionId
:
String
)
:
BattleSession
?
remove
Link copied to clipboard
open
override
fun
remove
(
sessionId
:
String
)
save
Link copied to clipboard
open
override
fun
save
(
sessionId
:
String
,
session
:
BattleSession
)