Exemple #1
0
 /// <summary>
 /// Constuctor to create an entry for a string.
 /// </summary>
 /// <param name="text">The text.</param>
 public TlkEntry(string text)
 {
     flags = ResRefFlags.TextPresent;
     volumeVariance = 0;
     pitchVariance = 0;
     soundLength = 0;
     soundResRef = string.Empty;
     this.text = text;
 }
Exemple #2
0
 /// <summary>
 /// Default constructor
 /// </summary>
 public TlkEntry()
 {
     flags = ResRefFlags.None;
     volumeVariance = 0;
     pitchVariance = 0;
     soundLength = 0;
     soundResRef = string.Empty;;
     this.text = string.Empty;
 }