We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9257b82 commit 14412abCopy full SHA for 14412ab
src/main/kotlin/com/mairwunnx/projectessentials/home/configurations/HomeConfigurationModel.kt
@@ -0,0 +1,26 @@
1
+package com.mairwunnx.projectessentials.home.configurations
2
+
3
+import kotlinx.serialization.Serializable
4
5
+@Serializable
6
+data class HomeConfigurationModel(
7
+ val users: MutableList<User> = mutableListOf()
8
+) {
9
+ @Serializable
10
+ data class User(
11
+ var name: String,
12
+ var uuid: String,
13
+ val homes: MutableList<Home>
14
+ ) {
15
16
+ data class Home(
17
+ var home: String,
18
+ var worldId: Int,
19
+ var xPos: Int,
20
+ var yPos: Int,
21
+ var zPos: Int,
22
+ var yaw: Float,
23
+ var pitch: Float
24
+ )
25
+ }
26
+}
0 commit comments