Пример #1
0
 public void deleteDialog(uint id, String name, uint language)
 {
     ResDialog dlg = (ResDialog)getDataItem(dialogs, id, name);
     if (dlg != null)
     {
         dlg.deleteItem(language);
     }
 }
Пример #2
0
//-----------------------------------------------------------------------------

        public void addDialog(uint id, String name, uint language, byte[] data)
        {
            ResDialog dlg = (ResDialog)getDataItem(dialogs, id, name);
            if (dlg == null)
            {
                dlg = new ResDialog(id, name);
                dialogs.Add(dlg);
            }
            dlg.addItem(language, data);            
        }