Class: LibSL::RequestParcelTransferPacket

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



5294
5295
5296
# File 'lib/_packets.rb', line 5294

def self.packet_id()
	4294901980
end

Instance Method Details

#build_structureObject



5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
# File 'lib/_packets.rb', line 5298

def build_structure()
	@blocks = [
		[:Data, Block.new([
			[:TransactionID, :LLUUID],
			[:TransactionTime, :LLU32],
			[:SourceID, :LLUUID],
			[:DestID, :LLUUID],
			[:OwnerID, :LLUUID],
			[:Flags, :LLU8],
			[:TransactionType, :LLS32],
			[:Amount, :LLS32],
			[:BillableArea, :LLS32],
			[:ActualArea, :LLS32],
			[:Final, :LLBool]
		])],
		[:RegionData, Block.new([
			[:RegionID, :LLUUID],
			[:GridX, :LLU32],
			[:GridY, :LLU32]
		])]
	]
end