refac: 유산 포인트 파트를 별도의 Manager로 분리, enum 적용

This commit is contained in:
2022-05-08 04:40:36 +09:00
parent 54a5a61bee
commit c32179347c
35 changed files with 463 additions and 345 deletions
+20
View File
@@ -0,0 +1,20 @@
<?php
namespace sammo\Enums;
// 유산 타입, DB에서 사용하는 키
enum InheritanceKey: string
{
case previous = 'previous';
case lived_month = 'lived_month';
case max_belong = 'max_belong';
case max_domestic_critical = 'max_domestic_critical';
case active_action = 'active_action';
case snipe_combat = 'snipe_combat';
case combat = 'combat';
case sabotage = 'sabotage';
case unifier = 'unifier';
case dex = 'dex';
case tournament = 'tournament';
case betting = 'betting';
}