Skip to content

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.
@D3nnis3n D3nnis3n requested a review from thetestgame November 30, 2023 01:33
@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.

2 participants