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 dd8f028 commit 5e6b73eCopy full SHA for 5e6b73e
surf-api-core/surf-api-core-api/src/main/kotlin/dev/slne/surf/surfapi/core/api/SurfCoreApi.kt
@@ -16,12 +16,22 @@ interface SurfCoreApi {
16
*/
17
fun sendPlayerToServer(playerUuid: UUID, server: String)
18
19
+ /**
20
+ * Returns the platform-specific player object for the specified player.
21
+ */
22
fun getPlayer(playerUuid: UUID): Any?
23
24
companion object {
25
+
26
27
+ * The instance of the SurfCoreApi.
28
29
@JvmStatic
30
val instance = requiredService<SurfCoreApi>()
31
}
32
33
34
+/**
35
36
37
val surfCoreApi get() = SurfCoreApi.instance
0 commit comments