refac: GeneralBase, GeneralLite, General

- GeneralLite -> General 구조는 PHP에서 경고를 안띄웟서 포기
- GeneralBase에서 각각 요청하는 형태로 변경
- 여전히 GeneralBase를 인자로 받는 함수에서
  GeneralLite를 요구하거나, General을 요구하는 함수를 추가로 호출할 때
  경고가 없으므로 특히 주의해야 함.
This commit is contained in:
2023-08-01 16:28:28 +00:00
parent f7e5a93fb9
commit 822b5d3125
5 changed files with 240 additions and 238 deletions
+1 -7
View File
@@ -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;