세력 일람 쿼리 최적화

This commit is contained in:
2019-10-06 16:05:20 +09:00
parent 934c1b0cfe
commit 9dc3d83a77
5 changed files with 105 additions and 207 deletions
+2 -2
View File
@@ -638,12 +638,12 @@ function getNameColor(int $npcType):?string{
return null;
}
function getColoredName(string $name, int $npcType):string{
$color = nameColor($npcType);
$color = getNameColor($npcType);
if($color === null){
return $name;
}
//TODO: font 폐기.
return "<font color='{$color}'>{$name}</font>";
return "<span style='color:{$color}'>{$name}</span>";
}
function ConvertLog(?string $str, $type=1) : string {