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); }
private Events?Handle(CSVCMsg_UpdateStringTable message) { var table = state.Strings[message.table_id]; stringTableUpdater.Update(table, message.num_changed_entries, message.string_data); return(null); }
private Event?Process(CSVCMsg_UpdateStringTable message) { StringTable table = client.Strings[message.table_id]; stringTableUpdater.Update(table, message.num_changed_entries, message.string_data); log.Debug(String.Format( "CSVCMsg_UpdateStringTable: id {0} with {1} bytes of data", message.table_id, message.string_data.Length)); return(null); }