Class: LibSL::ObjectUpdatePacket

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



3464
3465
3466
# File 'lib/_packets.rb', line 3464

def self.packet_id()
	12
end

Instance Method Details

#build_structureObject



3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
# File 'lib/_packets.rb', line 3468

def build_structure()
	@blocks = [
		[:RegionData, Block.new([
			[:RegionHandle, :LLU64],
			[:TimeDilation, :LLU16]
		])],
		[:ObjectData, VariableBlockCollection.new([
			[:ID, :LLU32],
			[:State, :LLU8],
			[:FullID, :LLUUID],
			[:CRC, :LLU32],
			[:PCode, :LLU8],
			[:Material, :LLU8],
			[:ClickAction, :LLU8],
			[:Scale, :LLVector3],
			[:ObjectData, :LLVariable1],
			[:ParentID, :LLU32],
			[:UpdateFlags, :LLU32],
			[:PathCurve, :LLU8],
			[:ProfileCurve, :LLU8],
			[:PathBegin, :LLU16],
			[:PathEnd, :LLU16],
			[:PathScaleX, :LLU8],
			[:PathScaleY, :LLU8],
			[:PathShearX, :LLU8],
			[:PathShearY, :LLU8],
			[:PathTwist, :LLS8],
			[:PathTwistBegin, :LLS8],
			[:PathRadiusOffset, :LLS8],
			[:PathTaperX, :LLS8],
			[:PathTaperY, :LLS8],
			[:PathRevolutions, :LLU8],
			[:PathSkew, :LLS8],
			[:ProfileBegin, :LLU16],
			[:ProfileEnd, :LLU16],
			[:ProfileHollow, :LLU16],
			[:TextureEntry, :LLVariable2],
			[:TextureAnim, :LLVariable1],
			[:NameValue, :LLVariable2],
			[:Data, :LLVariable2],
			[:Text, :LLVariable1],
			[:TextColor, :LLFixed],
			[:MediaURL, :LLVariable1],
			[:PSBlock, :LLVariable1],
			[:ExtraParams, :LLVariable1],
			[:Sound, :LLUUID],
			[:OwnerID, :LLUUID],
			[:Gain, :LLF32],
			[:Flags, :LLU8],
			[:Radius, :LLF32],
			[:JointType, :LLU8],
			[:JointPivot, :LLVector3],
			[:JointAxisOrAnchor, :LLVector3]
		])]
	]
end