public static UniversalSplineFlag ToUniversal(this SplineFlag434 flags) { UniversalSplineFlag universal = UniversalSplineFlag.SplineFlagNone; if (flags.HasFlag(SplineFlag434.AnimTierSwim)) { universal |= UniversalSplineFlag.AnimTierSwim; } if (flags.HasFlag(SplineFlag434.AnimTierHover)) { universal |= UniversalSplineFlag.AnimTierHover; } if (flags.HasFlag(SplineFlag434.AnimTierSubmerged)) { universal |= UniversalSplineFlag.AnimTierSubmerged; } if (flags.HasFlag(SplineFlag434.Done)) { universal |= UniversalSplineFlag.Done; } if (flags.HasFlag(SplineFlag434.Falling)) { universal |= UniversalSplineFlag.Falling; } if (flags.HasFlag(SplineFlag434.NoSpline)) { universal |= UniversalSplineFlag.NoSpline; } if (flags.HasFlag(SplineFlag434.Flying)) { universal |= UniversalSplineFlag.Flying; } if (flags.HasFlag(SplineFlag434.OrientationFixed)) { universal |= UniversalSplineFlag.OrientationFixed; } if (flags.HasFlag(SplineFlag434.Catmullrom)) { universal |= UniversalSplineFlag.Catmullrom; } if (flags.HasFlag(SplineFlag434.Cyclic)) { universal |= UniversalSplineFlag.Cyclic; } if (flags.HasFlag(SplineFlag434.EnterCycle)) { universal |= UniversalSplineFlag.EnterCycle; } if (flags.HasFlag(SplineFlag434.Frozen)) { universal |= UniversalSplineFlag.Frozen; } if (flags.HasFlag(SplineFlag434.TransportEnter)) { universal |= UniversalSplineFlag.TransportEnter; } if (flags.HasFlag(SplineFlag434.TransportExit)) { universal |= UniversalSplineFlag.TransportExit; } if (flags.HasFlag(SplineFlag434.OrientationInversed)) { universal |= UniversalSplineFlag.OrientationInversed; } if (flags.HasFlag(SplineFlag434.Walkmode)) { universal |= UniversalSplineFlag.Walkmode; } if (flags.HasFlag(SplineFlag434.UncompressedPath)) { universal |= UniversalSplineFlag.UncompressedPath; } if (flags.HasFlag(SplineFlag434.Animation)) { universal |= UniversalSplineFlag.Animation; } if (flags.HasFlag(SplineFlag434.Parabolic)) { universal |= UniversalSplineFlag.Parabolic; } if (flags.HasFlag(SplineFlag434.FinalPoint)) { universal |= UniversalSplineFlag.FinalPoint; } if (flags.HasFlag(SplineFlag434.FinalTarget)) { universal |= UniversalSplineFlag.FinalTarget; } if (flags.HasFlag(SplineFlag434.FinalAngle)) { universal |= UniversalSplineFlag.FinalAngle; } return(universal); }
public static UniversalSplineFlag ToUniversal(this SplineFlag flags) { UniversalSplineFlag universal = UniversalSplineFlag.SplineFlagNone; if (flags.HasFlag(SplineFlag.AnimTierSwim)) { universal |= UniversalSplineFlag.AnimTierSwim; } if (flags.HasFlag(SplineFlag.AnimTierHover)) { universal |= UniversalSplineFlag.AnimTierHover; } if (flags.HasFlag(SplineFlag.AnimTierSubmerged)) { universal |= UniversalSplineFlag.AnimTierSubmerged; } if (flags.HasFlag(SplineFlag.Done)) { universal |= UniversalSplineFlag.Done; } if (flags.HasFlag(SplineFlag.Falling)) { universal |= UniversalSplineFlag.Falling; } if (flags.HasFlag(SplineFlag.NoSpline)) { universal |= UniversalSplineFlag.NoSpline; } if (flags.HasFlag(SplineFlag.Trajectory)) { universal |= UniversalSplineFlag.Trajectory; } if (flags.HasFlag(SplineFlag.WalkMode)) { universal |= UniversalSplineFlag.Walkmode; } if (flags.HasFlag(SplineFlag.Flying)) { universal |= UniversalSplineFlag.Flying; } if (flags.HasFlag(SplineFlag.Knockback)) { universal |= UniversalSplineFlag.Knockback; } if (flags.HasFlag(SplineFlag.FinalPoint)) { universal |= UniversalSplineFlag.FinalPoint; } if (flags.HasFlag(SplineFlag.FinalTarget)) { universal |= UniversalSplineFlag.FinalTarget; } if (flags.HasFlag(SplineFlag.FinalOrientation)) { universal |= UniversalSplineFlag.FinalAngle; } if (flags.HasFlag(SplineFlag.CatmullRom)) { universal |= UniversalSplineFlag.Catmullrom; } if (flags.HasFlag(SplineFlag.Cyclic)) { universal |= UniversalSplineFlag.Cyclic; } if (flags.HasFlag(SplineFlag.EnterCicle)) { universal |= UniversalSplineFlag.EnterCycle; } if (flags.HasFlag(SplineFlag.AnimationTier)) { universal |= UniversalSplineFlag.AnimationTier; } if (flags.HasFlag(SplineFlag.Frozen)) { universal |= UniversalSplineFlag.Frozen; } if (flags.HasFlag(SplineFlag.Transport)) { universal |= UniversalSplineFlag.TransportEnter; } if (flags.HasFlag(SplineFlag.TransportExit)) { universal |= UniversalSplineFlag.TransportExit; } if (flags.HasFlag(SplineFlag.OrientationInverted)) { universal |= UniversalSplineFlag.OrientationInversed; } if (flags.HasFlag(SplineFlag.UsePathSmoothing)) { universal |= UniversalSplineFlag.SmoothGroundPath; } if (flags.HasFlag(SplineFlag.Animation)) { universal |= UniversalSplineFlag.Animation; } if (flags.HasFlag(SplineFlag.UncompressedPath)) { universal |= UniversalSplineFlag.UncompressedPath; } return(universal); }
public static UniversalSplineFlag ToUniversal(this SplineFlag flags) { UniversalSplineFlag universal = UniversalSplineFlag.SplineFlagNone; if (flags.HasFlag(SplineFlag.AnimTierSwim)) { universal |= UniversalSplineFlag.AnimTierSwim; } if (flags.HasFlag(SplineFlag.AnimTierHover)) { universal |= UniversalSplineFlag.AnimTierHover; } if (flags.HasFlag(SplineFlag.AnimTierSubmerged)) { universal |= UniversalSplineFlag.AnimTierSubmerged; } if (flags.HasFlag(SplineFlag.FallingSlow)) { universal |= UniversalSplineFlag.FallingSlow; } if (flags.HasFlag(SplineFlag.Done)) { universal |= UniversalSplineFlag.Done; } if (flags.HasFlag(SplineFlag.Falling)) { universal |= UniversalSplineFlag.Falling; } if (flags.HasFlag(SplineFlag.NoSpline)) { universal |= UniversalSplineFlag.NoSpline; } if (flags.HasFlag(SplineFlag.Flying)) { universal |= UniversalSplineFlag.Flying; } if (flags.HasFlag(SplineFlag.OrientationFixed)) { universal |= UniversalSplineFlag.OrientationFixed; } if (flags.HasFlag(SplineFlag.Catmullrom)) { universal |= UniversalSplineFlag.Catmullrom; } if (flags.HasFlag(SplineFlag.Cyclic)) { universal |= UniversalSplineFlag.Cyclic; } if (flags.HasFlag(SplineFlag.EnterCycle)) { universal |= UniversalSplineFlag.EnterCycle; } if (flags.HasFlag(SplineFlag.Frozen)) { universal |= UniversalSplineFlag.Frozen; } if (flags.HasFlag(SplineFlag.TransportEnter)) { universal |= UniversalSplineFlag.TransportEnter; } if (flags.HasFlag(SplineFlag.TransportExit)) { universal |= UniversalSplineFlag.TransportExit; } if (flags.HasFlag(SplineFlag.SmoothGroundPath)) { universal |= UniversalSplineFlag.SmoothGroundPath; } if (flags.HasFlag(SplineFlag.CanSwim)) { universal |= UniversalSplineFlag.CanSwim; } if (flags.HasFlag(SplineFlag.UncompressedPath)) { universal |= UniversalSplineFlag.UncompressedPath; } if (flags.HasFlag(SplineFlag.Animation)) { universal |= UniversalSplineFlag.Animation; } if (flags.HasFlag(SplineFlag.Parabolic)) { universal |= UniversalSplineFlag.Parabolic; } if (flags.HasFlag(SplineFlag.FadeObject)) { universal |= UniversalSplineFlag.FadeObject; } if (flags.HasFlag(SplineFlag.Steering)) { universal |= UniversalSplineFlag.Steering; } return(universal); }