- GameConst에서 정의된 defaultEvent 사용 - runEventHandler() 작성 - 이와 관련한 호출을 모두 통합 - 이벤트 핸들러 호출 시 gameStor 캐시 초기화하지 않도록 변경
12 lines
298 B
PHP
12 lines
298 B
PHP
<?php
|
|
namespace sammo\Enums;
|
|
|
|
enum EventTarget: string{
|
|
//YearMonth 변경 전에 처리해야할 Month 이벤트
|
|
case PreMonth = 'PRE_MONTH';
|
|
case Month = 'MONTH';
|
|
//PostMonth는 없음
|
|
case OccupyCity = 'OCCUPY_CITY';
|
|
case DestroyNation = 'DESTROY_NATION';
|
|
case United = 'UNITED';
|
|
} |