Example #1
0
        //
        //	copied the source file by https://github.com/stackprobe/Factory/blob/master/SubTools/CopyLib.c
        //
        public static void Play(DDSE se)
        {
            int count = 0;

            foreach (PlayInfo info in PlayInfos)
            {
                if (info.SE == se && 2 <= ++count)
                {
                    return;
                }
            }

            PlayInfos.Enqueue(new PlayInfo(se));
            PlayInfos.Enqueue(null);
        }
Example #2
0
 //
 //	copied the source file by https://github.com/stackprobe/Factory/blob/master/SubTools/CopyLib.c
 //
 public static void Add(DDSE se)
 {
     SEList.Add(se);
 }
Example #3
0
 public PlayInfo(DDSE se, AlterCommand_e alterCommand = AlterCommand_e.NORMAL)
 {
     this.SE           = se;
     this.AlterCommand = alterCommand;
 }
Example #4
0
 //
 //	copied the source file by https://github.com/stackprobe/Factory/blob/master/SubTools/CopyLib.c
 //
 public static void PlayLoop(DDSE se)
 {
     PlayInfos.Enqueue(new PlayInfo(se, PlayInfo.AlterCommand_e.LOOP));
     PlayInfos.Enqueue(null);
 }