Class: LibSL::SimulatorPresentAtLocationPacket
- Defined in:
- lib/_packets.rb
Instance Attribute Summary
Attributes inherited from Packet
#acks, #acks_flag, #reliable_flag, #resent_count, #resent_flag, #sequence_number, #zero_coded_flag
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Packet
decode, #decode_msg, #encode, #encode_msg, #initialize, #method_missing, zero_decode
Constructor Details
This class inherits a constructor from LibSL::Packet
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class LibSL::Packet
Class Method Details
.packet_id ⇒ Object
264 265 266 |
# File 'lib/_packets.rb', line 264 def self.packet_id() 4294901771 end |
Instance Method Details
#build_structure ⇒ Object
268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 |
# File 'lib/_packets.rb', line 268 def build_structure() @blocks = [ [:SimulatorPublicHostBlock, Block.new([ [:Port, :LLIPPort], [:SimulatorIP, :LLIPAddress], [:GridX, :LLU32], [:GridY, :LLU32] ])], [:NeighborBlock, FixedBlockCollection.new(4, [ [:IP, :LLIPAddress], [:Port, :LLIPPort] ])], [:SimulatorBlock, Block.new([ [:SimName, :LLVariable1], [:SimAccess, :LLU8], [:RegionFlags, :LLU32], [:RegionID, :LLUUID], [:EstateID, :LLU32], [:ParentEstateID, :LLU32] ])], [:TelehubBlock, VariableBlockCollection.new([ [:HasTelehub, :LLBool], [:TelehubPos, :LLVector3] ])] ] end |