protected override void Destroy() { Itdb_ChapterData.itdb_chapterdata_free(Handle); }
public ChapterData(ChapterData other) : this(Itdb_ChapterData.itdb_chapterdata_duplicate(other.Handle), false) { }
protected override void DoAdd(int index, Chapter item) { this[index].SetBorrowed(false); // We're creating a new object here, so just deallocate the old one Itdb_ChapterData.itdb_chapterdata_add_chapter(handle, item.StartPosition, item.Title); }
public ChapterData() : this(Itdb_ChapterData.itdb_chapterdata_new(), false) { }
protected override void DoUnlink(int index) { Itdb_ChapterData.itdb_chapterdata_unlink_chapter(handle, this[index].Handle); }