AbilityActionCreateGadget Protobuf Message Definition
This code snippet defines a protobuf message called 'AbilityActionCreateGadget' within the 'AbilityActionCreateGadget.proto' file. It likely represents a gadget creation action in a game. The message has a single field named 'rot' of type 'Vector', which defines the gadget's rotation. The 'Vector' type is likely defined in a separate 'Vector.proto' file, representing the x, y, and z coordinates of the rotation. The 'hasRot()' method checks if the 'rot' field is set, and the 'getRot()' method retrieves the value of the 'rot' field. The purpose and context of this message can be inferred from its name and the 'Vector' field. It is likely used to communicate the rotation of a newly created gadget during gameplay.
原文地址: https://www.cveoy.top/t/topic/pyjQ 著作权归作者所有。请勿转载和采集!