Class: LibSL::ParcelClaimPacket

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



5056
5057
5058
# File 'lib/_packets.rb', line 5056

def self.packet_id()
	4294901969
end

Instance Method Details

#build_structureObject



5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
# File 'lib/_packets.rb', line 5060

def build_structure()
	@blocks = [
		[:AgentData, Block.new([
			[:AgentID, :LLUUID],
			[:SessionID, :LLUUID]
		])],
		[:Data, Block.new([
			[:GroupID, :LLUUID],
			[:IsGroupOwned, :LLBool],
			[:Final, :LLBool]
		])],
		[:ParcelData, VariableBlockCollection.new([
			[:West, :LLF32],
			[:South, :LLF32],
			[:East, :LLF32],
			[:North, :LLF32]
		])]
	]
end