Create Shift Enum ProtoFlux Page |
m YoshBot moved page ProtoFlux:Shift Enum to ProtoFlux:ShiftEnum: Automated: removing spaces from ProtoFlux namespace |
||
(One intermediate revision by one other user not shown) | |||
Line 5: | Line 5: | ||
[ | [ | ||
{"Name": "Value", "Type": "Dummy"}, | {"Name": "Value", "Type": "Dummy"}, | ||
{"Name": "Delta", "Type": " | {"Name": "Delta", "Type": "int"} | ||
] | ] | ||
|Outputs= | |Outputs= |
Latest revision as of 00:35, 21 August 2025
Shift Enum < T >
Enums
See Enums for a more in depth explaination on what Enums are.
Shift Enum is a ProtoFlux node that when provided an Enum will give an enum with the provided Delta (Int) offset from said enum numerically according to the Enums page. "*" and "Value" will never be different enum types.
Inputs
Value (Enum Generic)
The Enum to start at.
Delta (Int)
The offset from Value (Enum Generic) to use for the returned * (Enum Generic).
Outputs
* (Enum Generic)
The Enum that is Delta (Int) offset from Value (Enum Generic) numerically. This node will wrap around forwards and backwards for the output.