Exemple #1
0
        public void deleteUserData(uint id, String name, uint language)
        {
            ResUserData udata = (ResUserData)getDataItem(userData, id, name);

            if (udata != null)
            {
                udata.deleteItem(language);
            }
        }
Exemple #2
0
//-----------------------------------------------------------------------------

        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);
        }