public byte GetState(DungeonWorldState state)
 {
     return(GetState((int)state));
 }
 public void SetState(DungeonWorldState state, int value, EffectType type)
 {
     SetState((int)state, (byte)value, true, type);
 }
 public void SetState(DungeonWorldState state, bool value, EffectType type)
 {
     SetState((int)state, (byte)(value ? 1 : 0), true, type);
 }
 public bool HasState(DungeonWorldState state)
 {
     return(HasState((int)state, 1));
 }
 public bool HasState(DungeonWorldState state, byte value)
 {
     return(HasState((int)state, value));
 }
 public bool HasState(DungeonWorldState state, bool value)
 {
     return(HasState((int)state, (byte)(value ? 1 : 0)));
 }