OpenRA.ModContent.ModSource.ModSource C# (CSharp) Method

ModSource() public method

public ModSource ( MiniYaml yaml ) : System.Collections.Generic
yaml MiniYaml
return System.Collections.Generic
            public ModSource(MiniYaml yaml)
            {
                Title = yaml.Value;
                var installNode = yaml.Nodes.FirstOrDefault(n => n.Key == "Install");
                if (installNode != null)
                    Install = installNode.Value.Nodes;

                FieldLoader.Load(this, yaml);
            }
ModContent.ModSource