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 DatabaseConfig(host: String, port: Int, username: String, password: String, database: String, sslmode: String) extends Product with Serializable
  5. case class DevelopmentConfig(unprivilegedGmCommands: Seq[ChatMessageType], netSim: NetSimConfig) extends Product with Serializable
  6. 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).

  7. case class GameConfig(instantActionAms: Boolean, amenityAutorepairRate: Float, amenityAutorepairDrainRate: Float, bepRate: Double, cepRate: Double, newAvatar: NewAvatar, hart: HartConfig) extends Product with Serializable
  8. case class HartConfig(inFlightDuration: Long, boardingDuration: Long) extends Product with Serializable
  9. case class KamonConfig(enable: Boolean) extends Product with Serializable
  10. case class LoginConfig(port: Int, createMissingAccounts: Boolean) extends Product with Serializable
  11. 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 appear to be two implementations: In older versions of CryptoPP (2007) and 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

  12. case class MiddlewareConfig(packetBundlingDelay: FiniteDuration, inReorderTimeout: FiniteDuration, inSubslotMissingDelay: FiniteDuration, inSubslotMissingAttempts: Int) extends Product with Serializable
  13. case class NetSimConfig(enable: Boolean, loss: Double, delay: Duration, reorderChance: Double, reorderTime: Duration) extends Product with Serializable
  14. case class NetworkConfig(session: SessionConfig, middleware: MiddlewareConfig) extends Product with Serializable
  15. case class NewAvatar(br: BattleRank, cr: CommandRank) extends Product with Serializable
  16. 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.)

  17. case class SentryConfig(enable: Boolean, dsn: String) extends Product with Serializable
  18. case class SessionConfig(inboundGraceTime: FiniteDuration, outboundGraceTime: FiniteDuration) extends Product with Serializable
  19. 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 PointOfInterest

Ungrouped