Giter Club home page Giter Club logo

unrealyaml's People

Contributors

cleroth avatar jwindgassen avatar oktomus avatar x-designer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

unrealyaml's Issues

Read into nested structs with arrays

Can I read from an YAML file that contains multiple nested structs with arrays?

I tried to load YAML from file and only the root Image is loaded, but the Clothes array is not. Is this a limitation of the plugin or I just did some error in my loader/processing?

Example below, can I read this into a Cloth struct that has an array of ClothDetails?

Image: Clothes.png
Clothes:
    - Cloth:
        Type: Hat
        Image: hat.png
    - Cloth:
        Type: Shoes
        Image: shoes.png
    - Cloth:
        Type: Pants
        Image: pants.png
    - Cloth:
        Type: Gloves
        Image: gloves.png

I had my structs as:

USTRUCT(BlueprintType)
struct MYPROJECT_API FClothDetailsStruct {
    GENERATED_BODY()

    UPROPERTY(BlueprintReadWrite)
    FString ClothType;

    UPROPERTY(BlueprintReadWrite)
    FString Image;

};


USTRUCT(BlueprintType)
struct MYPROJECT_API FClothStruct {
    GENERATED_BODY()

    UPROPERTY(BlueprintReadWrite)
    FString Image;

    UPROPERTY(BlueprintReadWrite)
    TArray<FClothDetailsStruct> Clothes;

};

Package win64 Error

blic\Node.h(182): error C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
UATHelper: Packaging (Windows (64-bit)): [19/21]

Missing const iterator

Currently if you want to have access to the keys while iterating, you can't use ranged-based for loops, but because there is no const iterator (like yaml-cpp), you end up having to copy the node. Example:

auto next = node["next"];
for(auto it = next.begin(); it != next.end(); ++it)
{
	auto key = it.Key().As<FString>();
        // ...
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.