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