refac: GeneralBase, GeneralLite, General
- GeneralLite -> General 구조는 PHP에서 경고를 안띄웟서 포기 - GeneralBase에서 각각 요청하는 형태로 변경 - 여전히 GeneralBase를 인자로 받는 함수에서 GeneralLite를 요구하거나, General을 요구하는 함수를 추가로 호출할 때 경고가 없으므로 특히 주의해야 함.
This commit is contained in:
@@ -10,11 +10,8 @@ use sammo\Enums\InheritanceKey;
|
||||
use sammo\Enums\RankColumn;
|
||||
use sammo\WarUnitTrigger as WarUnitTrigger;
|
||||
|
||||
class General extends GeneralLite implements iAction
|
||||
class General extends GeneralBase implements iAction
|
||||
{
|
||||
protected $rawCity = null;
|
||||
|
||||
|
||||
/** @var Map<RankColumn,int> */
|
||||
protected Map $rankVarRead;
|
||||
/** @var Map<RankColumn,int> */
|
||||
@@ -25,9 +22,6 @@ class General extends GeneralLite implements iAction
|
||||
/** @var Map<GeneralAccessLogColumn,int|float|string> */
|
||||
protected ?Map $accessLogRead;
|
||||
|
||||
/** @var \sammo\ActionLogger */
|
||||
protected $logger;
|
||||
|
||||
protected $activatedSkill = [];
|
||||
protected $logActivatedSkill = [];
|
||||
protected $isFinished = false;
|
||||
|
||||
Reference in New Issue
Block a user