private Events?Handle(CSVCMsg_CreateStringTable message) { var table = StringTable.Create(message); state.StringsIndex[message.name] = state.Strings.Count; state.Strings.Add(table); stringTableUpdater.Update(table, message.num_entries, message.string_data); return(null); }
private Event?Process(CSVCMsg_CreateStringTable message) { var table = StringTable.Create(message); client.StringsIndex[message.name] = client.Strings.Count; client.Strings.Add(table); stringTableUpdater.Update(table, message.num_entries, message.string_data); log.Debug(String.Format( "CSVCMsg_CreateStringTable: name {0} with {1} bytes of data", message.name, message.string_data.Length)); return(null); }