Class: LibSL::NeighborListPacket
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
124 125 126 |
# File 'lib/_packets.rb', line 124 def self.packet_id() 3 end |
Instance Method Details
#build_structure ⇒ Object
128 129 130 131 132 133 134 135 136 137 138 139 140 |
# File 'lib/_packets.rb', line 128 def build_structure() @blocks = [ [:NeighborBlock, FixedBlockCollection.new(4, [ [:IP, :LLIPAddress], [:Port, :LLIPPort], [:PublicIP, :LLIPAddress], [:PublicPort, :LLIPPort], [:RegionID, :LLUUID], [:Name, :LLVariable1], [:SimAccess, :LLU8] ])] ] end |