public void deleteUserData(uint id, String name, uint language) { ResUserData udata = (ResUserData)getDataItem(userData, id, name); if (udata != null) { udata.deleteItem(language); } }
//----------------------------------------------------------------------------- public void addUserData(uint id, String name, uint language, byte[] data) { ResUserData udata = (ResUserData)getDataItem(userData, id, name); if (udata == null) { udata = new ResUserData(id, name); userData.Add(udata); } udata.addItem(language, data); }