예제 #1
0
 public void deleteVersion(uint id, String name, uint language)
 {
     ResVersion resVer = (ResVersion)getDataItem(versions, id, name);
     if (resVer != null)
     {
         resVer.deleteItem(language);
     }
 }
예제 #2
0
//-----------------------------------------------------------------------------

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