forked from teamnwah/openmw-tes3coop
added a few comments
This commit is contained in:
parent
c165894869
commit
b5f99522c7
2 changed files with 8 additions and 0 deletions
|
@ -63,8 +63,12 @@ namespace MWBase
|
||||||
/// \note \a slot must belong to \a character.
|
/// \note \a slot must belong to \a character.
|
||||||
|
|
||||||
virtual MWState::Character *getCurrentCharacter() = 0;
|
virtual MWState::Character *getCurrentCharacter() = 0;
|
||||||
|
///< \attention Do not call this function to check if there is a current character. Use
|
||||||
|
/// characterBegin()!=characterEnd() instead.
|
||||||
|
|
||||||
virtual CharacterIterator characterBegin() = 0;
|
virtual CharacterIterator characterBegin() = 0;
|
||||||
|
///< Any call to SaveGame and getCurrentCharacter can invalidate the returned
|
||||||
|
/// iterator.
|
||||||
|
|
||||||
virtual CharacterIterator characterEnd() = 0;
|
virtual CharacterIterator characterEnd() = 0;
|
||||||
};
|
};
|
||||||
|
|
|
@ -43,8 +43,12 @@ namespace MWState
|
||||||
/// \note \a slot must belong to \a character.
|
/// \note \a slot must belong to \a character.
|
||||||
|
|
||||||
virtual Character *getCurrentCharacter();
|
virtual Character *getCurrentCharacter();
|
||||||
|
///< \attention Do not call this function to check if there is a current character. Use
|
||||||
|
/// characterBegin()!=characterEnd() instead.
|
||||||
|
|
||||||
virtual CharacterIterator characterBegin();
|
virtual CharacterIterator characterBegin();
|
||||||
|
///< Any call to SaveGame and getCurrentCharacter can invalidate the returned
|
||||||
|
/// iterator.
|
||||||
|
|
||||||
virtual CharacterIterator characterEnd();
|
virtual CharacterIterator characterEnd();
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue