Description
Returns array with all Diary subjects available to the given person. See Diary for the explanation on the available subjects and their structure.
Syntax
allDiarySubjects person
Parameters:
person: Object - unit
Returns: Array with [name, displayName, picture, countRecords, isReadOnly, isSelected]
- name: String - internal subject reference
- displayName: String - visible name
- picture: String - subject icon
- countRecords: Number - number of records in this subject
- isReadOnly: Boolean - whether or not the records could be added
- isSelected: Boolean - true if subject is currently selected
Examples
Example 1
allDiarySubjects player;
See also
createDiarySubject · removeDiarySubject · diarySubjectExists · selectDiarySubject · setDiarySubjectPicture · allDiaryRecords · Diary