Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
abstract class CyclicRedundancyCheckBlock(clientCrc: IntArray)

CRC blocks are helper structures used for the server to verify that the CRC is up-to-date. As the client transmits less CRCs than there are cache indices, we provide validation methods through this abstract class at the respective revision's decoder level, so we can perform checks that correspond to the information received from the client, and not what the server fully knows of.

Link copied to clipboard
class HostPlatformStats(_version: UByte, _osType: UByte, val os64Bit: Boolean, _osVersion: UShort, _javaVendor: UByte, _javaVersionMajor: UByte, _javaVersionMinor: UByte, _javaVersionPatch: UByte, val applet: Boolean, _javaMaxMemoryMb: UShort, _javaAvailableProcessors: UByte, val systemMemory: Int, _systemSpeed: UShort, val gpuDxName: String, val gpuGlName: String, val gpuDxVersion: String, val gpuGlVersion: String, _gpuDriverMonth: UByte, _gpuDriverYear: UShort, val cpuManufacturer: String, val cpuBrand: String, _cpuCount1: UByte, _cpuCount2: UByte, val cpuFeatures: IntArray, val cpuSignature: Int, val clientName: String, val deviceName: String)
Link copied to clipboard
class LoginBlock<T>(val version: Int, val subVersion: Int, _clientType: UByte, _platformType: UByte, _constZero1: UByte, val seed: IntArray, val sessionId: Long, val username: String, val lowDetail: Boolean, val resizable: Boolean, _width: UShort, _height: UShort, val uuid: ByteArray, val siteSettings: String, val affiliate: Int, _constZero2: UByte, val hostPlatformStats: HostPlatformStats, _validationClientType: UByte, _crcBlockHeader: UByte, val crc: CyclicRedundancyCheckBlock, val authentication: T)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
sealed interface OtpAuthenticationType
Link copied to clipboard
class Password(val data: ByteArray)

A class to hold the password. This class offers additional functionality to clear the data from memory, to avoid any potential memory attacks.

Link copied to clipboard
class Token(val data: ByteArray)

A class to hold the login token. This class offers additional functionality to clear the data from memory, to avoid any potential memory attacks.