Skip to content

Conversation

@joukepouke
Copy link
Collaborator

1/2 of #107

@IExploitableMan
Copy link
Contributor

Uhh we dont use _ in private fields, cuz @johnklipi doesn't want to...

@joukepouke
Copy link
Collaborator Author

Uhh we dont use _ in private fields, cuz @johnklipi doesn't want to...

oh bruh I will fix now

namespace PolyMod.Managers;

/// <summary>
/// allows mods to save config.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Capital letters consistency plz 🙏

Copy link
Contributor

@IExploitableMan IExploitableMan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ALSO UNDERSCORES!

@IExploitableMan
Copy link
Contributor

I apologize for the stupid small fixes, I can fix it myself when I come home

@joukepouke
Copy link
Collaborator Author

Added gld config as well

@joukepouke
Copy link
Collaborator Author

Closes #107

{
}
}
public abstract class PolyScriptMod<TConfig, TExposedConfig> : PolyScriptModBase where TConfig : class where TExposedConfig : class
Copy link
Contributor

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.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great idea

protected ManualLogSource Logger { get; private set; } = null!;
}

public abstract class PolyScriptMod : PolyScriptMod<JObject, JObject>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here, PolyScriptMod -> PolyScript

@johnklipi
Copy link
Contributor

@joukepouke @IExploitableMan aside what i commented, LGTM. Was everything properly tested?

@IExploitableMan
Copy link
Contributor

Capital letters in doc strings

@IExploitableMan IExploitableMan added the enhancement New feature or request label Sep 7, 2025
@joukepouke
Copy link
Collaborator Author

@IExploitableMan shall i merge?

@joukepouke joukepouke merged commit 6c092b8 into main Sep 8, 2025
2 checks passed
@joukepouke joukepouke deleted the polyscript-config branch September 8, 2025 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants