diff options
Diffstat (limited to 'sw-common-model/src')
-rw-r--r-- | sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/model/api/actions/Actions.kt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/model/api/actions/Actions.kt b/sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/model/api/actions/Actions.kt index 773e703f..a4467667 100644 --- a/sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/model/api/actions/Actions.kt +++ b/sw-common-model/src/commonMain/kotlin/org/luxons/sevenwonders/model/api/actions/Actions.kt @@ -70,3 +70,14 @@ class UpdateSettingsAction( */ val settings: CustomizableSettings ) + +/** + * The action to add a bot to the game. Can only be called in the lobby by the owner of the game. + */ +@Serializable +class AddBotAction( + /** + * The display name for the bot to add. + */ + val botDisplayName: String +) |