Skip to content

Commit 14412ab

Browse files
committed
HomeConfigurationModel.kt added.
Signed-off-by: Pavel Erokhin (MairwunNx) <MairwunNx@gmail.com>
1 parent 9257b82 commit 14412ab

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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+
@Serializable
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

Comments
 (0)