mmaulwurff/target-spy

[Feature] Service black/whitelisting for actors

Opened this issue · 0 comments

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.