List of all items
Structs
- board::Board
- board::BoardSize
- board::Coord
- board::Directions
- config::ConfigSet
- config::board::BoardConfig
- config::board::json::BoardConfigJson
- config::game::GameConfig
- config::game::LightsaberModifier
- config::game::LiveLoss
- config::game::TileModifier
- config::game::UnitProbability
- config::game::json::GameConfigJson
- config::game::json::UnitProbabilityJson
- config::unit::Special
- config::unit::UnitConfig
- config::unit::UnitDef
- config::unit::json::SpecialJson
- config::unit::json::StatsJson
- config::unit::json::UnitConfigJson
- config::unit::json::UnitJson
- lobby::game::fight::Fight
- lobby::game::fight::FightInfo
- lobby::game::fight::FightingUnit
- lobby::game::fight::UnitCounts
- lobby::state::LobbyState
- lobby::state::SharedLobbyState
- lobby::state::TxRx
- lobby::state::clients::Clients
- lobby::state::clients::PlayerId
- lobby::state::clients::Players
- lobby::state::clients::ReconnectToken
- lobby::state::clients::Spectator
- lobby::state::clients::Spectators
- lobby::state::matchups::Matchups
- lobby::state::players::PlacedUnit
- lobby::state::players::Player
- log::_impl::Log
- log::_impl::LogFmt
- log::_impl::LogFmtForce
- log::_impl::Prefix
- messages::attack::Attack
- messages::attack::PerMatch
- messages::attack::SingleAttack
- messages::character_chosen::CharacterChosen
- messages::connect_game::ConnectGame
- messages::connected::Connected
- messages::connected::ConnectedAsSpectator
- messages::end_fight::EndFight
- messages::error::ErrorInvalid
- messages::error::ErrorMessage
- messages::game_end::GameEnd
- messages::game_end::GlobalStat
- messages::game_end::PlayerStat
- messages::game_start::GameStart
- messages::game_state::GameState
- messages::game_state::Lightsabers
- messages::game_state::PlacedUnit
- messages::game_state::Player
- messages::hello_client::HelloClient
- messages::hello_client::Lobby
- messages::lightsaber_chosen::LightsaberChosen
- messages::lightsaber_options::LightsaberOptions
- messages::lobby_info::LobbyInfo
- messages::lobby_info::Player
- messages::movement::Movement
- messages::movement::PerMatch
- messages::movement::SingleMovement
- messages::pause_request::PauseRequest
- messages::placement_complete::PlacedUnit
- messages::placement_complete::PlacementComplete
- messages::player_character::PlayerCharacterOrNone
- messages::reconnect::Reconnect
- messages::text_broadcast::TextBroadcast
- messages::text_message::TextMessage
- messages::unit_chosen::UnitChosen
- messages::unit_options::UnitOptions
- server::state::LobbyId
- server::state::ServerState
- server::state::SyncedServerState
Enums
- board::BoardError
- board::Direction
- board::TileType
- config::ConfigError
- config::board::BoardConfigError
- config::game::GameConfigError
- config::game::PhaseType
- lobby::state::LobbyPhase
- lobby::state::PlayerJoinError
- lobby::state::SpectatorJoinError
- lobby::state::players::PlayerInMatchup
- log::_impl::LogLevel
- log::_impl::Newline
- messages::RxError
- messages::RxMessage
- messages::client_role::ClientRole
- messages::client_role::PlayerRole
- messages::connect_game::ConnectGameError
- messages::player_character::PlayerCharacter
- server::connection::Connection
- server::connection::ConnectionError
- server::connection::ProtocolError
- unit::LightsaberType
- unit::UnitType
Traits
Macros
- debug
- debug_force
- error
- fatal
- info
- log::debug
- log::debug_force
- log::error
- log::fatal
- log::info
- log::warning
- warning
Functions
- async_main
- board::caniseeu::is_line_of_sight_blocked
- board::caniseeu::is_line_of_sight_blocked_right_slightly_up
- board::caniseeu::is_line_of_sight_blocked_right_up
- board::routing::calculate_routing
- board::routing::calculate_routing_internal
- board::xy
- config::load_configs
- config::load_from
- config::unit::units_to_json
- config::unit::verify_units
- lobby::game::completion::completion
- lobby::game::fight::attack
- lobby::game::fight::fight
- lobby::game::fight::movement
- lobby::game::generate_matchups
- lobby::game::lightsaber_purchase
- lobby::game::maybe_pause
- lobby::game::next_phases
- lobby::game::phases_of_round
- lobby::game::placements
- lobby::game::round_has_completion_phase
- lobby::game::round_has_fight_phase
- lobby::game::round_has_lightsaber_shop_phase
- lobby::game::round_has_placement_phase
- lobby::game::round_has_unit_shop_phase
- lobby::game::run
- lobby::game::unit_purchase
- log::_impl::log_fmt
- log::_impl::log_impl
- log::_impl::logger
- log::pfx
- log::uuid_human_hash::uuid_human_hash
- main
- messages::deserialize
- messages::serialize
- server::connection::handle
- server::connection::pre_lobby
- server::connection::recv_msg
- server::connection::recv_text
- server::run
Type Aliases
Statics
Constants
- LOCK_WAIT_TIME_MS
- config::CONFIG_BOARD
- config::CONFIG_DEFAULT
- config::CONFIG_GAME
- config::CONFIG_PREFIX
- config::CONFIG_UNIT
- config::CONFIG_VAR
- log::uuid_human_hash::WORDS1
- log::uuid_human_hash::WORDS2
- messages::error::error_code::CHARACTER_TAKEN
- messages::error::error_code::GAME_ALREADY_STARTED
- messages::error::error_code::GAME_NOT_STARTED
- messages::error::error_code::INVALID_PLACEMENT_COORD_OUT_OF_BOUNDS
- messages::error::error_code::INVALID_PLACEMENT_TWO_UNITS_ON_ONE_FIELD
- messages::error::error_code::INVALID_PLACEMENT_UNITS
- messages::error::error_code::INVALID_PLACEMENT_UNIT_ON_ROCK
- messages::error::error_code::INVALID_PLACEMENT_UNIT_WRONG_BOARD_HALF
- messages::error::error_code::LOBBY_FULL
- messages::error::error_code::MESSAGE_AT_WRONG_TIME_LIGHTSABER_CHOSEN
- messages::error::error_code::MESSAGE_AT_WRONG_TIME_PLACEMENT_COMPLETE
- messages::error::error_code::MESSAGE_AT_WRONG_TIME_UNIT_CHOSEN
- messages::error::error_code::NAME_IN_USE
- messages::error::error_code::NAME_TOO_LONG
- messages::error::error_code::NO_LOBBY_WITH_ID
- messages::error::error_code::NO_PLAYER_WITH_ID
- messages::error::error_code::UNIT_CHOSEN_NOT_IN_OPTIONS
- messages::error::error_code::WRONG_RECONNECT_TOKEN