Example #1
0
 internal MutableStringTableEntry?SetEntryData(MutableStringTable table, MutableStringTableEntry entry)
 {
     if (!TableReadable[table.Name])
     {
         return(null);
     }
     entry.EntryData = StringTableEntryDataFactory.CreateEntryData(_demoRef, null, table.Name, entry.EntryName);
     return(entry);
 }
Example #2
0
        private MutableStringTableEntry?AddTableEntry(MutableStringTable table, StringTableEntryData?eData, string entryName)
        {
            if (!TableReadable[table.Name])
            {
                return(null);
            }
            var entry = new MutableStringTableEntry(_demoRef, table, eData, entryName);

            table.AddNewEntry(entry);
            return(entry);
        }
Example #3
0
 public void AddNewEntry(MutableStringTableEntry entry)
 {
     EntryToIndex[entry.EntryName] = Entries.Count;
     Entries.Add(entry);
 }