From 9370d1032b53e1885885e15115e07f5349203eba Mon Sep 17 00:00:00 2001 From: schlaubi Date: Wed, 4 Nov 2020 14:37:53 +0100 Subject: [PATCH] 3.0 - Fix bug preventing usage of AudioResultHandler callback when using search - Fix deserialization of route planner API - Update documentation - Add Flow based event support like Kord --- .idea/compiler.xml | 2 +- README.md | 18 + build.gradle.kts | 7 +- docs/-search.html | 2 + docs/lavakord/index.html | 17 +- .../me.schlaubi.lavakord.audio/index.html | 98 ++++ .../me.schlaubi.lavakord.audio/on.html | 53 +++ .../-nano-ip-route-planner/-data/-data.html | 53 +++ .../-data/component1.html | 53 +++ .../-data/component2.html | 53 +++ .../-data/component3.html | 53 +++ .../-nano-ip-route-planner/-data/copy.html | 53 +++ .../-nano-ip-route-planner/-data/index.html | 324 ++++++++++++++ .../-nano-ip-route-planner.html | 53 +++ .../-nano-ip-route-planner/component1.html | 53 +++ .../-nano-ip-route-planner/copy.html | 53 +++ .../-nano-ip-route-planner/index.html | 300 +++++++++++++ .../-data/-data.html | 53 +++ .../-data/component1.html | 53 +++ .../-data/component2.html | 53 +++ .../-data/component3.html | 53 +++ .../-data/component4.html | 53 +++ .../-data/component5.html | 53 +++ .../-data/copy.html | 53 +++ .../-data/index.html | 418 ++++++++++++++++++ .../-rotating-ip-route-planner.html | 53 +++ .../component1.html | 53 +++ .../-rotating-ip-route-planner/copy.html | 53 +++ .../-rotating-ip-route-planner/index.html | 300 +++++++++++++ .../-data/-data.html | 53 +++ .../-data/component1.html | 53 +++ .../-data/component2.html | 53 +++ .../-data/component3.html | 53 +++ .../-data/component4.html | 53 +++ .../-data/copy.html | 53 +++ .../-data/index.html | 371 ++++++++++++++++ .../-rotating-nano-ip-route-planner.html | 53 +++ .../component1.html | 53 +++ .../-rotating-nano-ip-route-planner/copy.html | 53 +++ .../index.html | 300 +++++++++++++ .../-class/-nano-ip-route-planner/index.html | 96 ++-- .../-rotating-ip-route-planner/index.html | 96 ++-- .../index.html | 96 ++-- .../-route-planner-status/-class/index.html | 98 ++-- .../-failing-address/-failing-address.html | 8 +- .../-data/-failing-address/component1.html | 6 +- .../-data/-failing-address/component2.html | 6 +- .../-data/-failing-address/component3.html | 6 +- .../-data/-failing-address/copy.html | 6 +- .../-data/-failing-address/index.html | 66 +-- .../-data/-ip-block/-ip-block.html | 8 +- .../-data/-ip-block/component1.html | 6 +- .../-data/-ip-block/component2.html | 6 +- .../-data/-ip-block/copy.html | 6 +- .../-data/-ip-block/index.html | 56 +-- .../-route-planner-status/-data/index.html | 60 +-- .../-route-planner-status/index.html | 176 +++----- .../-track-response/-error/-error.html | 6 +- .../-track-response/-error/component1.html | 6 +- .../-track-response/-error/component2.html | 6 +- .../-track-response/-error/copy.html | 6 +- .../-track-response/-error/index.html | 66 +-- .../-error/to-friendly-exception.html | 8 +- .../-l-o-a-d_-f-a-i-l-e-d/index.html | 100 +++-- .../-load-type/-n-o_-m-a-t-c-h-e-s/index.html | 96 ++-- .../-p-l-a-y-l-i-s-t_-l-o-a-d-e-d/index.html | 100 +++-- .../-s-e-a-r-c-h_-r-e-s-u-l-t/index.html | 96 ++-- .../-t-r-a-c-k_-l-o-a-d-e-d/index.html | 96 ++-- .../-track-response/-load-type/index.html | 108 +++-- .../-nullable-playlist-info.html | 8 +- .../-nullable-playlist-info/component1.html | 6 +- .../-nullable-playlist-info/component2.html | 6 +- .../-nullable-playlist-info/copy.html | 6 +- .../-nullable-playlist-info/index.html | 60 +-- .../-playlist-info/-playlist-info.html | 8 +- .../-playlist-info/component1.html | 6 +- .../-playlist-info/component2.html | 6 +- .../-track-response/-playlist-info/copy.html | 6 +- .../-track-response/-playlist-info/index.html | 60 +-- .../-track-response/-track-response.html | 8 +- .../-track-response/-track/-info/-info.html | 6 +- .../-track/-info/component1.html | 6 +- .../-track/-info/component2.html | 6 +- .../-track/-info/component3.html | 6 +- .../-track/-info/component4.html | 6 +- .../-track/-info/component5.html | 6 +- .../-track/-info/component6.html | 6 +- .../-track/-info/component7.html | 6 +- .../-track/-info/component8.html | 6 +- .../-track-response/-track/-info/copy.html | 6 +- .../-track-response/-track/-info/index.html | 118 ++--- .../-track-response/-track/-track.html | 6 +- .../-track-response/-track/component1.html | 6 +- .../-track-response/-track/component2.html | 6 +- .../-track-response/-track/copy.html | 6 +- .../-track-response/-track/index.html | 70 +-- .../-track/to-audio-track.html | 8 +- .../-track-response/component1.html | 6 +- .../-track-response/component2.html | 6 +- .../-track-response/component3.html | 6 +- .../-track-response/component4.html | 6 +- .../-track-response/copy.html | 6 +- .../-track-response/get-exception.html | 8 +- .../-track-response/get-playlist-info.html | 8 +- .../-track-response/index.html | 122 ++--- .../address-status-or-null.html | 58 +++ .../address-status.html | 18 +- .../me.schlaubi.lavakord.rest/index.html | 104 +++-- .../me.schlaubi.lavakord.rest/load-item.html | 18 +- .../map-to-audio-track.html | 8 +- .../unmark-address.html | 8 +- .../unmark-all-addresses.html | 8 +- .../-insufficient-permission-exception.html | 8 +- .../index.html | 114 ++--- .../-kord-link-options/index.html | 36 +- .../-mutable-kord-link-options.html | 8 +- .../component1.html | 6 +- .../-mutable-kord-link-options/copy.html | 6 +- .../-mutable-kord-link-options/index.html | 50 ++- .../-no-route-planner-exception.html | 53 +++ .../-no-route-planner-exception/index.html | 415 +++++++++++++++++ .../me.schlaubi.lavakord/connect.html | 18 +- .../me.schlaubi.lavakord/get-link.html | 12 +- docs/lavakord/me.schlaubi.lavakord/index.html | 80 ++-- .../me.schlaubi.lavakord/lavalink.html | 6 +- docs/lavakord/package-list | 1 + docs/navigation.html | 64 +-- docs/scripts/main.js | 22 +- docs/scripts/main.js.map | 2 +- docs/scripts/navigation-pane.json | 2 +- docs/scripts/pages.js | 76 ++-- docs/scripts/platformContentHandler.js | 15 + docs/scripts/sourceset_dependencies.js | 2 +- docs/styles/style.css | 108 ++++- .../me/schlaubi/lavakord/example/Lavakord.kt | 26 +- gradle/wrapper/gradle-wrapper.properties | 2 +- .../kotlin/me/schlaubi/lavakord/Exceptions.kt | 7 + .../kotlin/me/schlaubi/lavakord/Extensions.kt | 3 +- .../me/schlaubi/lavakord/audio/KordLink.kt | 46 +- .../lavakord/audio/KordLinkEventExtensions.kt | 41 ++ .../lavakord/rest/InternalLinkExtensions.kt | 9 +- .../rest/LinkRoutePlannerExtensions.kt | 27 +- .../lavakord/rest/LinkTrackExtensions.kt | 28 +- .../me/schlaubi/lavakord/rest/RoutePlanner.kt | 135 +++--- 144 files changed, 6120 insertions(+), 1295 deletions(-) create mode 100644 docs/lavakord/me.schlaubi.lavakord.audio/index.html create mode 100644 docs/lavakord/me.schlaubi.lavakord.audio/on.html create mode 100644 docs/lavakord/me.schlaubi.lavakord.rest/-nano-ip-route-planner/-data/-data.html create mode 100644 docs/lavakord/me.schlaubi.lavakord.rest/-nano-ip-route-planner/-data/component1.html create mode 100644 docs/lavakord/me.schlaubi.lavakord.rest/-nano-ip-route-planner/-data/component2.html create mode 100644 docs/lavakord/me.schlaubi.lavakord.rest/-nano-ip-route-planner/-data/component3.html create mode 100644 docs/lavakord/me.schlaubi.lavakord.rest/-nano-ip-route-planner/-data/copy.html create mode 100644 docs/lavakord/me.schlaubi.lavakord.rest/-nano-ip-route-planner/-data/index.html create mode 100644 docs/lavakord/me.schlaubi.lavakord.rest/-nano-ip-route-planner/-nano-ip-route-planner.html create mode 100644 docs/lavakord/me.schlaubi.lavakord.rest/-nano-ip-route-planner/component1.html create mode 100644 docs/lavakord/me.schlaubi.lavakord.rest/-nano-ip-route-planner/copy.html create mode 100644 docs/lavakord/me.schlaubi.lavakord.rest/-nano-ip-route-planner/index.html create mode 100644 docs/lavakord/me.schlaubi.lavakord.rest/-rotating-ip-route-planner/-data/-data.html create mode 100644 docs/lavakord/me.schlaubi.lavakord.rest/-rotating-ip-route-planner/-data/component1.html create mode 100644 docs/lavakord/me.schlaubi.lavakord.rest/-rotating-ip-route-planner/-data/component2.html create mode 100644 docs/lavakord/me.schlaubi.lavakord.rest/-rotating-ip-route-planner/-data/component3.html create mode 100644 docs/lavakord/me.schlaubi.lavakord.rest/-rotating-ip-route-planner/-data/component4.html create mode 100644 docs/lavakord/me.schlaubi.lavakord.rest/-rotating-ip-route-planner/-data/component5.html create mode 100644 docs/lavakord/me.schlaubi.lavakord.rest/-rotating-ip-route-planner/-data/copy.html create mode 100644 docs/lavakord/me.schlaubi.lavakord.rest/-rotating-ip-route-planner/-data/index.html create mode 100644 docs/lavakord/me.schlaubi.lavakord.rest/-rotating-ip-route-planner/-rotating-ip-route-planner.html create mode 100644 docs/lavakord/me.schlaubi.lavakord.rest/-rotating-ip-route-planner/component1.html create mode 100644 docs/lavakord/me.schlaubi.lavakord.rest/-rotating-ip-route-planner/copy.html create mode 100644 docs/lavakord/me.schlaubi.lavakord.rest/-rotating-ip-route-planner/index.html create mode 100644 docs/lavakord/me.schlaubi.lavakord.rest/-rotating-nano-ip-route-planner/-data/-data.html create mode 100644 docs/lavakord/me.schlaubi.lavakord.rest/-rotating-nano-ip-route-planner/-data/component1.html create mode 100644 docs/lavakord/me.schlaubi.lavakord.rest/-rotating-nano-ip-route-planner/-data/component2.html create mode 100644 docs/lavakord/me.schlaubi.lavakord.rest/-rotating-nano-ip-route-planner/-data/component3.html create mode 100644 docs/lavakord/me.schlaubi.lavakord.rest/-rotating-nano-ip-route-planner/-data/component4.html create mode 100644 docs/lavakord/me.schlaubi.lavakord.rest/-rotating-nano-ip-route-planner/-data/copy.html create mode 100644 docs/lavakord/me.schlaubi.lavakord.rest/-rotating-nano-ip-route-planner/-data/index.html create mode 100644 docs/lavakord/me.schlaubi.lavakord.rest/-rotating-nano-ip-route-planner/-rotating-nano-ip-route-planner.html create mode 100644 docs/lavakord/me.schlaubi.lavakord.rest/-rotating-nano-ip-route-planner/component1.html create mode 100644 docs/lavakord/me.schlaubi.lavakord.rest/-rotating-nano-ip-route-planner/copy.html create mode 100644 docs/lavakord/me.schlaubi.lavakord.rest/-rotating-nano-ip-route-planner/index.html create mode 100644 docs/lavakord/me.schlaubi.lavakord.rest/address-status-or-null.html create mode 100644 docs/lavakord/me.schlaubi.lavakord/-no-route-planner-exception/-no-route-planner-exception.html create mode 100644 docs/lavakord/me.schlaubi.lavakord/-no-route-planner-exception/index.html create mode 100644 src/main/kotlin/me/schlaubi/lavakord/audio/KordLinkEventExtensions.kt diff --git a/.idea/compiler.xml b/.idea/compiler.xml index 61a9130c..b73660a6 100644 --- a/.idea/compiler.xml +++ b/.idea/compiler.xml @@ -1,6 +1,6 @@ - + \ No newline at end of file diff --git a/README.md b/README.md index 053cd728..1ecee6c8 100644 --- a/README.md +++ b/README.md @@ -33,5 +33,23 @@ You can obtain and use a `Link` like this Playing: https://github.com/DRSchlaubi/Lavakord/blob/master/example/src/main/kotlin/me/schlaubi/lavakord/example/Lavakord.kt#L101-L122 +# Track loading +Lavakord provides a wrapper for the Lavalink [Track loading API](https://github.com/Frederikam/Lavalink/blob/master/IMPLEMENTATION.md#track-loading-api) + +You can load a Track by using `Link.loadItem(query: String)` for a couroutine based aproach or `Link.loadItem(query: String, callback: AudioLoadResultHandler)` for a callback based approach like Lavaplayer + +# Events +Since 0.3 Lavakord provides a [Flow based](https://kotlinlang.org/docs/reference/coroutines/flow.html) way to listen for events. + +```kotlin +val link: KordLink // = .../ + +val player = link.player + +player.on { + channel.createMessage(track.info.asString()) +} +``` + # Documentation For more info please use the [example](https://github.com/DRSchlaubi/Lavakord/blob/master/example) or [Dokka docs](https://l.mik.wtf/lavakord/) \ No newline at end of file diff --git a/build.gradle.kts b/build.gradle.kts index aacd5eeb..f47e97f2 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,12 +1,11 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile import com.jfrog.bintray.gradle.BintrayExtension -import java.net.URL plugins { kotlin("jvm") version "1.4.10" kotlin("plugin.serialization") version "1.4.0" id("com.jfrog.bintray") version "1.8.5" - id("org.jetbrains.dokka") version "1.4.0" + id("org.jetbrains.dokka") version "1.4.10" `maven-publish` } @@ -22,7 +21,9 @@ repositories { dependencies { implementation("org.jetbrains.kotlinx", "kotlinx-serialization-json", "1.0.0") - compileOnly("com.gitlab.kordlib.kord", "kord-core", "0.6.4") + implementation("org.jetbrains.kotlinx", "kotlinx-coroutines-core", "1.4.1") + + compileOnly("com.gitlab.kordlib.kord", "kord-core", "0.6.7") api("com.github.FredBoat", "Lavalink-Client", "4.0") testImplementation(kotlin("test-junit")) diff --git a/docs/-search.html b/docs/-search.html index 56e5890d..d60543b2 100644 --- a/docs/-search.html +++ b/docs/-search.html @@ -2,6 +2,7 @@ Search + @@ -15,6 +16,7 @@
+
diff --git a/docs/lavakord/index.html b/docs/lavakord/index.html index 84cbdd5b..023ed623 100644 --- a/docs/lavakord/index.html +++ b/docs/lavakord/index.html @@ -2,6 +2,7 @@ lavakord + @@ -18,6 +19,7 @@
+
@@ -28,7 +30,7 @@

lavakord

Packages

-
+
me.schlaubi.lavakord @@ -38,8 +40,19 @@

Packages

Link copied to clipboard
+ +
+
me.schlaubi.lavakord.audio + + + +
+ +Link copied to clipboard
+
+
-
+
me.schlaubi.lavakord.rest diff --git a/docs/lavakord/me.schlaubi.lavakord.audio/index.html b/docs/lavakord/me.schlaubi.lavakord.audio/index.html new file mode 100644 index 00000000..dc6b972b --- /dev/null +++ b/docs/lavakord/me.schlaubi.lavakord.audio/index.html @@ -0,0 +1,98 @@ + + + + me.schlaubi.lavakord.audio + + + + + + + + + + +
+
+ +
+
+
+
+
+ + + +
+ +
+

Package me.schlaubi.lavakord.audio

+
+
+
+
+

Functions

+
+
+
on + + + +
+ +Link copied to clipboard
+
+
+
+

Convenience method that will invoke the consumer on every event T created by Kord.events.

The events are buffered in an unlimitedbuffer and launched in the supplied scope, which is Kord by default. Each event will be launched inside the scope separately and any thrown Throwable will be caught and logged.

The returned Job is a reference to the created coroutine, call Job.cancel to cancel the processing of any further events.

+
+ +
+
inline fun <T : PlayerEvent> LavalinkPlayer.on(scope: CoroutineScope, noinline consumer: SuspendFunction1<T, Unit>): Job + +
+
+
+
+
+
+
+

Properties

+
+
+
events + + + +
+ +Link copied to clipboard
+
+
+
+
+

A Flow of PlayerEvent received from Lavalink.

val LavalinkPlayer.events: Flow<PlayerEvent> + +
+
+
+
+
+
+
+
+ +
+
+ + + diff --git a/docs/lavakord/me.schlaubi.lavakord.audio/on.html b/docs/lavakord/me.schlaubi.lavakord.audio/on.html new file mode 100644 index 00000000..a16dc912 --- /dev/null +++ b/docs/lavakord/me.schlaubi.lavakord.audio/on.html @@ -0,0 +1,53 @@ + + + + on + + + + + + + + + + +
+
+ +
+
+
+
+
+ + + +
+ +
+

on

+
+

Convenience method that will invoke the consumer on every event T created by Kord.events.

The events are buffered in an unlimitedbuffer and launched in the supplied scope, which is Kord by default. Each event will be launched inside the scope separately and any thrown Throwable will be caught and logged.

The returned Job is a reference to the created coroutine, call Job.cancel to cancel the processing of any further events.

+
+ +
+
inline fun <T : PlayerEvent> LavalinkPlayer.on(scope: CoroutineScope, noinline consumer: SuspendFunction1<T, Unit>): Job + +
+
+
+
+ +
+
+ + + diff --git a/docs/lavakord/me.schlaubi.lavakord.rest/-nano-ip-route-planner/-data/-data.html b/docs/lavakord/me.schlaubi.lavakord.rest/-nano-ip-route-planner/-data/-data.html new file mode 100644 index 00000000..d02f320d --- /dev/null +++ b/docs/lavakord/me.schlaubi.lavakord.rest/-nano-ip-route-planner/-data/-data.html @@ -0,0 +1,53 @@ + + + + Data + + + + + + + + + + +
+
+ +
+
+
+
+
+ + + +
+ +
+

Data

+
+
+
+ +
+
fun Data(ipBlock: RoutePlannerStatus.Data.IpBlock, failingAddresses: List<RoutePlannerStatus.Data.FailingAddress>, currentAddressIndex: Long) + +
+
+
+
+ +
+
+ + + diff --git a/docs/lavakord/me.schlaubi.lavakord.rest/-nano-ip-route-planner/-data/component1.html b/docs/lavakord/me.schlaubi.lavakord.rest/-nano-ip-route-planner/-data/component1.html new file mode 100644 index 00000000..3d6b58cb --- /dev/null +++ b/docs/lavakord/me.schlaubi.lavakord.rest/-nano-ip-route-planner/-data/component1.html @@ -0,0 +1,53 @@ + + + + component1 + + + + + + + + + + +
+
+ +
+
+
+
+
+ + + +
+ +
+

component1

+
+
+
+ +
+
operator fun component1(): RoutePlannerStatus.Data.IpBlock + +
+
+
+
+ +
+
+ + + diff --git a/docs/lavakord/me.schlaubi.lavakord.rest/-nano-ip-route-planner/-data/component2.html b/docs/lavakord/me.schlaubi.lavakord.rest/-nano-ip-route-planner/-data/component2.html new file mode 100644 index 00000000..76423ee2 --- /dev/null +++ b/docs/lavakord/me.schlaubi.lavakord.rest/-nano-ip-route-planner/-data/component2.html @@ -0,0 +1,53 @@ + + + + component2 + + + + + + + + + + +
+
+ +
+
+
+
+
+ + + +
+ +
+

component2

+
+
+
+ +
+
operator fun component2(): List<RoutePlannerStatus.Data.FailingAddress> + +
+
+
+
+ +
+
+ + + diff --git a/docs/lavakord/me.schlaubi.lavakord.rest/-nano-ip-route-planner/-data/component3.html b/docs/lavakord/me.schlaubi.lavakord.rest/-nano-ip-route-planner/-data/component3.html new file mode 100644 index 00000000..11a2e986 --- /dev/null +++ b/docs/lavakord/me.schlaubi.lavakord.rest/-nano-ip-route-planner/-data/component3.html @@ -0,0 +1,53 @@ + + + + component3 + + + + + + + + + + +
+
+ +
+
+
+
+
+ + + +
+ +
+

component3

+
+
+
+ +
+
operator fun component3(): Long + +
+
+
+
+ +
+
+ + + diff --git a/docs/lavakord/me.schlaubi.lavakord.rest/-nano-ip-route-planner/-data/copy.html b/docs/lavakord/me.schlaubi.lavakord.rest/-nano-ip-route-planner/-data/copy.html new file mode 100644 index 00000000..45b75bd4 --- /dev/null +++ b/docs/lavakord/me.schlaubi.lavakord.rest/-nano-ip-route-planner/-data/copy.html @@ -0,0 +1,53 @@ + + + + copy + + + + + + + + + + +
+
+ +
+
+
+
+
+ + + +
+ +
+

copy

+
+
+
+ +
+
fun copy(ipBlock: RoutePlannerStatus.Data.IpBlock, failingAddresses: List<RoutePlannerStatus.Data.FailingAddress>, currentAddressIndex: Long): NanoIpRoutePlanner.Data + +
+
+
+
+ +
+
+ + + diff --git a/docs/lavakord/me.schlaubi.lavakord.rest/-nano-ip-route-planner/-data/index.html b/docs/lavakord/me.schlaubi.lavakord.rest/-nano-ip-route-planner/-data/index.html new file mode 100644 index 00000000..184d1021 --- /dev/null +++ b/docs/lavakord/me.schlaubi.lavakord.rest/-nano-ip-route-planner/-data/index.html @@ -0,0 +1,324 @@ + + + + Data + + + + + + + + + + +
+
+ +
+
+
+
+
+ + + +
+ +
+

Data

+
data class Data(ipBlock: RoutePlannerStatus.Data.IpBlock, failingAddresses: List<RoutePlannerStatus.Data.FailingAddress>, currentAddressIndex: Long) : RoutePlannerStatus.Data + +
+
+
+
+
+

Constructors

+
+
+
Data + + + +
+ +Link copied to clipboard
+
+
+
+
+
fun Data(ipBlock: RoutePlannerStatus.Data.IpBlock, failingAddresses: List<RoutePlannerStatus.Data.FailingAddress>, currentAddressIndex: Long) + +
+
+
+
+
+

Functions

+
+
+
component1 + + + +
+ +Link copied to clipboard
+
+
+
+
+
+ +
+
operator fun component1(): RoutePlannerStatus.Data.IpBlock + +
+
+
+
+
+
+ +
+
component2 + + + +
+ +Link copied to clipboard
+
+
+
+
+
+ +
+
operator fun component2(): List<RoutePlannerStatus.Data.FailingAddress> + +
+
+
+
+
+
+ +
+
component3 + + + +
+ +Link copied to clipboard
+
+
+
+
+
+ +
+
operator fun component3(): Long + +
+
+
+
+
+
+ +
+
copy + + + +
+ +Link copied to clipboard
+
+
+
+
+
+ +
+
fun copy(ipBlock: RoutePlannerStatus.Data.IpBlock, failingAddresses: List<RoutePlannerStatus.Data.FailingAddress>, currentAddressIndex: Long): NanoIpRoutePlanner.Data + +
+
+
+
+
+
+ +
+
equals + + + +
+ +Link copied to clipboard
+
+
+
+
+
+ +
+
open operator override fun equals(other: Any?): Boolean + +
+
+
+
+
+
+ +
+
hashCode + + + +
+ +Link copied to clipboard
+
+
+
+
+
+ +
+
open override fun hashCode(): Int + +
+
+
+
+
+
+ +
+
toString + + + +
+ +Link copied to clipboard
+
+
+
+
+
+ +
+
open override fun toString(): String + +
+
+
+
+
+
+
+

Properties

+
+
+
currentAddressIndex + + + +
+ +Link copied to clipboard
+
+
+
+
+

The current offset in the ip block

val currentAddressIndex: Long + +
+
+
+
+ +
+
failingAddresses + + + +
+ +Link copied to clipboard
+
+
+
+
+
open override val failingAddresses: List<RoutePlannerStatus.Data.FailingAddress> + +
+
+
+
+ +
+
ipBlock + + + +
+ +Link copied to clipboard
+
+
+
+
+
open override val ipBlock: RoutePlannerStatus.Data.IpBlock + +
+
+
+
+
+
+
+
+ +
+
+ + + diff --git a/docs/lavakord/me.schlaubi.lavakord.rest/-nano-ip-route-planner/-nano-ip-route-planner.html b/docs/lavakord/me.schlaubi.lavakord.rest/-nano-ip-route-planner/-nano-ip-route-planner.html new file mode 100644 index 00000000..8746c862 --- /dev/null +++ b/docs/lavakord/me.schlaubi.lavakord.rest/-nano-ip-route-planner/-nano-ip-route-planner.html @@ -0,0 +1,53 @@ + + + + NanoIpRoutePlanner + + + + + + + + + + +
+
+ +
+
+
+
+
+ + + +
+ +
+

NanoIpRoutePlanner

+
+
+
+ +
+
fun NanoIpRoutePlanner(details: RoutePlannerStatus.Data) + +
+
+
+
+ +
+
+ + + diff --git a/docs/lavakord/me.schlaubi.lavakord.rest/-nano-ip-route-planner/component1.html b/docs/lavakord/me.schlaubi.lavakord.rest/-nano-ip-route-planner/component1.html new file mode 100644 index 00000000..f7b7f42d --- /dev/null +++ b/docs/lavakord/me.schlaubi.lavakord.rest/-nano-ip-route-planner/component1.html @@ -0,0 +1,53 @@ + + + + component1 + + + + + + + + + + +
+
+ +
+
+
+
+
+ + + +
+ +
+

component1

+
+
+
+ +
+
operator fun component1(): RoutePlannerStatus.Data + +
+
+
+
+ +
+
+ + + diff --git a/docs/lavakord/me.schlaubi.lavakord.rest/-nano-ip-route-planner/copy.html b/docs/lavakord/me.schlaubi.lavakord.rest/-nano-ip-route-planner/copy.html new file mode 100644 index 00000000..19128c79 --- /dev/null +++ b/docs/lavakord/me.schlaubi.lavakord.rest/-nano-ip-route-planner/copy.html @@ -0,0 +1,53 @@ + + + + copy + + + + + + + + + + +
+
+ +
+
+
+
+
+ + + +
+ +
+

copy

+
+
+
+ +
+
fun copy(details: RoutePlannerStatus.Data): NanoIpRoutePlanner + +
+
+
+
+ +
+
+ + + diff --git a/docs/lavakord/me.schlaubi.lavakord.rest/-nano-ip-route-planner/index.html b/docs/lavakord/me.schlaubi.lavakord.rest/-nano-ip-route-planner/index.html new file mode 100644 index 00000000..639698a2 --- /dev/null +++ b/docs/lavakord/me.schlaubi.lavakord.rest/-nano-ip-route-planner/index.html @@ -0,0 +1,300 @@ + + + + NanoIpRoutePlanner + + + + + + + + + + +
+
+ +
+
+
+
+
+ + + +
+ +
+

NanoIpRoutePlanner

+ +
+
+
+
+

Constructors

+
+
+
NanoIpRoutePlanner + + + +
+ +Link copied to clipboard
+
+
+
+
+
fun NanoIpRoutePlanner(details: RoutePlannerStatus.Data) + +
+
+
+
+
+

Types

+
+
+
Data + + + +
+ +Link copied to clipboard
+
+
+
+
+
+ +
+
data class Data(ipBlock: RoutePlannerStatus.Data.IpBlock, failingAddresses: List<RoutePlannerStatus.Data.FailingAddress>, currentAddressIndex: Long) : RoutePlannerStatus.Data + +
+
+
+
+
+
+
+

Functions

+
+
+
component1 + + + +
+ +Link copied to clipboard
+
+
+
+
+
+ +
+
operator fun component1(): RoutePlannerStatus.Data + +
+
+
+
+
+
+ +
+
copy + + + +
+ +Link copied to clipboard
+
+
+
+
+
+ +
+
fun copy(details: RoutePlannerStatus.Data): NanoIpRoutePlanner + +
+
+
+
+
+
+ +
+
equals + + + +
+ +Link copied to clipboard
+
+
+
+
+
+ +
+
open operator override fun equals(other: Any?): Boolean + +
+
+
+
+
+
+ +
+
hashCode + + + +
+ +Link copied to clipboard
+
+
+
+
+
+ +
+
open override fun hashCode(): Int + +
+
+
+
+
+
+ +
+
toString + + + +
+ +Link copied to clipboard
+
+
+
+
+
+ +
+
open override fun toString(): String + +
+
+
+
+
+
+
+

Properties

+
+
+
class + + + +
+ +Link copied to clipboard
+
+
+
+
+

the name of the RoutePlanner class

override val class: RoutePlannerStatus.Class + +
+
+
+
+ +
+
clazz + + + +
+ +Link copied to clipboard
+
+
+
+
+

Alias to class so you won't need backticks.

override val clazz: RoutePlannerStatus.Class? + +
+
+
+
+ +
+
details + + + +
+ +Link copied to clipboard
+
+
+
+
+

the Data from the route planner class

open override val details: RoutePlannerStatus.Data + +
+
+
+
+
+
+
+
+ +
+
+ + + diff --git a/docs/lavakord/me.schlaubi.lavakord.rest/-rotating-ip-route-planner/-data/-data.html b/docs/lavakord/me.schlaubi.lavakord.rest/-rotating-ip-route-planner/-data/-data.html new file mode 100644 index 00000000..e222ff21 --- /dev/null +++ b/docs/lavakord/me.schlaubi.lavakord.rest/-rotating-ip-route-planner/-data/-data.html @@ -0,0 +1,53 @@ + + + + Data + + + + + + + + + + +
+
+ +
+
+
+
+
+ + + +
+ +
+

Data

+
+
+
+ +
+
fun Data(ipBlock: RoutePlannerStatus.Data.IpBlock, failingAddresses: List<RoutePlannerStatus.Data.FailingAddress>, rotateIndex: String, ipIndex: String, currentAddress: String) + +
+
+
+
+ +
+
+ + + diff --git a/docs/lavakord/me.schlaubi.lavakord.rest/-rotating-ip-route-planner/-data/component1.html b/docs/lavakord/me.schlaubi.lavakord.rest/-rotating-ip-route-planner/-data/component1.html new file mode 100644 index 00000000..5afee37c --- /dev/null +++ b/docs/lavakord/me.schlaubi.lavakord.rest/-rotating-ip-route-planner/-data/component1.html @@ -0,0 +1,53 @@ + + + + component1 + + + + + + + + + + +
+
+ +
+
+
+
+
+ + + +
+ +
+

component1

+
+
+
+ +
+
operator fun component1(): RoutePlannerStatus.Data.IpBlock + +
+
+
+
+ +
+
+ + + diff --git a/docs/lavakord/me.schlaubi.lavakord.rest/-rotating-ip-route-planner/-data/component2.html b/docs/lavakord/me.schlaubi.lavakord.rest/-rotating-ip-route-planner/-data/component2.html new file mode 100644 index 00000000..9491b869 --- /dev/null +++ b/docs/lavakord/me.schlaubi.lavakord.rest/-rotating-ip-route-planner/-data/component2.html @@ -0,0 +1,53 @@ + + + + component2 + + + + + + + + + + +
+
+ +
+
+
+
+
+ + + +
+ +
+

component2

+
+
+
+ +
+
operator fun component2(): List<RoutePlannerStatus.Data.FailingAddress> + +
+
+
+
+ +
+
+ + + diff --git a/docs/lavakord/me.schlaubi.lavakord.rest/-rotating-ip-route-planner/-data/component3.html b/docs/lavakord/me.schlaubi.lavakord.rest/-rotating-ip-route-planner/-data/component3.html new file mode 100644 index 00000000..d3b197c9 --- /dev/null +++ b/docs/lavakord/me.schlaubi.lavakord.rest/-rotating-ip-route-planner/-data/component3.html @@ -0,0 +1,53 @@ + + + + component3 + + + + + + + + + + +
+
+ +
+
+
+
+
+ + + +
+ +
+

component3

+
+
+
+ +
+
operator fun component3(): String + +
+
+
+
+ +
+
+ + + diff --git a/docs/lavakord/me.schlaubi.lavakord.rest/-rotating-ip-route-planner/-data/component4.html b/docs/lavakord/me.schlaubi.lavakord.rest/-rotating-ip-route-planner/-data/component4.html new file mode 100644 index 00000000..1df862b9 --- /dev/null +++ b/docs/lavakord/me.schlaubi.lavakord.rest/-rotating-ip-route-planner/-data/component4.html @@ -0,0 +1,53 @@ + + + + component4 + + + + + + + + + + +
+
+ +
+
+
+
+
+ + + +
+ +
+

component4

+
+
+
+ +
+
operator fun component4(): String + +
+
+
+
+ +
+
+ + + diff --git a/docs/lavakord/me.schlaubi.lavakord.rest/-rotating-ip-route-planner/-data/component5.html b/docs/lavakord/me.schlaubi.lavakord.rest/-rotating-ip-route-planner/-data/component5.html new file mode 100644 index 00000000..04284dd0 --- /dev/null +++ b/docs/lavakord/me.schlaubi.lavakord.rest/-rotating-ip-route-planner/-data/component5.html @@ -0,0 +1,53 @@ + + + + component5 + + + + + + + + + + +
+
+ +
+
+
+
+
+ + + +
+ +
+

component5

+
+
+
+ +
+
operator fun component5(): String + +
+
+
+
+ +
+
+ + + diff --git a/docs/lavakord/me.schlaubi.lavakord.rest/-rotating-ip-route-planner/-data/copy.html b/docs/lavakord/me.schlaubi.lavakord.rest/-rotating-ip-route-planner/-data/copy.html new file mode 100644 index 00000000..e02f5c8b --- /dev/null +++ b/docs/lavakord/me.schlaubi.lavakord.rest/-rotating-ip-route-planner/-data/copy.html @@ -0,0 +1,53 @@ + + + + copy + + + + + + + + + + +
+
+ +
+
+
+
+
+ + + +
+ +
+

copy

+
+
+
+ +
+
fun copy(ipBlock: RoutePlannerStatus.Data.IpBlock, failingAddresses: List<RoutePlannerStatus.Data.FailingAddress>, rotateIndex: String, ipIndex: String, currentAddress: String): RotatingIpRoutePlanner.Data + +
+
+
+
+ +
+
+ + + diff --git a/docs/lavakord/me.schlaubi.lavakord.rest/-rotating-ip-route-planner/-data/index.html b/docs/lavakord/me.schlaubi.lavakord.rest/-rotating-ip-route-planner/-data/index.html new file mode 100644 index 00000000..7d05fb10 --- /dev/null +++ b/docs/lavakord/me.schlaubi.lavakord.rest/-rotating-ip-route-planner/-data/index.html @@ -0,0 +1,418 @@ + + + + Data + + + + + + + + + + +
+
+ +
+
+
+
+
+ + + +
+ +
+

Data

+
data class Data(ipBlock: RoutePlannerStatus.Data.IpBlock, failingAddresses: List<RoutePlannerStatus.Data.FailingAddress>, rotateIndex: String, ipIndex: String, currentAddress: String) : RoutePlannerStatus.Data + +
+
+
+
+
+

Constructors

+
+
+
Data + + + +
+ +Link copied to clipboard
+
+
+
+
+
fun Data(ipBlock: RoutePlannerStatus.Data.IpBlock, failingAddresses: List<RoutePlannerStatus.Data.FailingAddress>, rotateIndex: String, ipIndex: String, currentAddress: String) + +
+
+
+
+
+

Functions

+
+
+
component1 + + + +
+ +Link copied to clipboard
+
+
+
+
+
+ +
+
operator fun component1(): RoutePlannerStatus.Data.IpBlock + +
+
+
+
+
+
+ +
+
component2 + + + +
+ +Link copied to clipboard
+
+
+
+
+
+ +
+
operator fun component2(): List<RoutePlannerStatus.Data.FailingAddress> + +
+
+
+
+
+
+ +
+
component3 + + + +
+ +Link copied to clipboard
+
+
+
+
+
+ +
+
operator fun component3(): String + +
+
+
+
+
+
+ +
+
component4 + + + +
+ +Link copied to clipboard
+
+
+
+
+
+ +
+
operator fun component4(): String + +
+
+
+
+
+
+ +
+
component5 + + + +
+ +Link copied to clipboard
+
+
+
+
+
+ +
+
operator fun component5(): String + +
+
+
+
+
+
+ +
+
copy + + + +
+ +Link copied to clipboard
+
+
+
+
+
+ +
+
fun copy(ipBlock: RoutePlannerStatus.Data.IpBlock, failingAddresses: List<RoutePlannerStatus.Data.FailingAddress>, rotateIndex: String, ipIndex: String, currentAddress: String): RotatingIpRoutePlanner.Data + +
+
+
+
+
+
+ +
+
equals + + + +
+ +Link copied to clipboard
+
+
+
+
+
+ +
+
open operator override fun equals(other: Any?): Boolean + +
+
+
+
+
+
+ +
+
hashCode + + + +
+ +Link copied to clipboard
+
+
+
+
+
+ +
+
open override fun hashCode(): Int + +
+
+
+
+
+
+ +
+
toString + + + +
+ +Link copied to clipboard
+
+
+
+
+
+ +
+
open override fun toString(): String + +
+
+
+
+
+
+
+

Properties

+
+
+
currentAddress + + + +
+ +Link copied to clipboard
+
+
+
+
+

The currently used ip address

val currentAddress: String + +
+
+
+
+ +
+
failingAddresses + + + +
+ +Link copied to clipboard
+
+
+
+
+
open override val failingAddresses: List<RoutePlannerStatus.Data.FailingAddress> + +
+
+
+
+ +
+
ipBlock + + + +
+ +Link copied to clipboard
+
+
+
+
+
open override val ipBlock: RoutePlannerStatus.Data.IpBlock + +
+
+
+
+ +
+
ipIndex + + + +
+ +Link copied to clipboard
+
+
+
+
+

The current offset in the block

val ipIndex: String + +
+
+
+
+ +
+
rotateIndex + + + +
+ +Link copied to clipboard
+
+
+
+
+

The number of rotations which happened since the restart of Lavalink

val rotateIndex: String + +
+
+
+
+
+
+
+
+ +
+
+ + + diff --git a/docs/lavakord/me.schlaubi.lavakord.rest/-rotating-ip-route-planner/-rotating-ip-route-planner.html b/docs/lavakord/me.schlaubi.lavakord.rest/-rotating-ip-route-planner/-rotating-ip-route-planner.html new file mode 100644 index 00000000..b06c19d0 --- /dev/null +++ b/docs/lavakord/me.schlaubi.lavakord.rest/-rotating-ip-route-planner/-rotating-ip-route-planner.html @@ -0,0 +1,53 @@ + + + + RotatingIpRoutePlanner + + + + + + + + + + +
+
+ +
+
+
+
+
+ + + +
+ +
+

RotatingIpRoutePlanner

+
+
+
+ +
+
fun RotatingIpRoutePlanner(details: RoutePlannerStatus.Data) + +
+
+
+
+ +
+
+ + + diff --git a/docs/lavakord/me.schlaubi.lavakord.rest/-rotating-ip-route-planner/component1.html b/docs/lavakord/me.schlaubi.lavakord.rest/-rotating-ip-route-planner/component1.html new file mode 100644 index 00000000..6c7e8c0e --- /dev/null +++ b/docs/lavakord/me.schlaubi.lavakord.rest/-rotating-ip-route-planner/component1.html @@ -0,0 +1,53 @@ + + + + component1 + + + + + + + + + + +
+
+ +
+
+
+
+
+ + + +
+ +
+

component1

+
+
+
+ +
+
operator fun component1(): RoutePlannerStatus.Data + +
+
+
+
+ +
+
+ + + diff --git a/docs/lavakord/me.schlaubi.lavakord.rest/-rotating-ip-route-planner/copy.html b/docs/lavakord/me.schlaubi.lavakord.rest/-rotating-ip-route-planner/copy.html new file mode 100644 index 00000000..da4ef28e --- /dev/null +++ b/docs/lavakord/me.schlaubi.lavakord.rest/-rotating-ip-route-planner/copy.html @@ -0,0 +1,53 @@ + + + + copy + + + + + + + + + + +
+
+ +
+
+
+
+
+ + + +
+ +
+

copy

+
+
+
+ +
+
fun copy(details: RoutePlannerStatus.Data): RotatingIpRoutePlanner + +
+
+
+
+ +
+
+ + + diff --git a/docs/lavakord/me.schlaubi.lavakord.rest/-rotating-ip-route-planner/index.html b/docs/lavakord/me.schlaubi.lavakord.rest/-rotating-ip-route-planner/index.html new file mode 100644 index 00000000..88f569e9 --- /dev/null +++ b/docs/lavakord/me.schlaubi.lavakord.rest/-rotating-ip-route-planner/index.html @@ -0,0 +1,300 @@ + + + + RotatingIpRoutePlanner + + + + + + + + + + +
+
+ +
+
+
+
+
+ + + +
+ +
+

RotatingIpRoutePlanner

+ +
+
+
+
+

Constructors

+
+
+
RotatingIpRoutePlanner + + + +
+ +Link copied to clipboard
+
+
+
+
+
fun RotatingIpRoutePlanner(details: RoutePlannerStatus.Data) + +
+
+
+
+
+

Types

+
+
+
Data + + + +
+ +Link copied to clipboard
+
+
+
+
+
+ +
+
data class Data(ipBlock: RoutePlannerStatus.Data.IpBlock, failingAddresses: List<RoutePlannerStatus.Data.FailingAddress>, rotateIndex: String, ipIndex: String, currentAddress: String) : RoutePlannerStatus.Data + +
+
+
+
+
+
+
+

Functions

+
+
+
component1 + + + +
+ +Link copied to clipboard
+
+
+
+
+
+ +
+
operator fun component1(): RoutePlannerStatus.Data + +
+
+
+
+
+
+ +
+
copy + + + +
+ +Link copied to clipboard
+
+
+
+
+
+ +
+
fun copy(details: RoutePlannerStatus.Data): RotatingIpRoutePlanner + +
+
+
+
+
+
+ +
+
equals + + + +
+ +Link copied to clipboard
+
+
+
+
+
+ +
+
open operator override fun equals(other: Any?): Boolean + +
+
+
+
+
+
+ +
+
hashCode + + + +
+ +Link copied to clipboard
+
+
+
+
+
+ +
+
open override fun hashCode(): Int + +
+
+
+
+
+
+ +
+
toString + + + +
+ +Link copied to clipboard
+
+
+
+
+
+ +
+
open override fun toString(): String + +
+
+
+
+
+
+
+

Properties

+
+
+
class + + + +
+ +Link copied to clipboard
+
+
+
+
+

the name of the RoutePlanner class

override val class: RoutePlannerStatus.Class + +
+
+
+
+ +
+
clazz + + + +
+ +Link copied to clipboard
+
+
+
+
+

Alias to class so you won't need backticks.

override val clazz: RoutePlannerStatus.Class? + +
+
+
+
+ +
+
details + + + +
+ +Link copied to clipboard
+
+
+
+
+

the Data from the route planner class

open override val details: RoutePlannerStatus.Data + +
+
+
+
+
+
+
+
+ +
+
+ + + diff --git a/docs/lavakord/me.schlaubi.lavakord.rest/-rotating-nano-ip-route-planner/-data/-data.html b/docs/lavakord/me.schlaubi.lavakord.rest/-rotating-nano-ip-route-planner/-data/-data.html new file mode 100644 index 00000000..697724c0 --- /dev/null +++ b/docs/lavakord/me.schlaubi.lavakord.rest/-rotating-nano-ip-route-planner/-data/-data.html @@ -0,0 +1,53 @@ + + + + Data + + + + + + + + + + +
+
+ +
+
+
+
+
+ + + +
+ +
+

Data

+
+
+
+ +
+
fun Data(ipBlock: RoutePlannerStatus.Data.IpBlock, failingAddresses: List<RoutePlannerStatus.Data.FailingAddress>, blockIndex: Long, currentAddressIndex: Long) + +
+
+
+
+ +
+
+ + + diff --git a/docs/lavakord/me.schlaubi.lavakord.rest/-rotating-nano-ip-route-planner/-data/component1.html b/docs/lavakord/me.schlaubi.lavakord.rest/-rotating-nano-ip-route-planner/-data/component1.html new file mode 100644 index 00000000..daf1851c --- /dev/null +++ b/docs/lavakord/me.schlaubi.lavakord.rest/-rotating-nano-ip-route-planner/-data/component1.html @@ -0,0 +1,53 @@ + + + + component1 + + + + + + + + + + +
+
+ +
+
+
+
+
+ + + +
+ +
+

component1

+
+
+
+ +
+
operator fun component1(): RoutePlannerStatus.Data.IpBlock + +
+
+
+
+ +
+
+ + + diff --git a/docs/lavakord/me.schlaubi.lavakord.rest/-rotating-nano-ip-route-planner/-data/component2.html b/docs/lavakord/me.schlaubi.lavakord.rest/-rotating-nano-ip-route-planner/-data/component2.html new file mode 100644 index 00000000..4c9c0f50 --- /dev/null +++ b/docs/lavakord/me.schlaubi.lavakord.rest/-rotating-nano-ip-route-planner/-data/component2.html @@ -0,0 +1,53 @@ + + + + component2 + + + + + + + + + + +
+
+ +
+
+
+
+
+ + + +
+ +
+

component2

+
+
+
+ +
+
operator fun component2(): List<RoutePlannerStatus.Data.FailingAddress> + +
+
+
+
+ +
+
+ + + diff --git a/docs/lavakord/me.schlaubi.lavakord.rest/-rotating-nano-ip-route-planner/-data/component3.html b/docs/lavakord/me.schlaubi.lavakord.rest/-rotating-nano-ip-route-planner/-data/component3.html new file mode 100644 index 00000000..36659ae6 --- /dev/null +++ b/docs/lavakord/me.schlaubi.lavakord.rest/-rotating-nano-ip-route-planner/-data/component3.html @@ -0,0 +1,53 @@ + + + + component3 + + + + + + + + + + +
+
+ +
+
+
+
+
+ + + +
+ +
+

component3

+
+
+
+ +
+
operator fun component3(): Long + +
+
+
+
+ +
+
+ + + diff --git a/docs/lavakord/me.schlaubi.lavakord.rest/-rotating-nano-ip-route-planner/-data/component4.html b/docs/lavakord/me.schlaubi.lavakord.rest/-rotating-nano-ip-route-planner/-data/component4.html new file mode 100644 index 00000000..14a186b6 --- /dev/null +++ b/docs/lavakord/me.schlaubi.lavakord.rest/-rotating-nano-ip-route-planner/-data/component4.html @@ -0,0 +1,53 @@ + + + + component4 + + + + + + + + + + +
+
+ +
+
+
+
+
+ + + +
+ +
+

component4

+
+
+
+ +
+
operator fun component4(): Long + +
+
+
+
+ +
+
+ + + diff --git a/docs/lavakord/me.schlaubi.lavakord.rest/-rotating-nano-ip-route-planner/-data/copy.html b/docs/lavakord/me.schlaubi.lavakord.rest/-rotating-nano-ip-route-planner/-data/copy.html new file mode 100644 index 00000000..89d8c083 --- /dev/null +++ b/docs/lavakord/me.schlaubi.lavakord.rest/-rotating-nano-ip-route-planner/-data/copy.html @@ -0,0 +1,53 @@ + + + + copy + + + + + + + + + + +
+
+ +
+
+
+
+
+ + + +
+ +
+

copy

+
+
+
+ +
+
fun copy(ipBlock: RoutePlannerStatus.Data.IpBlock, failingAddresses: List<RoutePlannerStatus.Data.FailingAddress>, blockIndex: Long, currentAddressIndex: Long): RotatingNanoIpRoutePlanner.Data + +
+
+
+
+ +
+
+ + + diff --git a/docs/lavakord/me.schlaubi.lavakord.rest/-rotating-nano-ip-route-planner/-data/index.html b/docs/lavakord/me.schlaubi.lavakord.rest/-rotating-nano-ip-route-planner/-data/index.html new file mode 100644 index 00000000..daa6ccd5 --- /dev/null +++ b/docs/lavakord/me.schlaubi.lavakord.rest/-rotating-nano-ip-route-planner/-data/index.html @@ -0,0 +1,371 @@ + + + + Data + + + + + + + + + + +
+
+ +
+
+
+
+
+ + + +
+ +
+

Data

+
data class Data(ipBlock: RoutePlannerStatus.Data.IpBlock, failingAddresses: List<RoutePlannerStatus.Data.FailingAddress>, blockIndex: Long, currentAddressIndex: Long) : RoutePlannerStatus.Data + +
+
+
+
+
+

Constructors

+
+
+
Data + + + +
+ +Link copied to clipboard
+
+
+
+
+
fun Data(ipBlock: RoutePlannerStatus.Data.IpBlock, failingAddresses: List<RoutePlannerStatus.Data.FailingAddress>, blockIndex: Long, currentAddressIndex: Long) + +
+
+
+
+
+

Functions

+
+
+
component1 + + + +
+ +Link copied to clipboard
+
+
+
+
+
+ +
+
operator fun component1(): RoutePlannerStatus.Data.IpBlock + +
+
+
+
+
+
+ +
+
component2 + + + +
+ +Link copied to clipboard
+
+
+
+
+
+ +
+
operator fun component2(): List<RoutePlannerStatus.Data.FailingAddress> + +
+
+
+
+
+
+ +
+
component3 + + + +
+ +Link copied to clipboard
+
+
+
+
+
+ +
+
operator fun component3(): Long + +
+
+
+
+
+
+ +
+
component4 + + + +
+ +Link copied to clipboard
+
+
+
+
+
+ +
+
operator fun component4(): Long + +
+
+
+
+
+
+ +
+
copy + + + +
+ +Link copied to clipboard
+
+
+
+
+
+ +
+
fun copy(ipBlock: RoutePlannerStatus.Data.IpBlock, failingAddresses: List<RoutePlannerStatus.Data.FailingAddress>, blockIndex: Long, currentAddressIndex: Long): RotatingNanoIpRoutePlanner.Data + +
+
+
+
+
+
+ +
+
equals + + + +
+ +Link copied to clipboard
+
+
+
+
+
+ +
+
open operator override fun equals(other: Any?): Boolean + +
+
+
+
+
+
+ +
+
hashCode + + + +
+ +Link copied to clipboard
+
+
+
+
+
+ +
+
open override fun hashCode(): Int + +
+
+
+
+
+
+ +
+
toString + + + +
+ +Link copied to clipboard
+
+
+
+
+
+ +
+
open override fun toString(): String + +
+
+
+
+
+
+
+

Properties

+
+
+
blockIndex + + + +
+ +Link copied to clipboard
+
+
+
+
+

The information in which /64 block ips are chosen. This number increases on each ban.

val blockIndex: Long + +
+
+
+
+ +
+
currentAddressIndex + + + +
+ +Link copied to clipboard
+
+
+
+
+

The current offset in the ip block

val currentAddressIndex: Long + +
+
+
+
+ +
+
failingAddresses + + + +
+ +Link copied to clipboard
+
+
+
+
+
open override val failingAddresses: List<RoutePlannerStatus.Data.FailingAddress> + +
+
+
+
+ +
+
ipBlock + + + +
+ +Link copied to clipboard
+
+
+
+
+
open override val ipBlock: RoutePlannerStatus.Data.IpBlock + +
+
+
+
+
+
+
+
+ +
+
+ + + diff --git a/docs/lavakord/me.schlaubi.lavakord.rest/-rotating-nano-ip-route-planner/-rotating-nano-ip-route-planner.html b/docs/lavakord/me.schlaubi.lavakord.rest/-rotating-nano-ip-route-planner/-rotating-nano-ip-route-planner.html new file mode 100644 index 00000000..e40f72d9 --- /dev/null +++ b/docs/lavakord/me.schlaubi.lavakord.rest/-rotating-nano-ip-route-planner/-rotating-nano-ip-route-planner.html @@ -0,0 +1,53 @@ + + + + RotatingNanoIpRoutePlanner + + + + + + + + + + +
+
+ +
+
+
+
+
+ + + +
+ +
+

RotatingNanoIpRoutePlanner

+
+
+
+ +
+
fun RotatingNanoIpRoutePlanner(details: RoutePlannerStatus.Data) + +
+
+
+
+ +
+
+ + + diff --git a/docs/lavakord/me.schlaubi.lavakord.rest/-rotating-nano-ip-route-planner/component1.html b/docs/lavakord/me.schlaubi.lavakord.rest/-rotating-nano-ip-route-planner/component1.html new file mode 100644 index 00000000..bcca3064 --- /dev/null +++ b/docs/lavakord/me.schlaubi.lavakord.rest/-rotating-nano-ip-route-planner/component1.html @@ -0,0 +1,53 @@ + + + + component1 + + + + + + + + + + +
+
+ +
+
+
+
+
+ + + +
+ +
+

component1

+
+
+
+ +
+
operator fun component1(): RoutePlannerStatus.Data + +
+
+
+
+ +
+
+ + + diff --git a/docs/lavakord/me.schlaubi.lavakord.rest/-rotating-nano-ip-route-planner/copy.html b/docs/lavakord/me.schlaubi.lavakord.rest/-rotating-nano-ip-route-planner/copy.html new file mode 100644 index 00000000..45ab09f8 --- /dev/null +++ b/docs/lavakord/me.schlaubi.lavakord.rest/-rotating-nano-ip-route-planner/copy.html @@ -0,0 +1,53 @@ + + + + copy + + + + + + + + + + +
+
+ +
+
+
+
+
+ + + +
+ +
+

copy

+
+
+
+ +
+
fun copy(details: RoutePlannerStatus.Data): RotatingNanoIpRoutePlanner + +
+
+
+
+ +
+
+ + + diff --git a/docs/lavakord/me.schlaubi.lavakord.rest/-rotating-nano-ip-route-planner/index.html b/docs/lavakord/me.schlaubi.lavakord.rest/-rotating-nano-ip-route-planner/index.html new file mode 100644 index 00000000..8201a30f --- /dev/null +++ b/docs/lavakord/me.schlaubi.lavakord.rest/-rotating-nano-ip-route-planner/index.html @@ -0,0 +1,300 @@ + + + + RotatingNanoIpRoutePlanner + + + + + + + + + + +
+
+ +
+
+
+
+
+ + + +
+ +
+

RotatingNanoIpRoutePlanner

+ +
+
+
+
+

Constructors

+
+
+
RotatingNanoIpRoutePlanner + + + +
+ +Link copied to clipboard
+
+
+
+
+
fun RotatingNanoIpRoutePlanner(details: RoutePlannerStatus.Data) + +
+
+
+
+
+

Types

+
+
+
Data + + + +
+ +Link copied to clipboard
+
+
+
+
+
+ +
+
data class Data(ipBlock: RoutePlannerStatus.Data.IpBlock, failingAddresses: List<RoutePlannerStatus.Data.FailingAddress>, blockIndex: Long, currentAddressIndex: Long) : RoutePlannerStatus.Data + +
+
+
+
+
+
+
+

Functions

+
+
+
component1 + + + +
+ +Link copied to clipboard
+
+
+
+
+
+ +
+
operator fun component1(): RoutePlannerStatus.Data + +
+
+
+
+
+
+ +
+
copy + + + +
+ +Link copied to clipboard
+
+
+
+
+
+ +
+
fun copy(details: RoutePlannerStatus.Data): RotatingNanoIpRoutePlanner + +
+
+
+
+
+
+ +
+
equals + + + +
+ +Link copied to clipboard
+
+
+
+
+
+ +
+
open operator override fun equals(other: Any?): Boolean + +
+
+
+
+
+
+ +
+
hashCode + + + +
+ +Link copied to clipboard
+
+
+
+
+
+ +
+
open override fun hashCode(): Int + +
+
+
+
+
+
+ +
+
toString + + + +
+ +Link copied to clipboard
+
+
+
+
+
+ +
+
open override fun toString(): String + +
+
+
+
+
+
+
+

Properties

+
+
+
class + + + +
+ +Link copied to clipboard
+
+
+
+
+

the name of the RoutePlanner class

override val class: RoutePlannerStatus.Class + +
+
+
+
+ +
+
clazz + + + +
+ +Link copied to clipboard
+
+
+
+
+

Alias to class so you won't need backticks.

override val clazz: RoutePlannerStatus.Class? + +
+
+
+
+ +
+
details + + + +
+ +Link copied to clipboard
+
+
+
+
+

the Data from the route planner class

open override val details: RoutePlannerStatus.Data + +
+
+
+
+
+
+
+
+ +
+
+ + + diff --git a/docs/lavakord/me.schlaubi.lavakord.rest/-route-planner-status/-class/-nano-ip-route-planner/index.html b/docs/lavakord/me.schlaubi.lavakord.rest/-route-planner-status/-class/-nano-ip-route-planner/index.html index b0539bb0..ed70b912 100644 --- a/docs/lavakord/me.schlaubi.lavakord.rest/-route-planner-status/-class/-nano-ip-route-planner/index.html +++ b/docs/lavakord/me.schlaubi.lavakord.rest/-route-planner-status/-class/-nano-ip-route-planner/index.html @@ -2,6 +2,7 @@ NanoIpRoutePlanner + @@ -18,14 +19,15 @@
+
-

NanoIpRoutePlanner

-
+

NanoIpRoutePlanner

+