Пример #1
0
 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.EndEncounter += (o, e) =>
     {
         Renderer.OnRendererFeatureRequest(o, new RendererFeatureRequestEventArgs("EndEncounter"));
     };
 }
Пример #2
0
 private void EndEncounterEvent(object sender, EndEncounterEventArgs e)
 {
     Renderer.OnRendererFeatureRequest(sender, new RendererFeatureRequestEventArgs("EndEncounter"));
 }