Class: LibSL::RegionHandshakePacket

Inherits:
Packet
  • Object
show all
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_idObject



3321
3322
3323
# File 'lib/_packets.rb', line 3321

def self.packet_id()
	4294901908
end

Instance Method Details

#build_structureObject



3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
# File 'lib/_packets.rb', line 3325

def build_structure()
	@blocks = [
		[:RegionInfo, Block.new([
			[:RegionFlags, :LLU32],
			[:SimAccess, :LLU8],
			[:SimName, :LLVariable1],
			[:SimOwner, :LLUUID],
			[:IsEstateManager, :LLBool],
			[:WaterHeight, :LLF32],
			[:BillableFactor, :LLF32],
			[:CacheID, :LLUUID],
			[:TerrainBase0, :LLUUID],
			[:TerrainBase1, :LLUUID],
			[:TerrainBase2, :LLUUID],
			[:TerrainBase3, :LLUUID],
			[:TerrainDetail0, :LLUUID],
			[:TerrainDetail1, :LLUUID],
			[:TerrainDetail2, :LLUUID],
			[:TerrainDetail3, :LLUUID],
			[:TerrainStartHeight00, :LLF32],
			[:TerrainStartHeight01, :LLF32],
			[:TerrainStartHeight10, :LLF32],
			[:TerrainStartHeight11, :LLF32],
			[:TerrainHeightRange00, :LLF32],
			[:TerrainHeightRange01, :LLF32],
			[:TerrainHeightRange10, :LLF32],
			[:TerrainHeightRange11, :LLF32]
		])],
		[:RegionInfo2, Block.new([
			[:RegionID, :LLUUID]
		])],
		[:RegionInfo3, Block.new([
			[:CPUClassID, :LLS32],
			[:CPURatio, :LLS32],
			[:ColoName, :LLVariable1],
			[:ProductSKU, :LLVariable1],
			[:ProductName, :LLVariable1]
		])]
	]
end