public IWorkshopTree Parse(ActionSet actionSet, IWorkshopTree[] parameters)
        {
            IWorkshopTree[] parsed = new IWorkshopTree[Segments.Length];
            for (int i = 0; i < parsed.Length; i++)
            {
                parsed[i] = Segments[i].Parse(actionSet, parameters);
            }

            return(V_CustomString.Join(parsed));
        }
Esempio n. 2
0
        public IWorkshopTree Parse(ActionSet actionSet, bool asElement = true)
        {
            if (!Localized)
            {
                IWorkshopTree[] parsed = new IWorkshopTree[Sectioned.Length];
                for (int i = 0; i < parsed.Length; i++)
                {
                    parsed[i] = Sectioned[i].Parse(actionSet);
                }

                return(V_CustomString.Join(parsed));
            }
            else
            {
                return(LocalizedString.Parse(actionSet));
            }
        }