コード例 #1
0
ファイル: ChapterData.cs プロジェクト: eggpi/mc723
 protected override void Destroy()
 {
     Itdb_ChapterData.itdb_chapterdata_free(Handle);
 }
コード例 #2
0
ファイル: ChapterData.cs プロジェクト: eggpi/mc723
 public ChapterData(ChapterData other) : this(Itdb_ChapterData.itdb_chapterdata_duplicate(other.Handle), false)
 {
 }
コード例 #3
0
ファイル: ChapterData.cs プロジェクト: eggpi/mc723
 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);
 }
コード例 #4
0
ファイル: ChapterData.cs プロジェクト: eggpi/mc723
 public ChapterData() : this(Itdb_ChapterData.itdb_chapterdata_new(), false)
 {
 }
コード例 #5
0
ファイル: ChapterData.cs プロジェクト: eggpi/mc723
 protected override void DoUnlink(int index)
 {
     Itdb_ChapterData.itdb_chapterdata_unlink_chapter(handle, this[index].Handle);
 }