This is too vague. I don't know what to do here. Is there an example where such an abstracted mechanism can be found in the OpenRA code base already so I can take it as a template?