TTac
Toggle table of contents
release
Target filter
release
Switch theme
Search in API
Skip to content
TTac
TTac
/
io.gh.kdbrian.ttac.net
/
LanStatus
Lan
Status
sealed
interface
LanStatus
Inheritors
Idle
Hosting
Discovering
Connecting
Connected
Failed
Disconnected
Members
Types
Connected
Link copied to clipboard
data
class
Connected
(
val
remoteName
:
String
,
val
remoteColor
:
Long
,
val
boardSize
:
Int
,
val
isHost
:
Boolean
,
val
remoteAlias
:
String
)
:
LanStatus
Connecting
Link copied to clipboard
data
class
Connecting
(
val
alias
:
String
)
:
LanStatus
Disconnected
Link copied to clipboard
data
class
Disconnected
(
val
reason
:
String
)
:
LanStatus
Discovering
Link copied to clipboard
data
object
Discovering
:
LanStatus
Failed
Link copied to clipboard
data
class
Failed
(
val
reason
:
String
)
:
LanStatus
Hosting
Link copied to clipboard
data
class
Hosting
(
val
alias
:
String
,
val
code
:
String
?
)
:
LanStatus
code
lets someone join by hand if discovery is blocked; null when no LAN address was found.
Idle
Link copied to clipboard
data
object
Idle
:
LanStatus