namespace StardewModdingAPI.Framework.Reflection { /// Generates proxy classes to access mod APIs through an arbitrary interface. internal interface IInterfaceProxyFactory { /********* ** Methods *********/ /// Create an API proxy. /// The interface through which to access the API. /// The API instance to access. /// The unique ID of the mod consuming the API. /// The unique ID of the mod providing the API. TInterface CreateProxy(object instance, string sourceModID, string targetModID) where TInterface : class; } }