예제 #1
0
    public override void SetData(TsDataReader.Row tsRow)
    {
        short num = 0;

        this.Init();
        tsRow.GetColumn(0, out this.Unique);
        tsRow.GetColumn(1, out this.Name);
        tsRow.GetColumn(2, out this.MapIdx);
        tsRow.GetColumn(3, out num);
        this.Flag = new EventTriggerFlag((long)num);
        string empty = string.Empty;

        tsRow.GetColumn(4, out empty);
        this.ATB = EventTriggerInfo.ParseATB(empty);
        tsRow.GetColumn(5, out this.QuestTextIndex);
        tsRow.GetColumn(6, out this.Comment);
    }
예제 #2
0
 public void Set(string name, int unique, int mapidx, long flag, string atb, string textidx, string comment)
 {
     this.Set(name, unique, this.MapIdx, flag, EventTriggerInfo.ParseATB(atb), textidx, comment);
 }