Example #1
0
 public void deleteDialog(uint id, String name, uint language)
 {
     ResDialog dlg = (ResDialog)getDataItem(dialogs, id, name);
     if (dlg != null)
     {
         dlg.deleteItem(language);
     }
 }
Example #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);            
        }