Enum KCCMoveFlags
Flags representing movement actions for KCC input replication. Used as a bitmask for jump, crouch, sprint, and other actions.
One-shot vs. continuous flags: Jump is a one-shot impulse that should fire once and be cleared. Crouch and Sprint are continuous (held) flags that persist while the key is held.
This used to add "observer prediction clears one-shot flags to prevent indefinite
re-prediction. When adding new one-shot flags, include them in OneShotMask." There is no
OneShotMask and there never was one in this project, and the clearing it described belonged
to the observer-prediction path — which does not run: state forwarding is off, so FishNet
never invokes a replicate body on a non-owner. A one-shot flag is cleared by its producer,
KCCPlayer.PopulateInput, on the tick after it is consumed.
public enum KCCMoveFlags
Fields
Crouch action flag (continuous, held while key is down).
Indicates this is actual movement data (default value).
Jump action flag (one-shot impulse, cleared on observer prediction).
Sprint action flag (continuous, held while key is down).