Class: LibSL::ObjectShapePacket
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_id ⇒ Object
2266 2267 2268 |
# File 'lib/_packets.rb', line 2266 def self.packet_id() 4294901858 end |
Instance Method Details
#build_structure ⇒ Object
2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 |
# File 'lib/_packets.rb', line 2270 def build_structure() @blocks = [ [:AgentData, Block.new([ [:AgentID, :LLUUID], [:SessionID, :LLUUID] ])], [:ObjectData, VariableBlockCollection.new([ [:ObjectLocalID, :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] ])] ] end |