Add a basic version of the GM screen.
This commit is contained in:
parent
35396b6069
commit
6b86a6c075
42 changed files with 969 additions and 784 deletions
|
|
@ -87,6 +87,8 @@ class CharacterSheetJsonFactory(
|
|||
): CharacterPreviewJson {
|
||||
return CharacterPreviewJson(
|
||||
id = sheet.id,
|
||||
portrait = sheet.portrait,
|
||||
thumbnail = sheet.thumbnail,
|
||||
name = sheet.name,
|
||||
level = sheet.level,
|
||||
)
|
||||
|
|
@ -98,8 +100,8 @@ class CharacterSheetJsonFactory(
|
|||
val json = CharacterSheetJsonV1(
|
||||
id = sheet.id,
|
||||
name = sheet.name,
|
||||
thumbnail = sheet.thumbnail,
|
||||
portrait = sheet.portrait,
|
||||
thumbnail = sheet.thumbnail,
|
||||
level = sheet.level,
|
||||
shouldLevelUp = sheet.shouldLevelUp,
|
||||
strength = sheet.strength,
|
||||
|
|
|
|||
|
|
@ -5,6 +5,8 @@ import kotlinx.serialization.Serializable
|
|||
@Serializable
|
||||
class CharacterPreviewJson(
|
||||
val id: String,
|
||||
val portrait: String?,
|
||||
val thumbnail: String?,
|
||||
val name: String,
|
||||
val level: Int,
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue