class
Rosegold::Spectate::Connection
- Rosegold::Spectate::Connection
- Reference
- Object
Included Modules
- Rosegold::Spectate::Configuration
- Rosegold::Spectate::Handshake
- Rosegold::Spectate::Lobby
- Rosegold::Spectate::Monitoring
- Rosegold::Spectate::PacketRelay
- Rosegold::Spectate::PlaySession
- Rosegold::Spectate::WorldSync
Defined in:
rosegold/spectate/connection.crConstant Summary
-
Log =
::Log.for(self) -
PROTOCOL_VERSION_NAMES =
{772_u32 => "1.21.8", 774_u32 => "1.21.11"}
Constructors
Class Method Summary
Instance Method Summary
- #client : Rosegold::Client | Nil
- #client=(client : Rosegold::Client | Nil)
- #client_ready?
- #close
- #connected=(connected : Bool)
- #connected? : Bool
- #handle_client
- #keep_alive_id : Int64
- #keep_alive_id=(keep_alive_id : Int64)
- #last_dig_progress : Float32
- #last_dig_progress=(last_dig_progress : Float32)
- #last_digging_block : Vec3i | Nil
- #last_digging_block=(last_digging_block : Vec3i | Nil)
- #loaded_chunks : Set(Tuple(Int32, Int32))
- #loaded_chunks=(loaded_chunks : Set(Tuple(Int32, Int32)))
- #protocol_state : ProtocolState
- #protocol_state=(protocol_state : ProtocolState)
- #protocol_version : UInt32
- #send_packet(packet : Rosegold::Clientbound::Packet)
- #socket : Minecraft::IO::Wrap
- #socket=(socket : Minecraft::IO::Wrap)
- #spectate_server : Server
- #spectate_server=(spectate_server : Server)
- #spectate_state : State
- #spectate_state=(spectate_state : State)
- #teleport_id : UInt32
- #teleport_id=(teleport_id : UInt32)
- #username : String
- #username=(username : String)
- #uuid : UUID
- #uuid=(uuid : UUID)