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

[Feature] Service black/whitelisting for actors #40

Open
MajorCooke opened this issue Nov 15, 2023 · 0 comments
Open

[Feature] Service black/whitelisting for actors #40

MajorCooke opened this issue Nov 15, 2023 · 0 comments

Comments

@MajorCooke
Copy link

MajorCooke commented Nov 15, 2023

Similar to the main overall blacklist, this would effectively allow assignment of which service classes can process an actor and which should be skipped. This will be useful in order to prevent mods from accidentally muddying certain information and prevent incompatibilities.

Using ZJSON the idea would be to keep it simple so the file can be structured like this:

{
	"DoomwiniaTargetSpyService":
	{
		"whitelist":
		[
			"MyZombo",
			"MyShotguy"
		]
	}
}

If #39 becomes a thing, this will be important so the mod runs optimally by only checking on particular service class assigned to the actors within my mod. There will be hundreds, if not thousands of actors all at once so it's imperative to have as few running as possible. Associative Maps may help with this.

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

No branches or pull requests

1 participant