diff --git a/webapp/controller/BigwheelController.class.php b/webapp/controller/BigwheelController.class.php index ee9c90e0..a6ef1509 100644 --- a/webapp/controller/BigwheelController.class.php +++ b/webapp/controller/BigwheelController.class.php @@ -341,7 +341,10 @@ class BigwheelController extends BaseAuthedController { 'property_chg' => $this->propertyChgService->toDto(), 'info' => $info )); - //myself()->_fireEvent('Bigwheel', 'onBuyOk', $info); + myself()->_fireEvent('Bigwheel', 'onBuyOk', array( + 'grid_id' => $gridId, + 'buy_price' => $gridRef['buy_price'], + )); } private function getMidDataKey() diff --git a/webapp/events/Bigwheel.php b/webapp/events/Bigwheel.php index 4a63dca0..3774777b 100644 --- a/webapp/events/Bigwheel.php +++ b/webapp/events/Bigwheel.php @@ -10,4 +10,8 @@ class Bigwheel myself()->_callServiceStatic('BigwheelService', 'onWinPrize', $grid1, $grid2); } + public static function onBuyOk($gridId, $buyPrice) + { + } + }