증여 추가
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
|
||||
namespace sammo;
|
||||
|
||||
class DummyGeneral extends General{
|
||||
public function __construct(bool $initLogger=true){
|
||||
$raw = [
|
||||
'no'=>0,
|
||||
'name'=>'Dummy',
|
||||
'city'=>0,
|
||||
'nation'=>0,
|
||||
'level'=>0,
|
||||
];
|
||||
|
||||
$staticNation = getNationStaticInfo($raw['nation']);
|
||||
$this->raw = $raw;
|
||||
|
||||
$this->resultTurn = new LastTurn();
|
||||
|
||||
if($initLogger){
|
||||
$this->logger = new ActionLogger(
|
||||
$this->getVar('no'),
|
||||
$this->getVar('nation'),
|
||||
1,
|
||||
1,
|
||||
false
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
function applyDB($db):bool{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user