-
-
Notifications
You must be signed in to change notification settings - Fork 9
Polyscript config #110
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
Polyscript config #110
Conversation
|
Uhh we dont use |
oh bruh I will fix now |
src/Managers/Config.cs
Outdated
| namespace PolyMod.Managers; | ||
|
|
||
| /// <summary> | ||
| /// allows mods to save config. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Capital letters consistency plz 🙏
IExploitableMan
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ALSO UNDERSCORES!
|
I apologize for the stupid small fixes, I can fix it myself when I come home |
|
Added gld config as well |
|
Closes #107 |
src/PolyScriptMod.cs
Outdated
| { | ||
| } | ||
| } | ||
| public abstract class PolyScriptMod<TConfig, TExposedConfig> : PolyScriptModBase where TConfig : class where TExposedConfig : class |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe just call it PolyScript? PolyScript is just a part of the mod.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great idea
src/PolyScriptMod.cs
Outdated
| protected ManualLogSource Logger { get; private set; } = null!; | ||
| } | ||
|
|
||
| public abstract class PolyScriptMod : PolyScriptMod<JObject, JObject> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here, PolyScriptMod -> PolyScript
|
@joukepouke @IExploitableMan aside what i commented, LGTM. Was everything properly tested? |
|
Capital letters in doc strings |
|
@IExploitableMan shall i merge? |
# Conflicts: # src/Loader.cs
This reverts commit c5154ec.
59ae426 to
1788148
Compare
1/2 of #107