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); }
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); }
public void AddNewEntry(MutableStringTableEntry entry) { EntryToIndex[entry.EntryName] = Entries.Count; Entries.Add(entry); }