public static void AddCastState(EPlayerCastState state, GamePlayComponent player) { player.CastState |= 1 << (int)state; }
public static void RemoveCastState(EPlayerCastState state, GamePlayComponent player) { player.CastState &= ~(1 << (int)state); }
public static bool HasCastState(EPlayerCastState state, GamePlayComponent player) { return((player.CastState & (1 << (int)state)) > 0); }