Example #1
0
 public bool GetEntry(string stringID, STL.STLEntry entry)
 {
     for (int i = 0; i < this.entryCount; i++)
     {
     }
     return(false);
 }
Example #2
0
 public void AddEntry(int ID, string string_ID, string text, string comment, string quest1, string quest2)
 {
     STL.STLEntry sTLEntry = default(STL.STLEntry);
     sTLEntry.ID        = (uint)ID;
     sTLEntry.string_ID = string_ID;
     sTLEntry.text      = new string[this.languageCount];
     sTLEntry.comment   = new string[this.languageCount];
     sTLEntry.quest1    = new string[this.languageCount];
     sTLEntry.quest2    = new string[this.languageCount];
     sTLEntry.Offset    = new uint[this.languageCount];
     for (int i = 0; i < this.languageCount; i++)
     {
         sTLEntry.text[i]    = text;
         sTLEntry.comment[i] = comment;
         sTLEntry.quest1[i]  = quest1;
         sTLEntry.quest2[i]  = quest2;
     }
     this.entryCount++;
     STL.STLEntry[] array = this.entry;
     this.entry = new STL.STLEntry[this.entryCount];
     for (int i = 0; i < this.entryCount - 1; i++)
     {
         this.entry[i] = array[i];
     }
     this.entry[this.entryCount - 1] = sTLEntry;
 }