public void deleteVersion(uint id, String name, uint language) { ResVersion resVer = (ResVersion)getDataItem(versions, id, name); if (resVer != null) { resVer.deleteItem(language); } }
//----------------------------------------------------------------------------- public void addVersion(uint id, String name, uint language, byte[] data) { ResVersion resVer = (ResVersion)getDataItem(versions, id, name); if (resVer == null) { resVer = new ResVersion(id, name); versions.Add(resVer); } resVer.addItem(language, data); }