외교 서신 상세 내용 추가

- 등용장의 로그 부분은 메시지로 뺌
This commit is contained in:
2018-04-15 21:01:42 +09:00
parent 3564282acb
commit 7bdde2ac8a
3 changed files with 219 additions and 33 deletions
+13 -2
View File
@@ -89,6 +89,19 @@ class ScoutMessage extends Message{
$this->invalidate();
$this->validScout = false;
pushGenLog(
['no'=>$this->dest->generalID],
["<C>●</><D>{$this->src->nationName}</>(으)로 망명하여 수도로 이동합니다."]);
pushGenLog(
['no'=>$this->src->generalID],
["<C>●</><Y>{$this->dest->generalName}</> 등용에 성공했습니다."]
);
pushGeneralPublicRecord(
["<C>●</>{$helper->month}월:<Y>{$this->dest->generalName}</>(이)가 <D><b>{$this->src->nationName}</b></>(으)로 <S>망명</>하였습니다."],
$helper->year,
$helper->month
);
$newMsg = new Message(
self::MSGTYPE_PRIVATE,
$this->dest,
@@ -209,6 +222,4 @@ class ScoutMessage extends Message{
return new ScoutMessage(Message::MSGTYPE_PRIVATE, $src, $dest, $msg, $date, $validUntil, $msgOption);
}
}