local fn = _gn(0xAFBD61CC738D9EB9)
--- **NOTE**: What you use for rotationOrder when getting must be the same as rotationOrder when setting the rotation.
-- ```cpp
-- enum eRotationOrder {
-- // Rotate around the z-axis, then the y-axis and finally the x-axis.
-- ROT_ZYX = 0,
-- // Rotate around the y-axis, then the z-axis and finally the x-axis.
-- ROT_YZX = 1,
-- // Rotate around the z-axis, then the x-axis and finally the y-axis.
-- ROT_ZXY = 2,
-- // Rotate around the x-axis, then the z-axis and finally the y-axis.
-- ROT_XZY = 3,
-- // Rotate around the y-axis, then the x-axis and finally the z-axis.
-- ROT_YXZ = 4,
-- // Rotate around the x-axis, then the y-axis and finally the z-axis.
-- ROT_XYZ = 5,
-- }
-- ```
-- @param entity The entity to get the rotation for.
-- @param rotationOrder The order yaw, pitch and roll is applied. Usually 2.
-- @return A vector where the Z coordinate is the yaw.
function Global.GetEntityRotation(entity, rotationOrder)
	return fn(entity, rotationOrder, _rv)
end
