DataRepository

class DataRepository(val platformInterface: PlatformInterface, var initDataModel: StoryDataModel, var gameMap: GameMap, val items: ItemsContainerModel, val storyModel: StoryModel, val properties: Properties, val applicationLogger: ApplicationLogger)

Constructors

Link copied to clipboard
constructor(platformInterface: PlatformInterface, initDataModel: StoryDataModel, gameMap: GameMap, items: ItemsContainerModel, storyModel: StoryModel, properties: Properties, applicationLogger: ApplicationLogger)

Types

Link copied to clipboard
data class Builder(var platformInterface: PlatformInterface? = null, var luaTable: LuaTable? = null, var storyDataModel: StoryDataModel? = null, var gameMap: GameMap? = null, var items: ItemsContainerModel? = null, var storyModel: StoryModel? = null, var properties: Properties? = null, var applicationLogger: ApplicationLogger? = null)

Properties

Link copied to clipboard
val applicationLogger: ApplicationLogger
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val TAG: String
Link copied to clipboard

Functions

Link copied to clipboard
fun applyActions(actions: Map<String, List<String>>?)
fun applyActions(actions: Map<String, List<String>>?, calculateDiff: Boolean = true)
Link copied to clipboard
Link copied to clipboard
fun putObjectToLuaContext(key: String, value: Any)
Link copied to clipboard
Link copied to clipboard
fun setUserData(storyDataModel: StoryDataModel)
Link copied to clipboard
fun update()