toggle menu
serverpackcreator-api
jvm
switch theme
search in API
serverpackcreator-api
/
mslinks.data
/
CNRLink
CNRLink
class
CNRLink
:
Serializable
Members
Constructors
CNRLink
Link copied to clipboard
constructor
(
)
constructor
(
data
:
ByteReader
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
device
Name
Link copied to clipboard
var
deviceName
:
String
?
net
Name
Link copied to clipboard
var
netName
:
String
?
network
Type
Link copied to clipboard
var
networkType
:
Int
Functions
serialize
Link copied to clipboard
open
override
fun
serialize
(
bw
:
ByteWriter
)
set
Device
Name
Link copied to clipboard
fun
setDeviceName
(
s
:
String
?
)
:
CNRLink
pass null to switch off device info
set
Net
Name
Link copied to clipboard
fun
setNetName
(
s
:
String
?
)
:
CNRLink
if s is null take no effect
set
Network
Type
Link copied to clipboard
fun
setNetworkType
(
n
:
Int
)
:
CNRLink
pass zero to switch off network type