docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class Yaml

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

    Constructors

    Yaml(string, string)

    Can only parse small subset of YAML; see 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
    bool

    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
    float

    IfPresent

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

    Integer

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

    IsBoolean

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

    IsFloatingPoint

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

    IsInteger

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

    IsMapping

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

    IsNull

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

    IsPresent

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

    IsSequence

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

    IsString

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

    this[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
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)