Class: LibSL::MapBlockReplyPacket
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
9473 9474 9475 |
# File 'lib/_packets.rb', line 9473 def self.packet_id() 4294902169 end |
Instance Method Details
#build_structure ⇒ Object
9477 9478 9479 9480 9481 9482 9483 9484 9485 9486 9487 9488 9489 9490 9491 9492 9493 9494 |
# File 'lib/_packets.rb', line 9477 def build_structure() @blocks = [ [:AgentData, Block.new([ [:AgentID, :LLUUID], [:Flags, :LLU32] ])], [:Data, VariableBlockCollection.new([ [:X, :LLU16], [:Y, :LLU16], [:Name, :LLVariable1], [:Access, :LLU8], [:RegionFlags, :LLU32], [:WaterHeight, :LLU8], [:Agents, :LLU8], [:MapImageID, :LLUUID] ])] ] end |