ICommandController

Functions

Link copied to clipboard
abstract fun getLuaGlobals(): Globals
Link copied to clipboard
abstract fun openNotification(args: List<String>)
abstract fun openNotification(title: String, message: String)
Link copied to clipboard
abstract fun openSeller(sellerId: Int)
abstract fun openSeller(args: List<String>)
Link copied to clipboard
abstract fun openStage(stageId: Int)
abstract fun openStage(list: List<String>)
abstract fun openStage(chapterId: Int, stageId: Int)

abstract fun openStage(arg: String)

Открытие стадии через :

Link copied to clipboard
abstract fun process(commands: Map<String, List<String>>?)

Кэширует команды, они выполнятся при следующей команде-триггер (syncNow, exitStory, finishStory)

Link copied to clipboard
abstract fun processWithServer(actions: Map<String, List<String>>): Job

Выполняет команды на сервере без команды-триггера

Link copied to clipboard
abstract fun showAd(type: String)

Показ рекламы

abstract fun showAd(types: List<String>)

Показ рекламы, работает как @method showAd