diplomacy코드를 mailbox는 9000번대, diplomacy type만 지정하는 방식으로 변경
This commit is contained in:
@@ -138,7 +138,9 @@ function sendMessage($msgType, $src, $dest, $msg, $date = null, $msgOption = nul
|
||||
}
|
||||
else if($msgType === 'diplomacy'){
|
||||
//NOTE:외교 서신의 경우 '동일한 내용'이 두번 가지 않으므로, 별도 처리가 필요함
|
||||
$dest['id'] = $dest['nation_id'] + 8000;
|
||||
$src['id'] = $dest['nation_id'] + 9000;
|
||||
$dest['id'] = $dest['nation_id'] + 9000;
|
||||
$destMailbox = $dest['id'];
|
||||
}
|
||||
else{
|
||||
//dest는 id, name이 필수
|
||||
|
||||
Reference in New Issue
Block a user