EcoModKit
EcoModKit copied to clipboard
AutogenUI Example
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
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.