送り金のような玉で取ると利きがはずれる駒が発生するマスを調査 [詳細]
#include <sendOffPosition.h>
構成 | |
struct | Table |
Public 型 | |
typedef uint8_t | SendOff8 |
Static Public メソッド | |
template<Player Attack> | |
static bool | onlyOneSupport (const NumEffectState &state, Position target) |
template<Player Attack> | |
static SendOff8 | find (const NumEffectState &state, Position king_position, Position8 &out) |
static SendOff8 | find (Player attack, const NumEffectState &state, Position king_position, Position8 &out) |
static SendOff8 | invalidData () |
static void | unpack (SendOff8, Position king, Position8 &out) |
Static Private メソッド | |
template<Player Attack> | |
static void | testPosition (const NumEffectState &state, Position candidate, int id, int &out) |
Static Private 変数 | |
static const Table | table |
送り金のような玉で取ると利きがはずれる駒が発生するマスを調査
sendOffPosition.h の 16 行で定義されています。
typedef uint8_t osl::effect_util::SendOffPosition::SendOff8 |
sendOffPosition.h の 18 行で定義されています。
osl::effect_util::SendOffPosition::SendOff8 osl::effect_util::SendOffPosition::find | ( | Player | attack, | |
const NumEffectState & | state, | |||
Position | king_position, | |||
Position8 & | out | |||
) | [static] |
sendOffPosition.cc の 99 行で定義されています。
参照先 osl::BLACK.
osl::effect_util::SendOffPosition::SendOff8 osl::effect_util::SendOffPosition::find | ( | const NumEffectState & | state, | |
Position | king_position, | |||
Position8 & | out | |||
) | [inline, static] |
static SendOff8 osl::effect_util::SendOffPosition::invalidData | ( | ) | [inline, static] |
sendOffPosition.h の 34 行で定義されています。
static bool osl::effect_util::SendOffPosition::onlyOneSupport | ( | const NumEffectState & | state, | |
Position | target | |||
) | [inline, static] |
sendOffPosition.h の 20 行で定義されています。
static void osl::effect_util::SendOffPosition::testPosition | ( | const NumEffectState & | state, | |
Position | candidate, | |||
int | id, | |||
int & | out | |||
) | [inline, static, private] |
sendOffPosition.h の 46 行で定義されています。
void osl::effect_util::SendOffPosition::unpack | ( | SendOff8 | flags8, | |
Position | king, | |||
Position8 & | out | |||
) | [static] |
sendOffPosition.cc の 86 行で定義されています。
参照先 osl::effect_util::SendOffPosition::Table::normal, table, と osl::misc::BitOp::takeOneBit().
const effect_util::SendOffPosition::Table osl::effect_util::SendOffPosition::table [static, private] |
sendOffPosition.h の 44 行で定義されています。