docs.unity3d.com
    Show / Hide Table of Contents

    Class Yaml

    Inheritance
    Object
    Yaml
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: PvpXray
    Syntax
    public class Yaml

    Constructors

    Yaml(String, String)

    Can only parse small subset of YAML; see PvpXray.MiniYamlParser.

    Declaration
    public Yaml(string yaml, string packageFilePath)
    Parameters
    Type Name Description
    String yaml
    String packageFilePath

    Properties

    Boolean

    Declaration
    public bool Boolean { get; }
    Property Value
    Type Description
    Boolean

    Elements

    Declaration
    public IEnumerable<Yaml> Elements { get; }
    Property Value
    Type Description
    IEnumerable<Yaml>

    ElementsIfPresent

    Declaration
    public IEnumerable<Yaml> ElementsIfPresent { get; }
    Property Value
    Type Description
    IEnumerable<Yaml>

    FloatingPoint

    Declaration
    public float FloatingPoint { get; }
    Property Value
    Type Description
    Single

    IfPresent

    Declaration
    public Yaml IfPresent { get; }
    Property Value
    Type Description
    Yaml

    Integer

    Declaration
    public int Integer { get; }
    Property Value
    Type Description
    Int32

    IsBoolean

    Declaration
    public bool IsBoolean { get; }
    Property Value
    Type Description
    Boolean

    IsFloatingPoint

    Declaration
    public bool IsFloatingPoint { get; }
    Property Value
    Type Description
    Boolean

    IsInteger

    Declaration
    public bool IsInteger { get; }
    Property Value
    Type Description
    Boolean

    IsMapping

    Declaration
    public bool IsMapping { get; }
    Property Value
    Type Description
    Boolean

    IsNull

    Declaration
    public bool IsNull { get; }
    Property Value
    Type Description
    Boolean

    IsPresent

    Declaration
    public bool IsPresent { get; }
    Property Value
    Type Description
    Boolean

    IsSequence

    Declaration
    public bool IsSequence { get; }
    Property Value
    Type Description
    Boolean

    IsString

    Declaration
    public bool IsString { get; }
    Property Value
    Type Description
    Boolean

    Item[String]

    Declaration
    public Yaml this[string key] { get; }
    Parameters
    Type Name Description
    String key
    Property Value
    Type Description
    Yaml

    Key

    Declaration
    public string Key { get; }
    Property Value
    Type Description
    String

    Members

    Declaration
    public IEnumerable<Yaml> Members { get; }
    Property Value
    Type Description
    IEnumerable<Yaml>

    MembersIfPresent

    Declaration
    public IEnumerable<Yaml> MembersIfPresent { get; }
    Property Value
    Type Description
    IEnumerable<Yaml>

    Path

    Declaration
    public string Path { get; }
    Property Value
    Type Description
    String

    String

    Declaration
    public string String { get; }
    Property Value
    Type Description
    String

    Methods

    Encode(String)

    Declaration
    public static string Encode(string str)
    Parameters
    Type Name Description
    String str
    Returns
    Type Description
    String
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023