#ifndef _area_business_person_attendance_hpp_ #define _area_business_person_attendance_hpp_ #include"area_business.h" struct area_business_person_attendance:area_business { area_business_person_attendance(); int area_business_type() { return 5; } //记录进入时间等信息,开始考勤 void on_enter(const std::shared_ptr&a,const std::shared_ptr&c,std::shared_ptr&ptr); void on_hover(const std::shared_ptr&a,const std::shared_ptr&c,std::shared_ptr ptr); //记录离开考勤区域信息,结束考勤 void on_leave(const std::shared_ptr&a,const std::shared_ptr&c,std::shared_ptr ptr); }; #endif // AREA_BUSINESS_CAR_ATTENDANCE_H