SybSafetyFirst
Toggle table of contents
unknown
jvm
Platform filter
jvm
Switch theme
Search in API
SybSafetyFirst
SybSafetyFirst
/
com.sybsuper.sybsafetyfirst.modules
/
WaterCurrent
Water
Current
class
WaterCurrent
:
Module
Members
Constructors
Water
Current
Link copied to clipboard
constructor
(
)
Types
Water
Current
Options
Link copied to clipboard
@
Serializable
data
class
WaterCurrentOptions
(
var
enabled
:
Boolean
=
true
,
var
velocity
:
Double
=
0.015
,
var
directionChangeIntervalMs
:
Int
=
10000
,
var
directionChangeDegreesPerInterval
:
Double
=
0.5
,
var
applyInterval
:
Long
=
2
)
:
ModuleOptions
Properties
description
Link copied to clipboard
open
override
val
description
:
String
id
Link copied to clipboard
open
val
id
:
String
name
Link copied to clipboard
open
val
name
:
String
options
Link copied to clipboard
open
override
var
options
:
ModuleOptions
task
Link copied to clipboard
val
task
:
Runnable
type
Safe
Options
Link copied to clipboard
val
typeSafeOptions
:
<Error class: unknown class>
Functions
current
Enabled
Instance
Link copied to clipboard
open
fun
currentEnabledInstance
(
)
:
Module
?
on
Disable
Link copied to clipboard
open
override
fun
onDisable
(
)
Called when the module is disabled.
on
Enable
Link copied to clipboard
open
override
fun
onEnable
(
)
Called when the module is enabled.