Beispiel #1
0
            public static PlayerTask FindTask(Console __instance, PlayerControl pc)
            {
                for (int i = 0; i < pc.myTasks.Count; i++)
                {
                    PlayerTask playerTask = pc.myTasks[i];
                    if (!playerTask.IsComplete && playerTask.ValidConsole(__instance))
                    {
                        return(playerTask);
                    }
                }

                return(null);
            }