Packages

package util

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. case class AdminConfig(port: Int, bind: String) extends Product with Serializable
  2. case class AntiCheatConfig(hitPositionDiscrepancyThreshold: Int) extends Product with Serializable
  3. case class AppConfig(bind: String, public: String, login: LoginConfig, world: WorldConfig, admin: AdminConfig, database: DatabaseConfig, game: GameConfig, antiCheat: AntiCheatConfig, network: NetworkConfig, development: DevelopmentConfig, kamon: KamonConfig, sentry: SentryConfig) extends Product with Serializable
  4. case class CavernRotationConfig(hoursBetweenRotation: Float, simultaneousUnlockedZones: Int, enhancedRotationOrder: Seq[Int], forceRotationImmediately: Boolean) extends Product with Serializable
  5. case class DatabaseConfig(host: String, port: Int, username: String, password: String, database: String, sslmode: String) extends Product with Serializable
  6. case class DevelopmentConfig(unprivilegedGmCommands: Seq[ChatMessageType], netSim: NetSimConfig) extends Product with Serializable
  7. case class DiffieHellman(p: Array[Byte], g: Array[Byte]) extends Product with Serializable

    Simple DH implementation We can not use Java's built-in DH because it requires much larger p values than the ones that are used for key exchange by the client (which are 128 bits).

  8. case class GameConfig(instantAction: InstantActionConfig, amenityAutorepairRate: Float, amenityAutorepairDrainRate: Float, bepRate: Double, cepRate: Double, newAvatar: NewAvatar, hart: HartConfig, sharedMaxCooldown: Boolean, sharedBfrCooldown: Boolean, baseCertifications: Seq[Certification], warpGates: WarpGateConfig, cavernRotation: CavernRotationConfig, savedMsg: SavedMessageEvents, playerDraw: PlayerStateDrawSettings, doorsCanBeOpenedByMedAppFromThisDistance: Float) extends Product with Serializable
  9. case class HartConfig(inFlightDuration: Long, boardingDuration: Long) extends Product with Serializable
  10. case class InstantActionConfig(spawnOnAms: Boolean, thirdParty: Boolean) extends Product with Serializable
  11. case class KamonConfig(enable: Boolean) extends Product with Serializable
  12. case class LoginConfig(port: Int, createMissingAccounts: Boolean) extends Product with Serializable
  13. class Md5Mac extends AnyRef

    MD5-MAC is a ancient MAC algorithm from the 90s that nobody uses anymore.

    MD5-MAC is a ancient MAC algorithm from the 90s that nobody uses anymore. Not to be confused with HMAC-MD5. A description of the algorithm can be found at http://cacr.uwaterloo.ca/hac/about/chap9.pdf, 9.69 Algorithm MD5-MAC. There are two implementations: one from older versions of CryptoPP (2007), and one from OpenCL (2001) (nowadays called Botan and not to be confused with the OpenCL standard from Khronos). Both libraries have since removed this code. This file is a Scala port of the OpenCL implementation. Source: https://github.com/sghiassy/Code-Reading-Book/blob/master/OpenCL/src/md5mac.cpp

  14. sealed case class Md5MacState(buffer: ArrayBuffer[Byte], digest: ArrayBuffer[Byte], m: ArrayBuffer[Byte], k1: ArrayBuffer[Byte], k2: ArrayBuffer[Byte], k3: ArrayBuffer[Byte]) extends Product with Serializable
  15. case class MiddlewareConfig(packetBundlingDelay: FiniteDuration, packetBundlingDelayMultiplier: Float, inReorderTimeout: FiniteDuration, inSubslotMissingDelay: FiniteDuration, inSubslotMissingAttempts: Int) extends Product with Serializable
  16. case class NetSimConfig(enable: Boolean, loss: Double, delay: Duration, reorderChance: Double, reorderTime: Duration) extends Product with Serializable
  17. case class NetworkConfig(session: SessionConfig, middleware: MiddlewareConfig) extends Product with Serializable
  18. case class NewAvatar(br: BattleRank, cr: CommandRank) extends Product with Serializable
  19. sealed case class PermanentMd5MacState(buffer: Seq[Byte], digest: Seq[Byte], m: Seq[Byte], k1: Seq[Byte], k2: Seq[Byte], k3: Seq[Byte]) extends Product with Serializable
  20. case class PlayerStateDrawSettings(populationThreshold: Int, populationStep: Int, rangeMin: Int, rangeMax: Int, rangeStep: Int, ranges: Seq[Int], delayMax: Long, delays: Seq[Long]) extends Product with Serializable
  21. class PointOfInterest extends AnyRef

    A crude representation of the information needed to describe a continent (hitherto, a "zone").

    A crude representation of the information needed to describe a continent (hitherto, a "zone"). The information is mainly catered to the simulation of the CSR commands /zone and /warp. (The exception is alias which is maintained for cosmetic purposes and clarification.)

  22. case class SavedMessageEvents(short: SavedMessageTimings, renewal: SavedMessageTimings, interruptedByAction: SavedMessageTimings) extends Product with Serializable
  23. case class SavedMessageTimings(fixed: Long, variable: Long) extends Product with Serializable
  24. case class SentryConfig(enable: Boolean, dsn: String) extends Product with Serializable
  25. case class SessionConfig(inboundGraceTime: FiniteDuration, outboundGraceTime: FiniteDuration) extends Product with Serializable
  26. case class WarpGateConfig(defaultToSanctuaryDestination: Boolean, broadcastBetweenConflictedFactions: Boolean) extends Product with Serializable
  27. case class WorldConfig(port: Int, serverName: String, serverType: ServerType) extends Product with Serializable

Value Members

  1. object Config
  2. object Database
  3. object DefinitionUtil
  4. object DiffieHellman extends Serializable
  5. object Md5Mac
  6. object PermanentMd5MacState extends Serializable
  7. object PointOfInterest

Ungrouped