osl::effect_util::AdditionalOrShadow Struct Reference

- Main Page
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Static Public Member Functions | List of all members
osl::effect_util::AdditionalOrShadow Struct Reference

`#include <additionalOrShadow.h>`

## Static Public Member Functions
template<int count_max>
static int | count (const PieceVector &direct_pieces, const NumEffectState &state, Square target, Player attack)

## Detailed Description

Definition at line 14 of file additionalOrShadow.h.

## Member Function Documentation

template<int count_max>

static int osl::effect_util::AdditionalOrShadow::count | ( | const PieceVector & | direct_pieces,
|  | const NumEffectState & | state,
|  | Square | target,
|  | Player | attack
| ) |  |
| inlinestatic

Definition at line 17 of file additionalOrShadow.h.

References osl::BLACK, osl::Board_Table, osl::BoardTable::getLongDirection(), osl::Piece::isEmptyNum(), osl::isLong(), osl::longToShort(), osl::Piece::number(), result, and osl::Piece::square().

The documentation for this struct was generated from the following file:

- additionalOrShadow.h