public static bool sys_wait_voice(VNNeoController game, string param) { // wait voice of actor over: param = actorID // return True if voice is over or actor not found VNActor.Actor actor = game.GetActor(param); if (actor is VNActor.Actor act) { return(!act.IsVoicePlay); } else { return(true); } }
public static bool sys_wait_anime(VNNeoController game, string param) { // wait anime of actor play once: param = actorID // return True if anime is over or actor not found VNActor.Actor actor = game.GetActor(param); if (actor is VNActor.Actor act) { return(act.IsAnimeOver); } else { return(true); } }