Exemplo n.º 1
0
        private void UpdateStringTable(byte[] packetBuffer)
        {
            UpdateStringTable updateStringTable = new UpdateStringTable(packetBuffer);

            m_Demo.StringTables.UpdateStringTable(updateStringTable);
        }
        public void UpdateStringTable(UpdateStringTable updateStringTable)
        {
            BitStream bitStream = new BitStream(updateStringTable.StringData);

            StringTable stringTable = m_Values.Values.ElementAt(updateStringTable.TableID);

            Update(bitStream, stringTable.Name, stringTable.Flags, updateStringTable.NumberOfEntriesChanged, stringTable.MaxEntries, 0, 0, false);
        }