class
Rosegold::SpectateConnection
- Rosegold::SpectateConnection
- Reference
- Object
Overview
Represents a single spectator client connection
Defined in:
rosegold/spectate_server.crConstant Summary
-
Log =
::Log.for(self)
Constructors
Instance Method Summary
- #client : Rosegold::Client | Nil
- #client=(client : Rosegold::Client | Nil)
- #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)
- #last_swing_countdown : Int8
- #last_swing_countdown=(last_swing_countdown : Int8)
- #loaded_chunks : Set(Tuple(Int32, Int32))
- #loaded_chunks=(loaded_chunks : Set(Tuple(Int32, Int32)))
- #protocol_state : ProtocolState
- #protocol_state=(protocol_state : ProtocolState)
- #send_packet(packet : Rosegold::Clientbound::Packet)
- #socket : Minecraft::IO::Wrap
- #socket=(socket : Minecraft::IO::Wrap)
- #spectate_server : SpectateServer
- #spectate_server=(spectate_server : SpectateServer)
- #teleport_id : UInt32
- #teleport_id=(teleport_id : UInt32)
- #username : String
- #username=(username : String)
- #uuid : UUID
- #uuid=(uuid : UUID)