Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Decal.Filters.FileService fs = CoreManager.Current.FileService as Decal.Filters.FileService;
- Decal.Interop.Filters.SkillInfo skillinfo = null;
- for (int i = 0; i < fs.SkillTable.Length; ++i)
- {
- try
- {
- skillinfo = Core.CharacterFilter.Underlying.get_Skill((Decal.Interop.Filters.eSkillID)fs.SkillTable[i].Id);
- //Do stuff with skill
- }
- finally
- {
- if (skillinfo != null)
- {
- System.Runtime.InteropServices.Marshal.ReleaseComObject(skillinfo);
- skillinfo = null;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement