Class: LibSL::RegionInfoPacket
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
3200 3201 3202 |
# File 'lib/_packets.rb', line 3200 def self.packet_id() 4294901902 end |
Instance Method Details
#build_structure ⇒ Object
3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 |
# File 'lib/_packets.rb', line 3204 def build_structure() @blocks = [ [:AgentData, Block.new([ [:AgentID, :LLUUID], [:SessionID, :LLUUID] ])], [:RegionInfo, Block.new([ [:SimName, :LLVariable1], [:EstateID, :LLU32], [:ParentEstateID, :LLU32], [:RegionFlags, :LLU32], [:SimAccess, :LLU8], [:MaxAgents, :LLU8], [:BillableFactor, :LLF32], [:ObjectBonusFactor, :LLF32], [:WaterHeight, :LLF32], [:TerrainRaiseLimit, :LLF32], [:TerrainLowerLimit, :LLF32], [:PricePerMeter, :LLS32], [:RedirectGridX, :LLS32], [:RedirectGridY, :LLS32], [:UseEstateSun, :LLBool], [:SunHour, :LLF32] ])], [:RegionInfo2, Block.new([ [:ProductSKU, :LLVariable1], [:ProductName, :LLVariable1], [:MaxAgents32, :LLU32], [:HardMaxAgents, :LLU32], [:HardMaxObjects, :LLU32] ])] ] end |