Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AutogenUI Example #71

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

RainbowIris323
Copy link

Created a component autogen UI example that includes:

  • read-only properties: properties that can only be modified from the server.
  • static properties: properties that are edited nowhere.
  • editable properties: properties that can be modified from the client or server.
  • example for localizing and adding to the value of a property ie (f = 0) => Localizer.DoStr($"The value of f is {f}").

Modified some existing files:

  • Changed methods and properties that have changed going into Eco 10.
  • Formated what I saw while reading through the code.

In response to: #70

Video of the example output:
https://github.com/StrangeLoopGames/EcoModKit/assets/108814359/9c524767-d767-4370-8936-dc0d08e730a8

Added:
 - AutogenUI example
Updated:
 - existing files for updated implementation and a few code-style edits.
@RainbowIris323
Copy link
Author

After more experimentation I realized the example was not made in the best way and it wasn't exactly accurate I decided that this was a bit off so I'm redoing it with code used in a mod I'm making.

Things to cover:

  • Buttons of various uses.
  • Static display values.
  • Dynamic display values.
  • Editable displayed values.
  • Formating in various ways.

Trying to figure out: (cover is possible)

  • Displaying lists in an expandable way.
  • Displaying interface data.
  • More as needed.

I will update the branch when I am done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant