Skip to content

Multiple Classes  #1

Description

@Weaver1911

Hello there.
1st of all, i want to thank you about this tool. That's exactly what i wanted to create and i've failed -many times-.
This is not a simple HTTP server. It's gem.
But I'm trying to do something like this

publicMyClassCollectionC1(){MyClassCollectionresult=newMyClassCollection{_Class2_data.MyFloat=0.5f,_Class2_data.MyInt=1,_Class2_data.MyString="This is a test",_Class2_data._Class3_data.MyFloat1=0.5f,_Class2_data._Class3_data.MyInt1=1,_Class2_data._Class3_data.MyString1="This is a test 2"};returnresult;}publicclassMyClassCollection{publicMyClass2_Class2_data;}publicclassMyClass2{publicfloatMyFloat;publicintMyInt;publicstringMyString;publicMyClass3_Class3_data;}publicclassMyClass3{publicfloatMyFloat1;publicintMyInt1;publicstringMyString1;}

And seems to be impossible. Am i missing something?
Or maybe Is there any other way i can use to achieve that result ?

In reality is use 3rd party software to put values there like this
_Class2_data.MyFloat = MySoftwareOutput.value,

Thanks in advance.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions