refac: utilGame/getNPCColor

This commit is contained in:
2022-08-26 01:06:43 +09:00
parent 63771da876
commit 8a5a3b67f7
17 changed files with 52 additions and 30 deletions
+2 -2
View File
@@ -16,7 +16,7 @@
<div
class="col-7 align-self-center"
:style="{
color: getNpcColor(officer?.npcType ?? 0),
color: getNPCColor(officer?.npcType ?? 0),
}"
>
{{ officer?.name }}
@@ -64,7 +64,7 @@
</div>
</template>
<script setup lang="ts">
import { getNpcColor } from "@/common_legacy";
import { getNPCColor } from "@/utilGame";
import { formatTime } from "@/util/formatTime";
import { mb_strwidth } from "@/util/mb_strwidth";
import { parseTime } from "@/util/parseTime";