private static TalkRef CreateTalkRef(ref FileStruct.TSTalkRef tsTalkRef, ref string strText) { TalkRef tref = new TalkRef(); tref.tag = tsTalkRef.tag; tref.soundResource = Utils.CharsToString(tsTalkRef.soundResource).ToUpper(); tref.volume = tsTalkRef.volume; tref.pitch = tsTalkRef.pitch; tref.strText = strText; return(tref); }
private bool Contains(TalkRef value) { return(InnerList.Contains(value)); }
private void Remove(TalkRef value) { InnerList.Remove(value); }
private void Insert(int index, TalkRef value) { InnerList.Insert(index, value); }
private int IndexOf(TalkRef value) { return(InnerList.IndexOf(value)); }
public int Add(TalkRef value) { return(InnerList.Add(value)); }
public void AddTalkRef(ref FileStruct.TSTalkRef tsTalkRef, ref string strText) { TalkRef tref = CreateTalkRef(ref tsTalkRef, ref strText); this.trefCollection.Add(tref); }