From b3ba592a128ffd45e7fd9f1cf1d6101ebe0ef209 Mon Sep 17 00:00:00 2001 From: "aube.lee" Date: Thu, 13 Feb 2025 10:40:12 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=ED=94=8C=EB=A0=88=EC=9D=B4=EC=96=B4=20?= =?UTF-8?q?=EC=95=84=EC=9D=B4=EB=94=94=20=EB=8D=B0=EC=9D=B4=ED=84=B0?= =?UTF-8?q?=ED=83=80=EC=9E=85=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Gameton-06/Assets/Gameton/Scripts/GameData/PlayerData.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Gameton-06/Assets/Gameton/Scripts/GameData/PlayerData.cs b/Gameton-06/Assets/Gameton/Scripts/GameData/PlayerData.cs index 957e10e2..39627b15 100644 --- a/Gameton-06/Assets/Gameton/Scripts/GameData/PlayerData.cs +++ b/Gameton-06/Assets/Gameton/Scripts/GameData/PlayerData.cs @@ -8,7 +8,7 @@ namespace TON public class PlayerData { // 캐릭터 아이디 - public int id; + public string id; // 캐릭터 이미지 타입 (w/b) public string type; // 캐릭터 이름 @@ -30,7 +30,7 @@ namespace TON public PlayerData(int i, string t, string n) { - id = i; + id = $"P{i:000}"; type = t == "BlackCat" ? "b" : "w"; name = n; level = 1;