#include <libchess/notation/PGN.hpp>
Records a game move alongside an optional comment, NAG annotations, and possible variations.
Definition at line 114 of file PGN.hpp.
◆ comment
| string chess::notation::GameRecord::Move::comment |
The comment string associated with this move. Empty if this move has no comment.
Definition at line 121 of file PGN.hpp.
◆ move
◆ nags
| std::vector<NAG> chess::notation::GameRecord::Move::nags |
If this move was annotated with one or more Numerical Annotation Glyph, this contains the numerical codes that followed each $ character in the original PGN.
For example, for a move annotated !, this would be 1, for a ? this would be 2, etc.
Definition at line 130 of file PGN.hpp.
◆ variations
| std::vector<Variation> chess::notation::GameRecord::Move::variations |
If this move has alternate possible continuations, they are stored here. The first move in each of these variations is the move that could've been played instead of move.
Definition at line 136 of file PGN.hpp.
The documentation for this struct was generated from the following file:
- libchess/include/libchess/notation/PGN.hpp