public RenderProcessHandler() { this.builtinFunctionHandler = new BuiltinFunctionHandler(); this.builtinFunctionHandler.BroadcastMessage += (o, e) => { Renderer.OnBroadcastMessage(o, e); }; this.builtinFunctionHandler.SendMessage += (o, e) => { Renderer.OnSendMessage(o, e); }; this.builtinFunctionHandler.OverlayMessage += (o, e) => { Renderer.OnOverlayMessage(o, e); }; this.builtinFunctionHandler.EndEncounter += EndEncounterEvent; this.builtinFunctionHandler.TakeScreenshot += TakeScreenshotEvent; }
public RenderProcessHandler() { this.builtinFunctionHandler = new BuiltinFunctionHandler(); this.builtinFunctionHandler.BroadcastMessage += (o, e) => { Renderer.OnBroadcastMessage(o, e); }; this.builtinFunctionHandler.SendMessage += (o, e) => { Renderer.OnSendMessage(o, e); }; this.builtinFunctionHandler.OverlayMessage += (o, e) => { Renderer.OnOverlayMessage(o, e); }; this.builtinFunctionHandler.EndEncounter += (o, e) => { Renderer.OnRendererFeatureRequest(o, new RendererFeatureRequestEventArgs("EndEncounter")); }; }