예제 #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);
 }