public override void WatchTableDicChangValue() { ScoreStruct score = entity.watchTableDicStruct[0]; score.score = 88; entity.watchTableDicStruct[0] = score; }
public override void WatchTableListChangValue() { ScoreStruct score = entity.watchTableListStruct[0]; score.score = 10; entity.watchTableListStruct[0] = score; }
public override void WatchTableDicAdd() { ScoreStruct score1 = new ScoreStruct(10); ScoreStruct score2 = new ScoreStruct(10); ScoreStruct score3 = new ScoreStruct(10); entity.watchTableDicStruct.Add(0, score1); entity.watchTableDicStruct.Add(1, score2); entity.watchTableDicStruct.Add(2, score3); }
public override void WatchTableListAdd() { ScoreStruct scrore1 = new ScoreStruct(100); ScoreStruct scrore2 = new ScoreStruct(100); ScoreStruct scrore3 = new ScoreStruct(100); entity.watchTableListStruct.Add(scrore1); entity.watchTableListStruct.Add(scrore2); entity.watchTableListStruct.Add(scrore3); }
public override void WatchTableListRemove() { ScoreStruct score = new ScoreStruct(100); entity.watchTableListStruct.Remove(score); }
public override void WatchTableListInsert() { ScoreStruct score = new ScoreStruct(99); entity.watchTableListStruct.Insert(0, score); }