Пример #1
0
 private static int GetEntryBarkPriority(DialogueEntry entry)
 {
     return((entry == null) ? 0 : Field.LookupInt(entry.fields, DialogueSystemFields.Priority));
 }
Пример #2
0
 /// <summary>
 /// Looks up the value of a field.
 /// </summary>
 /// <returns>
 /// The int value of the field with the specified title, or <c>0</c> if no field matches.
 /// </returns>
 /// <param name='title'>
 /// The title of the field to look up.
 /// </param>
 public int LookupInt(string title)
 {
     return(Field.LookupInt(fields, title));
 }