mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-16 08:42:23 +00:00
added a few comments
This commit is contained in:
parent
c165894869
commit
b5f99522c7
@ -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…
x
Reference in New Issue
Block a user