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