/** * Sends formatted EsObjects to the plugin */ public void sendToPlugin(EsObject esob) { if (room != null && _es != null) { //build the request PluginRequest pr = new PluginRequest(); pr.Parameters = esob; pr.RoomId = room.Id; pr.ZoneId = room.ZoneId; pr.PluginName = GameConstants.PLUGIN_NAME; //send it _es.Engine.Send(pr); } }