예제 #1
0
        public override void WatchTableDicChangValue()
        {
            ScoreStruct score = entity.watchTableDicStruct[0];

            score.score = 88;
            entity.watchTableDicStruct[0] = score;
        }
예제 #2
0
        public override void WatchTableListChangValue()
        {
            ScoreStruct score = entity.watchTableListStruct[0];

            score.score = 10;
            entity.watchTableListStruct[0] = score;
        }
예제 #3
0
        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);
        }
예제 #4
0
        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);
        }
예제 #5
0
        public override void WatchTableListRemove()
        {
            ScoreStruct score = new ScoreStruct(100);

            entity.watchTableListStruct.Remove(score);
        }
예제 #6
0
        public override void WatchTableListInsert()
        {
            ScoreStruct score = new ScoreStruct(99);

            entity.watchTableListStruct.Insert(0, score);
        }