Class: LibSL::LogFailedMoneyTransactionPacket

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



432
433
434
# File 'lib/_packets.rb', line 432

def self.packet_id()
	4294901780
end

Instance Method Details

#build_structureObject



436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
# File 'lib/_packets.rb', line 436

def build_structure()
	@blocks = [
		[:TransactionData, Block.new([
			[:TransactionID, :LLUUID],
			[:TransactionTime, :LLU32],
			[:TransactionType, :LLS32],
			[:SourceID, :LLUUID],
			[:DestID, :LLUUID],
			[:Flags, :LLU8],
			[:Amount, :LLS32],
			[:SimulatorIP, :LLIPAddress],
			[:GridX, :LLU32],
			[:GridY, :LLU32],
			[:FailureType, :LLU8]
		])]
	]
end