From aeb934fda542f674d562da6363a03fb36050dcc1 Mon Sep 17 00:00:00 2001 From: Ino Date: Wed, 18 Dec 2024 13:17:10 +0900 Subject: [PATCH] =?UTF-8?q?=ED=85=8C=EC=9D=B4=EB=B8=94=20=EC=95=88?= =?UTF-8?q?=ED=8B=B0=20=EB=A9=94=EB=AA=A8=EB=A6=AC=203?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/Script/Table/Farm/table_farmerlist.cs | 27 ++- .../Script/Table/Farm/table_farmshoplist.cs | 58 ++++- Assets/Script/Table/Farm/table_fruit.cs | 41 +++- .../Script/Table/Farm/table_harvestconfig.cs | 56 ++++- .../IngameStage/table_battlemapconfig.cs | 62 +++++- .../IngameStage/table_battlemapdifficulty.cs | 174 +++++++++++++-- .../Table/IngameStage/table_monsterappear.cs | 116 ++++++++-- .../Table/IngameStage/table_monsterlist.cs | 199 +++++++++++++++--- .../Table/IngameStage/table_objectconfig.cs | 63 +++++- 9 files changed, 689 insertions(+), 107 deletions(-) diff --git a/Assets/Script/Table/Farm/table_farmerlist.cs b/Assets/Script/Table/Farm/table_farmerlist.cs index 6250fa4bc..80bf5ca27 100644 --- a/Assets/Script/Table/Farm/table_farmerlist.cs +++ b/Assets/Script/Table/Farm/table_farmerlist.cs @@ -1,3 +1,4 @@ +using CodeStage.AntiCheat.ObscuredTypes; using Newtonsoft.Json; using System; using System.Collections.Generic; @@ -5,10 +6,28 @@ using System.Collections.Generic; [Serializable] public class FarmerListTableData : TableDataBase { - public int n_FarmerID; - public eStat e_FarmerStat; - public float f_StatValue; - public string s_Prefab; + ObscuredInt _FarmerID; + public int n_FarmerID + { + get { return _FarmerID; } + set { _FarmerID = value; _FarmerID.RandomizeCryptoKey(); } + } // ณ๓บฮ ID + + public eStat e_FarmerStat; // ณ๓บฮภว ดษทยฤก ลธภิ + + ObscuredFloat _StatValue; + public float f_StatValue + { + get { return _StatValue; } + set { _StatValue = value; _StatValue.RandomizeCryptoKey(); } + } // ดษทยฤก ฐช + + ObscuredString _Prefab; + public string s_Prefab + { + get { return _Prefab; } + set { _Prefab = value; _Prefab.RandomizeCryptoKey(); } + } // วมธฎฦี ฐๆทฮ public int Get_Grade() { return table_itemlist.Ins.Get_Data(n_FarmerID).n_ItemGrade; } public override string Get_Name() { return table_itemlist.Ins.Get_Data(n_FarmerID).Get_Name(); } diff --git a/Assets/Script/Table/Farm/table_farmshoplist.cs b/Assets/Script/Table/Farm/table_farmshoplist.cs index 182289ce3..c7f1b38ed 100644 --- a/Assets/Script/Table/Farm/table_farmshoplist.cs +++ b/Assets/Script/Table/Farm/table_farmshoplist.cs @@ -10,14 +10,56 @@ public enum eShopType { AD, Free, Pay } [Serializable] public class FarmShopListTableData : TableDataBase { - public int n_FarmShopID; - public eShopType e_ShopType; - public int n_DayLimit; - public int n_GapTime; - public int n_PayItemID; - public int n_PayItemAmount; - public int n_ItemID; - public int n_ItemAmount; + ObscuredInt _FarmShopID; + public int n_FarmShopID + { + get { return _FarmShopID; } + set { _FarmShopID = value; _FarmShopID.RandomizeCryptoKey(); } + } // ๋†์žฅ ์ƒ์  ID + + public eShopType e_ShopType; // ์ƒ์  ํƒ€์ž… + + ObscuredInt _DayLimit; + public int n_DayLimit + { + get { return _DayLimit; } + set { _DayLimit = value; _DayLimit.RandomizeCryptoKey(); } + } // ์ผ์ผ ์ œํ•œ + + ObscuredInt _GapTime; + public int n_GapTime + { + get { return _GapTime; } + set { _GapTime = value; _GapTime.RandomizeCryptoKey(); } + } // ๊ฐญ ํƒ€์ž„ + + ObscuredInt _PayItemID; + public int n_PayItemID + { + get { return _PayItemID; } + set { _PayItemID = value; _PayItemID.RandomizeCryptoKey(); } + } // ๊ฒฐ์ œ ์•„์ดํ…œ ID + + ObscuredInt _PayItemAmount; + public int n_PayItemAmount + { + get { return _PayItemAmount; } + set { _PayItemAmount = value; _PayItemAmount.RandomizeCryptoKey(); } + } // ๊ฒฐ์ œ ์•„์ดํ…œ ์ˆ˜๋Ÿ‰ + + ObscuredInt _ItemID; + public int n_ItemID + { + get { return _ItemID; } + set { _ItemID = value; _ItemID.RandomizeCryptoKey(); } + } // ์•„์ดํ…œ ID + + ObscuredInt _ItemAmount; + public int n_ItemAmount + { + get { return _ItemAmount; } + set { _ItemAmount = value; _ItemAmount.RandomizeCryptoKey(); } + } // ์•„์ดํ…œ ์ˆ˜๋Ÿ‰ } public class table_farmshoplist : table_missionbase diff --git a/Assets/Script/Table/Farm/table_fruit.cs b/Assets/Script/Table/Farm/table_fruit.cs index 751aebed1..6049fc9b5 100644 --- a/Assets/Script/Table/Farm/table_fruit.cs +++ b/Assets/Script/Table/Farm/table_fruit.cs @@ -1,3 +1,4 @@ +using CodeStage.AntiCheat.ObscuredTypes; using Newtonsoft.Json; using System; using System.Collections.Generic; @@ -5,11 +6,41 @@ using System.Collections.Generic; [Serializable] public class FruitTableData : TableDataBase { - public int n_FruitID; - public int n_STR; - public int n_DEX; - public int n_INT; - public int n_LUK; + ObscuredInt _FruitID; + public int n_FruitID + { + get { return _FruitID; } + set { _FruitID = value; _FruitID.RandomizeCryptoKey(); } + } // ฟญธล ID + + ObscuredInt _STR; + public int n_STR + { + get { return _STR; } + set { _STR = value; _STR.RandomizeCryptoKey(); } + } // STR + + ObscuredInt _DEX; + public int n_DEX + { + get { return _DEX; } + set { _DEX = value; _DEX.RandomizeCryptoKey(); } + } // DEX + + ObscuredInt _INT; + public int n_INT + { + get { return _INT; } + set { _INT = value; _INT.RandomizeCryptoKey(); } + } // INT + + ObscuredInt _LUK; + public int n_LUK + { + get { return _LUK; } + set { _LUK = value; _LUK.RandomizeCryptoKey(); } + } // LUK + public string Get_Desc() { diff --git a/Assets/Script/Table/Farm/table_harvestconfig.cs b/Assets/Script/Table/Farm/table_harvestconfig.cs index 8efc94429..7d519639b 100644 --- a/Assets/Script/Table/Farm/table_harvestconfig.cs +++ b/Assets/Script/Table/Farm/table_harvestconfig.cs @@ -1,3 +1,4 @@ +using CodeStage.AntiCheat.ObscuredTypes; using Newtonsoft.Json; using System; using System.Collections.Generic; @@ -7,13 +8,54 @@ using UnityEngine; [Serializable] public class HarvestConfigTableData : TableDataBase { - public int n_Grade; - public float f_Rate; - public int n_HarvestTime; - public int n_MinAmount; - public int n_MaxAmount; - public float f_StatFruitRate; - public float f_GoldFruitRate; + ObscuredInt _Grade; + public int n_Grade + { + get { return _Grade; } + set { _Grade = value; _Grade.RandomizeCryptoKey(); } + } // ๋“ฑ๊ธ‰ + + ObscuredFloat _Rate; + public float f_Rate + { + get { return _Rate; } + set { _Rate = value; _Rate.RandomizeCryptoKey(); } + } // ๋น„์œจ + + ObscuredInt _HarvestTime; + public int n_HarvestTime + { + get { return _HarvestTime; } + set { _HarvestTime = value; _HarvestTime.RandomizeCryptoKey(); } + } // ์ˆ˜ํ™• ์‹œ๊ฐ„ + + ObscuredInt _MinAmount; + public int n_MinAmount + { + get { return _MinAmount; } + set { _MinAmount = value; _MinAmount.RandomizeCryptoKey(); } + } // ์ตœ์†Œ ์ˆ˜๋Ÿ‰ + + ObscuredInt _MaxAmount; + public int n_MaxAmount + { + get { return _MaxAmount; } + set { _MaxAmount = value; _MaxAmount.RandomizeCryptoKey(); } + } // ์ตœ๋Œ€ ์ˆ˜๋Ÿ‰ + + ObscuredFloat _StatFruitRate; + public float f_StatFruitRate + { + get { return _StatFruitRate; } + set { _StatFruitRate = value; _StatFruitRate.RandomizeCryptoKey(); } + } // ์Šคํƒฏ ๊ณผ์ผ ๋น„์œจ + + ObscuredFloat _GoldFruitRate; + public float f_GoldFruitRate + { + get { return _GoldFruitRate; } + set { _GoldFruitRate = value; _GoldFruitRate.RandomizeCryptoKey(); } + } // ๊ธˆ ๊ณผ์ผ ๋น„์œจ } public class table_harvestconfig : table_missionbase diff --git a/Assets/Script/Table/IngameStage/table_battlemapconfig.cs b/Assets/Script/Table/IngameStage/table_battlemapconfig.cs index f620b5808..8bf4c63dd 100644 --- a/Assets/Script/Table/IngameStage/table_battlemapconfig.cs +++ b/Assets/Script/Table/IngameStage/table_battlemapconfig.cs @@ -1,18 +1,60 @@ +using CodeStage.AntiCheat.ObscuredTypes; using Newtonsoft.Json; -using System; using System.Collections.Generic; public class BattleMapConfigTableData : TableDataBase { - public int n_MapID; // ๋งต ๊ณ ์œ  ID - public int n_Chapter; // ์ฑ•ํ„ฐ ๊ตฌ๋ถ„์ž - public eGameMode e_MapType; // ๋งต ํ™”๋ฉด ์—ฐ์ถœ ๊ตฌ๋ถ„์„ ์œ„ํ•œ ์ •๋ณด - public string s_Scene; // ์‚ฌ์šฉ ๋  ์”ฌ๋ช… - public string s_BGM; // ์‚ฌ์šฉํ•  BGM ๋ฆฌ์†Œ์Šค ๊ฒฝ๋กœ - public string e_FindView; // TODO ์ •์ธํ˜ธ : ์นด๋ฉ”๋ผ ์ข…๋ฅ˜ ? - public int n_MapName; // UI์— ์ถœ๋ ฅ ๋  ๋งต ์ด๋ฆ„ ํ…์ŠคํŠธ ์ •๋ณด - public string s_MapIcon; // UI์— ์ถœ๋ ฅ ๋  ๋งต ์•„์ด์ฝ˜ ๋˜๋Š” ๋””์˜ค๋ผ๋งˆ ์ •๋ณด - public int n_Portals; // ํฌํƒˆ ๊ฐœ์ˆ˜ + ObscuredInt _MapID; + public int n_MapID + { + get { return _MapID; } + set { _MapID = value; _MapID.RandomizeCryptoKey(); } + } // ๋งต ๊ณ ์œ  ID + + ObscuredInt _Chapter; + public int n_Chapter + { + get { return _Chapter; } + set { _Chapter = value; _Chapter.RandomizeCryptoKey(); } + } // ์ฑ•ํ„ฐ ๊ตฌ๋ถ„์ž + + public eGameMode e_MapType; // ๋งต ํ™”๋ฉด ์—ฐ์ถœ ๊ตฌ๋ถ„์„ ์œ„ํ•œ ์ •๋ณด (enum ๊ฐ’์€ ๋ณ€๊ฒฝํ•˜์ง€ ์•Š์Œ) + + ObscuredString _Scene; + public string s_Scene + { + get { return _Scene; } + set { _Scene = value; _Scene.RandomizeCryptoKey(); } + } // ์‚ฌ์šฉ ๋  ์”ฌ๋ช… + + ObscuredString _BGM; + public string s_BGM + { + get { return _BGM; } + set { _BGM = value; _BGM.RandomizeCryptoKey(); } + } // ์‚ฌ์šฉํ•  BGM ๋ฆฌ์†Œ์Šค ๊ฒฝ๋กœ + + ObscuredInt _MapName; + public int n_MapName + { + get { return _MapName; } + set { _MapName = value; _MapName.RandomizeCryptoKey(); } + } // UI์— ์ถœ๋ ฅ ๋  ๋งต ์ด๋ฆ„ ํ…์ŠคํŠธ ์ •๋ณด + + ObscuredString _MapIcon; + public string s_MapIcon + { + get { return _MapIcon; } + set { _MapIcon = value; _MapIcon.RandomizeCryptoKey(); } + } // UI์— ์ถœ๋ ฅ ๋  ๋งต ์•„์ด์ฝ˜ ๋˜๋Š” ๋””์˜ค๋ผ๋งˆ ์ •๋ณด + + ObscuredInt _Portals; + public int n_Portals + { + get { return _Portals; } + set { _Portals = value; _Portals.RandomizeCryptoKey(); } + } // ํฌํƒˆ ๊ฐœ์ˆ˜ + public override string Get_Name() { diff --git a/Assets/Script/Table/IngameStage/table_battlemapdifficulty.cs b/Assets/Script/Table/IngameStage/table_battlemapdifficulty.cs index 3329359ce..865a2bf68 100644 --- a/Assets/Script/Table/IngameStage/table_battlemapdifficulty.cs +++ b/Assets/Script/Table/IngameStage/table_battlemapdifficulty.cs @@ -1,32 +1,160 @@ +using CodeStage.AntiCheat.ObscuredTypes; using Newtonsoft.Json; using System; using System.Collections.Generic; public class BattleMapDifficultyTableData : TableDataBase { - public int n_MapID; // ๋งต ๊ณ ์œ  ID - public eDifficult e_Difficult; // ๋งต ๋‚œ์ด๋„ - public eUnlockCondition e_UnlockCondition; // ํ•ด๋‹น ๋‚œ์ด๋„๊ฐ€ ๊ฐœ๋ฐฉ๋˜๊ธฐ ์œ„ํ•œ ์กฐ๊ฑด - public int n_UnlockConditionValue; // ํ•ด๋‹น ๋‚œ์ด๋„๊ฐ€ ๊ฐœ๋ฐฉ๋˜๊ธฐ ์œ„ํ•œ ์กฐ๊ฑด์˜ ์„ธ๋ถ€ ์„ค์ • ๊ฐ’ - public int n_ExtraMonsterLv; // ๋‚œ์ด๋„ ๋ณ„ ๋ชฌ์Šคํ„ฐ ๋ ˆ๋ฒจ์„ ์ผ๊ด„ ์กฐ์ •ํ•˜๊ธฐ ์œ„ํ•œ ์ถ”๊ฐ€ ์„ค์ • ๊ฐ’ - public string s_SkyEffect; // ๊ด‘์› ํšจ๊ณผ ์„ค์ •์„ ์œ„ํ•œ ์—ฐ์ถœ ๋ฐ์ดํ„ฐ ์ •๋ณด - public int n_ExtraMonsterATK_Rate; // ๋‚œ์ด๋„ ๋ณ„ ๋ชฌ์Šคํ„ฐ ๊ณต๊ฒฉ๋ ฅ์„ ์ผ๊ด„ ์กฐ์ •ํ•˜๊ธฐ ์œ„ํ•œ ์ถ”๊ฐ€ ์„ค์ • ๊ฐ’ - public int n_ExtraMonsterDEF_Rate; // ๋‚œ์ด๋„ ๋ณ„ ๋ชฌ์Šคํ„ฐ ๊ณต๊ฒฉ๋ ฅ์„ ์ผ๊ด„ ์กฐ์ •ํ•˜๊ธฐ ์œ„ํ•œ ์ถ”๊ฐ€ ์„ค์ • ๊ฐ’ - public int n_ExtraMonsterHP_Rate; // ๋‚œ์ด๋„ ๋ณ„ ๋ชฌ์Šคํ„ฐ ๊ณต๊ฒฉ๋ ฅ์„ ์ผ๊ด„ ์กฐ์ •ํ•˜๊ธฐ ์œ„ํ•œ ์ถ”๊ฐ€ ์„ค์ • ๊ฐ’ - public int n_ExtraEventDropReward; // ํŠน์ • ์ƒํ™ฉ์—์„œ ์ง€๊ธ‰ํ•  ๋ณด์ƒ์„ ์„ค์ •ํ•˜๊ธฐ ์œ„ํ•œ ์ถ”๊ฐ€ ๋ณด์ƒ ๋žœ๋ค๋ฐฑ์˜ ID ์ •๋ณด - public int n_ExtraDropReward1; // ๋‚œ์ด๋„ ๋ณ„ ์ถ”๊ฐ€ ๋ณด์ƒ์„ ์„ค์ •ํ•˜๊ธฐ ์œ„ํ•œ ์ถ”๊ฐ€ ๋ณด์ƒ ํƒ€์ž…1(์ตœ๋Œ€ 4๊ฐœ) - public int n_ExtraDropReward2; // ๋‚œ์ด๋„ ๋ณ„ ์ถ”๊ฐ€ ๋ณด์ƒ์„ ์„ค์ •ํ•˜๊ธฐ ์œ„ํ•œ ์ถ”๊ฐ€ ๋ณด์ƒ ํƒ€์ž…1(์ตœ๋Œ€ 4๊ฐœ) - public int n_ExtraDropReward3; // ๋‚œ์ด๋„ ๋ณ„ ์ถ”๊ฐ€ ๋ณด์ƒ์„ ์„ค์ •ํ•˜๊ธฐ ์œ„ํ•œ ์ถ”๊ฐ€ ๋ณด์ƒ ํƒ€์ž…1(์ตœ๋Œ€ 4๊ฐœ) - public int n_ExtraDropReward4; // ๋‚œ์ด๋„ ๋ณ„ ์ถ”๊ฐ€ ๋ณด์ƒ์„ ์„ค์ •ํ•˜๊ธฐ ์œ„ํ•œ ์ถ”๊ฐ€ ๋ณด์ƒ ํƒ€์ž…1(์ตœ๋Œ€ 4๊ฐœ) - public int n_DorpItemRate_Grade1; // ํ•ด๋‹น ๋‚œ์ด๋„์— ๋“œ๋ž ๋  ์ ฌ์˜ ํ™•๋ฅ  ์ •๋ณด(Greade1~9) โ€ปํ™•๋ฅ ์€ ์ฒœ๋งŒ๋ถ„์œจ - public int n_DorpItemRate_Grade2; // ํ•ด๋‹น ๋‚œ์ด๋„์— ๋“œ๋ž ๋  ์ ฌ์˜ ํ™•๋ฅ  ์ •๋ณด(Greade1~9) โ€ปํ™•๋ฅ ์€ ์ฒœ๋งŒ๋ถ„์œจ - public int n_DorpItemRate_Grade3; // ํ•ด๋‹น ๋‚œ์ด๋„์— ๋“œ๋ž ๋  ์ ฌ์˜ ํ™•๋ฅ  ์ •๋ณด(Greade1~9) โ€ปํ™•๋ฅ ์€ ์ฒœ๋งŒ๋ถ„์œจ - public int n_DorpItemRate_Grade4; // ํ•ด๋‹น ๋‚œ์ด๋„์— ๋“œ๋ž ๋  ์ ฌ์˜ ํ™•๋ฅ  ์ •๋ณด(Greade1~9) โ€ปํ™•๋ฅ ์€ ์ฒœ๋งŒ๋ถ„์œจ - public int n_DorpItemRate_Grade5; // ํ•ด๋‹น ๋‚œ์ด๋„์— ๋“œ๋ž ๋  ์ ฌ์˜ ํ™•๋ฅ  ์ •๋ณด(Greade1~9) โ€ปํ™•๋ฅ ์€ ์ฒœ๋งŒ๋ถ„์œจ - public int n_DorpItemRate_Grade6; // ํ•ด๋‹น ๋‚œ์ด๋„์— ๋“œ๋ž ๋  ์ ฌ์˜ ํ™•๋ฅ  ์ •๋ณด(Greade1~9) โ€ปํ™•๋ฅ ์€ ์ฒœ๋งŒ๋ถ„์œจ - public int n_DorpItemRate_Grade7; // ํ•ด๋‹น ๋‚œ์ด๋„์— ๋“œ๋ž ๋  ์ ฌ์˜ ํ™•๋ฅ  ์ •๋ณด(Greade1~9) โ€ปํ™•๋ฅ ์€ ์ฒœ๋งŒ๋ถ„์œจ - public int n_DorpItemRate_Grade8; // ํ•ด๋‹น ๋‚œ์ด๋„์— ๋“œ๋ž ๋  ์ ฌ์˜ ํ™•๋ฅ  ์ •๋ณด(Greade1~9) โ€ปํ™•๋ฅ ์€ ์ฒœ๋งŒ๋ถ„์œจ - public int n_DorpItemRate_Grade9; // ํ•ด๋‹น ๋‚œ์ด๋„์— ๋“œ๋ž ๋  ์ ฌ์˜ ํ™•๋ฅ  ์ •๋ณด(Greade1~9) โ€ปํ™•๋ฅ ์€ ์ฒœ๋งŒ๋ถ„์œจ + ObscuredInt _MapID; + public int n_MapID + { + get { return _MapID; } + set { _MapID = value; _MapID.RandomizeCryptoKey(); } + } // ๋งต ๊ณ ์œ  ID + + public eDifficult e_Difficult; // ๋งต ๋‚œ์ด๋„ (enum ๊ฐ’์€ ๋ณ€๊ฒฝํ•˜์ง€ ์•Š์Œ) + + public eUnlockCondition e_UnlockCondition; // ํ•ด๋‹น ๋‚œ์ด๋„๊ฐ€ ๊ฐœ๋ฐฉ๋˜๊ธฐ ์œ„ํ•œ ์กฐ๊ฑด (enum ๊ฐ’์€ ๋ณ€๊ฒฝํ•˜์ง€ ์•Š์Œ) + + ObscuredInt _UnlockConditionValue; + public int n_UnlockConditionValue + { + get { return _UnlockConditionValue; } + set { _UnlockConditionValue = value; _UnlockConditionValue.RandomizeCryptoKey(); } + } // ํ•ด๋‹น ๋‚œ์ด๋„๊ฐ€ ๊ฐœ๋ฐฉ๋˜๊ธฐ ์œ„ํ•œ ์กฐ๊ฑด์˜ ์„ธ๋ถ€ ์„ค์ • ๊ฐ’ + + ObscuredInt _ExtraMonsterLv; + public int n_ExtraMonsterLv + { + get { return _ExtraMonsterLv; } + set { _ExtraMonsterLv = value; _ExtraMonsterLv.RandomizeCryptoKey(); } + } // ๋‚œ์ด๋„ ๋ณ„ ๋ชฌ์Šคํ„ฐ ๋ ˆ๋ฒจ์„ ์ผ๊ด„ ์กฐ์ •ํ•˜๊ธฐ ์œ„ํ•œ ์ถ”๊ฐ€ ์„ค์ • ๊ฐ’ + + ObscuredString _SkyEffect; + public string s_SkyEffect + { + get { return _SkyEffect; } + set { _SkyEffect = value; _SkyEffect.RandomizeCryptoKey(); } + } // ๊ด‘์› ํšจ๊ณผ ์„ค์ •์„ ์œ„ํ•œ ์—ฐ์ถœ ๋ฐ์ดํ„ฐ ์ •๋ณด + + ObscuredInt _ExtraMonsterATK_Rate; + public int n_ExtraMonsterATK_Rate + { + get { return _ExtraMonsterATK_Rate; } + set { _ExtraMonsterATK_Rate = value; _ExtraMonsterATK_Rate.RandomizeCryptoKey(); } + } // ๋‚œ์ด๋„ ๋ณ„ ๋ชฌ์Šคํ„ฐ ๊ณต๊ฒฉ๋ ฅ์„ ์ผ๊ด„ ์กฐ์ •ํ•˜๊ธฐ ์œ„ํ•œ ์ถ”๊ฐ€ ์„ค์ • ๊ฐ’ + + ObscuredInt _ExtraMonsterDEF_Rate; + public int n_ExtraMonsterDEF_Rate + { + get { return _ExtraMonsterDEF_Rate; } + set { _ExtraMonsterDEF_Rate = value; _ExtraMonsterDEF_Rate.RandomizeCryptoKey(); } + } // ๋‚œ์ด๋„ ๋ณ„ ๋ชฌ์Šคํ„ฐ ๊ณต๊ฒฉ๋ ฅ์„ ์ผ๊ด„ ์กฐ์ •ํ•˜๊ธฐ ์œ„ํ•œ ์ถ”๊ฐ€ ์„ค์ • ๊ฐ’ + + ObscuredInt _ExtraMonsterHP_Rate; + public int n_ExtraMonsterHP_Rate + { + get { return _ExtraMonsterHP_Rate; } + set { _ExtraMonsterHP_Rate = value; _ExtraMonsterHP_Rate.RandomizeCryptoKey(); } + } // ๋‚œ์ด๋„ ๋ณ„ ๋ชฌ์Šคํ„ฐ ๊ณต๊ฒฉ๋ ฅ์„ ์ผ๊ด„ ์กฐ์ •ํ•˜๊ธฐ ์œ„ํ•œ ์ถ”๊ฐ€ ์„ค์ • ๊ฐ’ + + ObscuredInt _ExtraEventDropReward; + public int n_ExtraEventDropReward + { + get { return _ExtraEventDropReward; } + set { _ExtraEventDropReward = value; _ExtraEventDropReward.RandomizeCryptoKey(); } + } // ํŠน์ • ์ƒํ™ฉ์—์„œ ์ง€๊ธ‰ํ•  ๋ณด์ƒ์„ ์„ค์ •ํ•˜๊ธฐ ์œ„ํ•œ ์ถ”๊ฐ€ ๋ณด์ƒ ๋žœ๋ค๋ฐฑ์˜ ID ์ •๋ณด + + ObscuredInt _ExtraDropReward1; + public int n_ExtraDropReward1 + { + get { return _ExtraDropReward1; } + set { _ExtraDropReward1 = value; _ExtraDropReward1.RandomizeCryptoKey(); } + } // ๋‚œ์ด๋„ ๋ณ„ ์ถ”๊ฐ€ ๋ณด์ƒ์„ ์„ค์ •ํ•˜๊ธฐ ์œ„ํ•œ ์ถ”๊ฐ€ ๋ณด์ƒ ํƒ€์ž…1(์ตœ๋Œ€ 4๊ฐœ) + + ObscuredInt _ExtraDropReward2; + public int n_ExtraDropReward2 + { + get { return _ExtraDropReward2; } + set { _ExtraDropReward2 = value; _ExtraDropReward2.RandomizeCryptoKey(); } + } // ๋‚œ์ด๋„ ๋ณ„ ์ถ”๊ฐ€ ๋ณด์ƒ์„ ์„ค์ •ํ•˜๊ธฐ ์œ„ํ•œ ์ถ”๊ฐ€ ๋ณด์ƒ ํƒ€์ž…2(์ตœ๋Œ€ 4๊ฐœ) + + ObscuredInt _ExtraDropReward3; + public int n_ExtraDropReward3 + { + get { return _ExtraDropReward3; } + set { _ExtraDropReward3 = value; _ExtraDropReward3.RandomizeCryptoKey(); } + } // ๋‚œ์ด๋„ ๋ณ„ ์ถ”๊ฐ€ ๋ณด์ƒ์„ ์„ค์ •ํ•˜๊ธฐ ์œ„ํ•œ ์ถ”๊ฐ€ ๋ณด์ƒ ํƒ€์ž…3(์ตœ๋Œ€ 4๊ฐœ) + + ObscuredInt _ExtraDropReward4; + public int n_ExtraDropReward4 + { + get { return _ExtraDropReward4; } + set { _ExtraDropReward4 = value; _ExtraDropReward4.RandomizeCryptoKey(); } + } // ๋‚œ์ด๋„ ๋ณ„ ์ถ”๊ฐ€ ๋ณด์ƒ์„ ์„ค์ •ํ•˜๊ธฐ ์œ„ํ•œ ์ถ”๊ฐ€ ๋ณด์ƒ ํƒ€์ž…4(์ตœ๋Œ€ 4๊ฐœ) + + ObscuredInt _DorpItemRate_Grade1; + public int n_DorpItemRate_Grade1 + { + get { return _DorpItemRate_Grade1; } + set { _DorpItemRate_Grade1 = value; _DorpItemRate_Grade1.RandomizeCryptoKey(); } + } // ํ•ด๋‹น ๋‚œ์ด๋„์— ๋“œ๋ž ๋  ์ ฌ์˜ ํ™•๋ฅ  ์ •๋ณด (Grade1~9) + + ObscuredInt _DorpItemRate_Grade2; + public int n_DorpItemRate_Grade2 + { + get { return _DorpItemRate_Grade2; } + set { _DorpItemRate_Grade2 = value; _DorpItemRate_Grade2.RandomizeCryptoKey(); } + } // ํ•ด๋‹น ๋‚œ์ด๋„์— ๋“œ๋ž ๋  ์ ฌ์˜ ํ™•๋ฅ  ์ •๋ณด (Grade1~9) + + ObscuredInt _DorpItemRate_Grade3; + public int n_DorpItemRate_Grade3 + { + get { return _DorpItemRate_Grade3; } + set { _DorpItemRate_Grade3 = value; _DorpItemRate_Grade3.RandomizeCryptoKey(); } + } // ํ•ด๋‹น ๋‚œ์ด๋„์— ๋“œ๋ž ๋  ์ ฌ์˜ ํ™•๋ฅ  ์ •๋ณด (Grade1~9) + + ObscuredInt _DorpItemRate_Grade4; + public int n_DorpItemRate_Grade4 + { + get { return _DorpItemRate_Grade4; } + set { _DorpItemRate_Grade4 = value; _DorpItemRate_Grade4.RandomizeCryptoKey(); } + } // ํ•ด๋‹น ๋‚œ์ด๋„์— ๋“œ๋ž ๋  ์ ฌ์˜ ํ™•๋ฅ  ์ •๋ณด (Grade1~9) + + ObscuredInt _DorpItemRate_Grade5; + public int n_DorpItemRate_Grade5 + { + get { return _DorpItemRate_Grade5; } + set { _DorpItemRate_Grade5 = value; _DorpItemRate_Grade5.RandomizeCryptoKey(); } + } // ํ•ด๋‹น ๋‚œ์ด๋„์— ๋“œ๋ž ๋  ์ ฌ์˜ ํ™•๋ฅ  ์ •๋ณด (Grade1~9) + + ObscuredInt _DorpItemRate_Grade6; + public int n_DorpItemRate_Grade6 + { + get { return _DorpItemRate_Grade6; } + set { _DorpItemRate_Grade6 = value; _DorpItemRate_Grade6.RandomizeCryptoKey(); } + } // ํ•ด๋‹น ๋‚œ์ด๋„์— ๋“œ๋ž ๋  ์ ฌ์˜ ํ™•๋ฅ  ์ •๋ณด (Grade1~9) + + ObscuredInt _DorpItemRate_Grade7; + public int n_DorpItemRate_Grade7 + { + get { return _DorpItemRate_Grade7; } + set { _DorpItemRate_Grade7 = value; _DorpItemRate_Grade7.RandomizeCryptoKey(); } + } // ํ•ด๋‹น ๋‚œ์ด๋„์— ๋“œ๋ž ๋  ์ ฌ์˜ ํ™•๋ฅ  ์ •๋ณด (Grade1~9) + + ObscuredInt _DorpItemRate_Grade8; + public int n_DorpItemRate_Grade8 + { + get { return _DorpItemRate_Grade8; } + set { _DorpItemRate_Grade8 = value; _DorpItemRate_Grade8.RandomizeCryptoKey(); } + } // ํ•ด๋‹น ๋‚œ์ด๋„์— ๋“œ๋ž ๋  ์ ฌ์˜ ํ™•๋ฅ  ์ •๋ณด (Grade1~9) + + ObscuredInt _DorpItemRate_Grade9; + public int n_DorpItemRate_Grade9 + { + get { return _DorpItemRate_Grade9; } + set { _DorpItemRate_Grade9 = value; _DorpItemRate_Grade9.RandomizeCryptoKey(); } + } // ํ•ด๋‹น ๋‚œ์ด๋„์— ๋“œ๋ž ๋  ์ ฌ์˜ ํ™•๋ฅ  ์ •๋ณด (Grade1~9) } public class table_battlemapdifficulty : table_missionbase diff --git a/Assets/Script/Table/IngameStage/table_monsterappear.cs b/Assets/Script/Table/IngameStage/table_monsterappear.cs index 5537d86e1..857854c81 100644 --- a/Assets/Script/Table/IngameStage/table_monsterappear.cs +++ b/Assets/Script/Table/IngameStage/table_monsterappear.cs @@ -1,3 +1,4 @@ +using CodeStage.AntiCheat.ObscuredTypes; using Newtonsoft.Json; using System; using System.Collections.Generic; @@ -6,21 +7,106 @@ using Random = UnityEngine.Random; [Serializable] public class MonsterAppearData : TableDataBase { - public int n_SpawnerID; // ๋ชฌ์Šคํ„ฐ ์†Œํ™˜ ๊ฑฐ์  ID - public int n_AppearMonsterLv; // ๋“ฑ์žฅ ๋ชฌ์Šคํ„ฐ์˜ ๋ ˆ๋ฒจ - public int n_MonsterATK; // ์†Œํ™˜ ๋  ๋ชฌ์Šคํ„ฐ์˜ ๊ณต๊ฒฉ๋ ฅ - public int n_MonsterDEF; // ์†Œํ™˜ ๋  ๋ชฌ์Šคํ„ฐ์˜ ๋ฐฉ์–ด๋ ฅ - public int n_MonsterMDEF; // ์†Œํ™˜ ๋  ๋ชฌ์Šคํ„ฐ์˜ ๋งˆ๋ฒ• ์ €ํ•ญ๋ ฅ - public int n_MonsterHP; // ์†Œํ™˜ ๋  ๋ชฌ์Šคํ„ฐ์˜ HP - public string s_AppearMonster; // ๋“ฑ์žฅํ•  ๋ชฌ์Šคํ„ฐ ๊ทธ๋ฃน(๋ฐฐ์—ด ํ˜•ํƒœ) - public eSpawnerType e_SpawnerType; // ๋ฆฌ์Šคํฐ ๋ฐฉ์‹ - public float f_SpawnerDelay; // ๋ฆฌ์Šคํฐ ๋”œ๋ ˆ์ด - public int n_MaxMonsterCount; // ์ตœ๋Œ€ ๋“ฑ์žฅ ๊ฐ€๋Šฅํ•œ ๋ชฌ์Šคํ„ฐ ์ˆ˜ - public float f_PatrolRange; // ๋ชฌ์Šคํ„ฐ๋“ค์˜ ์ˆœ์ฐฐ ๋ฒ”์œ„ - public int n_DropExp; // ๋“œ๋ž ๊ฒฝํ—˜์น˜ - public int n_DropGold; // ๋“œ๋ž ๊ณจ๋“œ - public int n_DropReward; // ๋“œ๋ž ์•„์ดํ…œ - public int n_FieldBossId; // ํ•„๋“œ ๋ณด์Šค Id + ObscuredInt _SpawnerID; + public int n_SpawnerID + { + get { return _SpawnerID; } + set { _SpawnerID = value; _SpawnerID.RandomizeCryptoKey(); } + } // ๋ชฌ์Šคํ„ฐ ์†Œํ™˜ ๊ฑฐ์  ID + + ObscuredInt _AppearMonsterLv; + public int n_AppearMonsterLv + { + get { return _AppearMonsterLv; } + set { _AppearMonsterLv = value; _AppearMonsterLv.RandomizeCryptoKey(); } + } // ๋“ฑ์žฅ ๋ชฌ์Šคํ„ฐ์˜ ๋ ˆ๋ฒจ + + ObscuredInt _MonsterATK; + public int n_MonsterATK + { + get { return _MonsterATK; } + set { _MonsterATK = value; _MonsterATK.RandomizeCryptoKey(); } + } // ์†Œํ™˜ ๋  ๋ชฌ์Šคํ„ฐ์˜ ๊ณต๊ฒฉ๋ ฅ + + ObscuredInt _MonsterDEF; + public int n_MonsterDEF + { + get { return _MonsterDEF; } + set { _MonsterDEF = value; _MonsterDEF.RandomizeCryptoKey(); } + } // ์†Œํ™˜ ๋  ๋ชฌ์Šคํ„ฐ์˜ ๋ฐฉ์–ด๋ ฅ + + ObscuredInt _MonsterMDEF; + public int n_MonsterMDEF + { + get { return _MonsterMDEF; } + set { _MonsterMDEF = value; _MonsterMDEF.RandomizeCryptoKey(); } + } // ์†Œํ™˜ ๋  ๋ชฌ์Šคํ„ฐ์˜ ๋งˆ๋ฒ• ์ €ํ•ญ๋ ฅ + + ObscuredInt _MonsterHP; + public int n_MonsterHP + { + get { return _MonsterHP; } + set { _MonsterHP = value; _MonsterHP.RandomizeCryptoKey(); } + } // ์†Œํ™˜ ๋  ๋ชฌ์Šคํ„ฐ์˜ HP + + ObscuredString _AppearMonster; + public string s_AppearMonster + { + get { return _AppearMonster; } + set { _AppearMonster = value; _AppearMonster.RandomizeCryptoKey(); } + } // ๋“ฑ์žฅํ•  ๋ชฌ์Šคํ„ฐ ๊ทธ๋ฃน(๋ฐฐ์—ด ํ˜•ํƒœ) + + public eSpawnerType e_SpawnerType; // ๋ฆฌ์Šคํฐ ๋ฐฉ์‹ (enum ๊ฐ’์€ ๋ณ€๊ฒฝํ•˜์ง€ ์•Š์Œ) + + ObscuredFloat _SpawnerDelay; + public float f_SpawnerDelay + { + get { return _SpawnerDelay; } + set { _SpawnerDelay = value; _SpawnerDelay.RandomizeCryptoKey(); } + } // ๋ฆฌ์Šคํฐ ๋”œ๋ ˆ์ด + + ObscuredInt _MaxMonsterCount; + public int n_MaxMonsterCount + { + get { return _MaxMonsterCount; } + set { _MaxMonsterCount = value; _MaxMonsterCount.RandomizeCryptoKey(); } + } // ์ตœ๋Œ€ ๋“ฑ์žฅ ๊ฐ€๋Šฅํ•œ ๋ชฌ์Šคํ„ฐ ์ˆ˜ + + ObscuredFloat _PatrolRange; + public float f_PatrolRange + { + get { return _PatrolRange; } + set { _PatrolRange = value; _PatrolRange.RandomizeCryptoKey(); } + } // ๋ชฌ์Šคํ„ฐ๋“ค์˜ ์ˆœ์ฐฐ ๋ฒ”์œ„ + + ObscuredInt _DropExp; + public int n_DropExp + { + get { return _DropExp; } + set { _DropExp = value; _DropExp.RandomizeCryptoKey(); } + } // ๋“œ๋ž ๊ฒฝํ—˜์น˜ + + ObscuredInt _DropGold; + public int n_DropGold + { + get { return _DropGold; } + set { _DropGold = value; _DropGold.RandomizeCryptoKey(); } + } // ๋“œ๋ž ๊ณจ๋“œ + + ObscuredInt _DropReward; + public int n_DropReward + { + get { return _DropReward; } + set { _DropReward = value; _DropReward.RandomizeCryptoKey(); } + } // ๋“œ๋ž ์•„์ดํ…œ + + ObscuredInt _FieldBossId; + public int n_FieldBossId + { + get { return _FieldBossId; } + set { _FieldBossId = value; _FieldBossId.RandomizeCryptoKey(); } + } // ํ•„๋“œ ๋ณด์Šค Id + List list_mob = new List(); void Set_list_mob() diff --git a/Assets/Script/Table/IngameStage/table_monsterlist.cs b/Assets/Script/Table/IngameStage/table_monsterlist.cs index 255f45c31..dc1ce4083 100644 --- a/Assets/Script/Table/IngameStage/table_monsterlist.cs +++ b/Assets/Script/Table/IngameStage/table_monsterlist.cs @@ -1,3 +1,4 @@ +using CodeStage.AntiCheat.ObscuredTypes; using Newtonsoft.Json; using System; using System.Collections.Generic; @@ -5,32 +6,178 @@ using System.Collections.Generic; [Serializable] public class MonsterTableData : TableDataBase { - public int n_MonsterID; // ๋ชฌ์Šคํ„ฐ ๊ณ ์œ  ID - public eRole e_MonsterType; // ๊ธฐ๋ณธ ๋ชฌ์Šคํ„ฐ ํƒ€์ž… - public float f_DefaultScale; // ๊ธฐ๋ณธ ๋ชฌ์Šคํ„ฐ ํฌ๊ธฐ - public int n_MonsterName; // ๋ชฌ์Šคํ„ฐ ์ด๋ฆ„ ์ •๋ณด - public string s_MonsterPrefab; // ๋ชฌ์Šคํ„ฐ ํ”„๋ฆฌํŽฉ ์ด๋ฆ„ - public float f_BaseATKRate; // ๊ธฐ๋ณธ ๊ณต๊ฒฉ๋ ฅ ๋ฐฐ์œจ - public float f_BaseDEFRate; // ๊ธฐ๋ณธ ๋ฐฉ์–ด๋ ฅ ๋ฐฐ์œจ - public float f_BaseMDEFRate; // ๊ธฐ๋ณธ ๋งˆ๋ฒ• ์ €ํ•ญ๋ ฅ ๋ฐฐ์œจ - public float f_BaseHPRate; // ๊ธฐ๋ณธ ์ƒ๋ช…๋ ฅ ๋ฐฐ์œจ - public float f_BaseATKSpeed; // ๊ธฐ๋ณธ ๊ณต๊ฒฉ ์†๋„ - public float f_BaseMOVSpeed; // ๊ธฐ๋ณธ ์ด๋™ ์†๋„ - public float f_BaseATKRange; // ๊ธฐ๋ณธ ๊ณต๊ฒฉ ์‹œ๋„ ๋ฒ”์œ„ - public float f_BaseChaseRange; // ๊ธฐ๋ณธ ์ถ”์  ๋ฒ”์œ„ - public bool b_IsFirstAttack; // ์„ ๊ณต ์œ ๋ฌด - public eAttackType e_AttackType; // ๊ณต๊ฒฉ ํ˜•ํƒœ - public string s_Porjectile1; // ํˆฌ์‚ฌ์ฒด ํ”„๋ฆฌํŽฉ ์ด๋ฆ„ - public float f_ProjectileLifeTime1; // ํˆฌ์‚ฌ์ฒด ์ง€์† ์‹œ๊ฐ„ - public string s_Porjectile2; // ํˆฌ์‚ฌ์ฒด ํ”„๋ฆฌํŽฉ ์ด๋ฆ„ - public float f_ProjectileLifeTime2; // ํˆฌ์‚ฌ์ฒด ์ง€์† ์‹œ๊ฐ„ - public string s_Porjectile3; // ํˆฌ์‚ฌ์ฒด ํ”„๋ฆฌํŽฉ ์ด๋ฆ„ - public float f_ProjectileLifeTime3; // ํˆฌ์‚ฌ์ฒด ์ง€์† ์‹œ๊ฐ„ - public string s_ExtraSkill1; // ํŠน์ˆ˜ ์Šคํ‚ฌ ์œ ๋ฌด - public string s_ExtraSkill2; // ํŠน์ˆ˜ ์Šคํ‚ฌ ์œ ๋ฌด - public string s_ExtraSkill3; // ํŠน์ˆ˜ ์Šคํ‚ฌ ์œ ๋ฌด - public int n_DropItem; // ๊ณ ์œ  ๋“œ๋ž ์•„์ดํ…œ - public float f_PatrolWaitTime; // ํŒจํŠธ๋กค ๋”œ๋ ˆ์ด + ObscuredInt _MonsterID; + public int n_MonsterID + { + get { return _MonsterID; } + set { _MonsterID = value; _MonsterID.RandomizeCryptoKey(); } + } // ๋ชฌ์Šคํ„ฐ ๊ณ ์œ  ID + + public eRole e_MonsterType; // ๊ธฐ๋ณธ ๋ชฌ์Šคํ„ฐ ํƒ€์ž… (enum ๊ฐ’์€ ๋ณ€๊ฒฝํ•˜์ง€ ์•Š์Œ) + + ObscuredFloat _DefaultScale; + public float f_DefaultScale + { + get { return _DefaultScale; } + set { _DefaultScale = value; _DefaultScale.RandomizeCryptoKey(); } + } // ๊ธฐ๋ณธ ๋ชฌ์Šคํ„ฐ ํฌ๊ธฐ + + ObscuredInt _MonsterName; + public int n_MonsterName + { + get { return _MonsterName; } + set { _MonsterName = value; _MonsterName.RandomizeCryptoKey(); } + } // ๋ชฌ์Šคํ„ฐ ์ด๋ฆ„ ์ •๋ณด + + ObscuredString _MonsterPrefab; + public string s_MonsterPrefab + { + get { return _MonsterPrefab; } + set { _MonsterPrefab = value; _MonsterPrefab.RandomizeCryptoKey(); } + } // ๋ชฌ์Šคํ„ฐ ํ”„๋ฆฌํŽฉ ์ด๋ฆ„ + + ObscuredFloat _BaseATKRate; + public float f_BaseATKRate + { + get { return _BaseATKRate; } + set { _BaseATKRate = value; _BaseATKRate.RandomizeCryptoKey(); } + } // ๊ธฐ๋ณธ ๊ณต๊ฒฉ๋ ฅ ๋ฐฐ์œจ + + ObscuredFloat _BaseDEFRate; + public float f_BaseDEFRate + { + get { return _BaseDEFRate; } + set { _BaseDEFRate = value; _BaseDEFRate.RandomizeCryptoKey(); } + } // ๊ธฐ๋ณธ ๋ฐฉ์–ด๋ ฅ ๋ฐฐ์œจ + + ObscuredFloat _BaseMDEFRate; + public float f_BaseMDEFRate + { + get { return _BaseMDEFRate; } + set { _BaseMDEFRate = value; _BaseMDEFRate.RandomizeCryptoKey(); } + } // ๊ธฐ๋ณธ ๋งˆ๋ฒ• ์ €ํ•ญ๋ ฅ ๋ฐฐ์œจ + + ObscuredFloat _BaseHPRate; + public float f_BaseHPRate + { + get { return _BaseHPRate; } + set { _BaseHPRate = value; _BaseHPRate.RandomizeCryptoKey(); } + } // ๊ธฐ๋ณธ ์ƒ๋ช…๋ ฅ ๋ฐฐ์œจ + + ObscuredFloat _BaseATKSpeed; + public float f_BaseATKSpeed + { + get { return _BaseATKSpeed; } + set { _BaseATKSpeed = value; _BaseATKSpeed.RandomizeCryptoKey(); } + } // ๊ธฐ๋ณธ ๊ณต๊ฒฉ ์†๋„ + + ObscuredFloat _BaseMOVSpeed; + public float f_BaseMOVSpeed + { + get { return _BaseMOVSpeed; } + set { _BaseMOVSpeed = value; _BaseMOVSpeed.RandomizeCryptoKey(); } + } // ๊ธฐ๋ณธ ์ด๋™ ์†๋„ + + ObscuredFloat _BaseATKRange; + public float f_BaseATKRange + { + get { return _BaseATKRange; } + set { _BaseATKRange = value; _BaseATKRange.RandomizeCryptoKey(); } + } // ๊ธฐ๋ณธ ๊ณต๊ฒฉ ์‹œ๋„ ๋ฒ”์œ„ + + ObscuredFloat _BaseChaseRange; + public float f_BaseChaseRange + { + get { return _BaseChaseRange; } + set { _BaseChaseRange = value; _BaseChaseRange.RandomizeCryptoKey(); } + } // ๊ธฐ๋ณธ ์ถ”์  ๋ฒ”์œ„ + + ObscuredBool _IsFirstAttack; + public bool b_IsFirstAttack + { + get { return _IsFirstAttack; } + set { _IsFirstAttack = value; _IsFirstAttack.RandomizeCryptoKey(); } + } // ์„ ๊ณต ์œ ๋ฌด + + public eAttackType e_AttackType; // ๊ณต๊ฒฉ ํ˜•ํƒœ (enum ๊ฐ’์€ ๋ณ€๊ฒฝํ•˜์ง€ ์•Š์Œ) + + ObscuredString _Projectile1; + public string s_Porjectile1 + { + get { return _Projectile1; } + set { _Projectile1 = value; _Projectile1.RandomizeCryptoKey(); } + } // ํˆฌ์‚ฌ์ฒด ํ”„๋ฆฌํŽฉ ์ด๋ฆ„ + + ObscuredFloat _ProjectileLifeTime1; + public float f_ProjectileLifeTime1 + { + get { return _ProjectileLifeTime1; } + set { _ProjectileLifeTime1 = value; _ProjectileLifeTime1.RandomizeCryptoKey(); } + } // ํˆฌ์‚ฌ์ฒด ์ง€์† ์‹œ๊ฐ„ + + ObscuredString _Projectile2; + public string s_Porjectile2 + { + get { return _Projectile2; } + set { _Projectile2 = value; _Projectile2.RandomizeCryptoKey(); } + } // ํˆฌ์‚ฌ์ฒด ํ”„๋ฆฌํŽฉ ์ด๋ฆ„ + + ObscuredFloat _ProjectileLifeTime2; + public float f_ProjectileLifeTime2 + { + get { return _ProjectileLifeTime2; } + set { _ProjectileLifeTime2 = value; _ProjectileLifeTime2.RandomizeCryptoKey(); } + } // ํˆฌ์‚ฌ์ฒด ์ง€์† ์‹œ๊ฐ„ + + ObscuredString _Projectile3; + public string s_Porjectile3 + { + get { return _Projectile3; } + set { _Projectile3 = value; _Projectile3.RandomizeCryptoKey(); } + } // ํˆฌ์‚ฌ์ฒด ํ”„๋ฆฌํŽฉ ์ด๋ฆ„ + + ObscuredFloat _ProjectileLifeTime3; + public float f_ProjectileLifeTime3 + { + get { return _ProjectileLifeTime3; } + set { _ProjectileLifeTime3 = value; _ProjectileLifeTime3.RandomizeCryptoKey(); } + } // ํˆฌ์‚ฌ์ฒด ์ง€์† ์‹œ๊ฐ„ + + ObscuredString _ExtraSkill1; + public string s_ExtraSkill1 + { + get { return _ExtraSkill1; } + set { _ExtraSkill1 = value; _ExtraSkill1.RandomizeCryptoKey(); } + } // ํŠน์ˆ˜ ์Šคํ‚ฌ ์œ ๋ฌด + + ObscuredString _ExtraSkill2; + public string s_ExtraSkill2 + { + get { return _ExtraSkill2; } + set { _ExtraSkill2 = value; _ExtraSkill2.RandomizeCryptoKey(); } + } // ํŠน์ˆ˜ ์Šคํ‚ฌ ์œ ๋ฌด + + ObscuredString _ExtraSkill3; + public string s_ExtraSkill3 + { + get { return _ExtraSkill3; } + set { _ExtraSkill3 = value; _ExtraSkill3.RandomizeCryptoKey(); } + } // ํŠน์ˆ˜ ์Šคํ‚ฌ ์œ ๋ฌด + + ObscuredInt _DropItem; + public int n_DropItem + { + get { return _DropItem; } + set { _DropItem = value; _DropItem.RandomizeCryptoKey(); } + } // ๊ณ ์œ  ๋“œ๋ž ์•„์ดํ…œ + + ObscuredFloat _PatrolWaitTime; + public float f_PatrolWaitTime + { + get { return _PatrolWaitTime; } + set { _PatrolWaitTime = value; _PatrolWaitTime.RandomizeCryptoKey(); } + } // ํŒจํŠธ๋กค ๋”œ๋ ˆ์ด + public override string Get_Name() { return table_localtext.Ins.Get_Text(n_MonsterName); } diff --git a/Assets/Script/Table/IngameStage/table_objectconfig.cs b/Assets/Script/Table/IngameStage/table_objectconfig.cs index 24d4cee75..552939765 100644 --- a/Assets/Script/Table/IngameStage/table_objectconfig.cs +++ b/Assets/Script/Table/IngameStage/table_objectconfig.cs @@ -1,3 +1,4 @@ +using CodeStage.AntiCheat.ObscuredTypes; using Newtonsoft.Json; using System; using System.Collections.Generic; @@ -8,15 +9,59 @@ public enum eDestructionType { Life, HP, StructureHP, Immortal } [Serializable] public class ObjectConfigTableData : TableDataBase { - public int n_OjectID; // ์˜ค๋ธŒ์ ํŠธ๋งˆ๋‹ค ๋ถ€์—ฌ ๋  ๊ณ ์œ  ID - public int n_OjectName; // ์˜ค๋ธŒ์ ํŠธ ์ด๋ฆ„ - public int n_SpawnInterval; // ์˜ค๋ธŒ์ ํŠธ ์ƒ์„ฑ ์ฃผ๊ธฐ (์ดˆ) - public float f_RandomSpawnRate; // ์˜ค๋ธŒ์ ํŠธ ์ƒ์„ฑ ์ฃผ๊ธฐ ๋ณ„ ๋“ฑ์žฅ ํ™•๋ฅ  - public float f_RandomSpawnRange; // ์˜ค๋ธŒ์ ํŠธ ์ƒ์„ฑ ๊ฑฐ์  ๋‚ด ์ถ”๊ฐ€ ๋ณด์ • ๋ฒ”์œ„ - public eObjectType e_ObjectType; // ์˜ค๋ธŒ์ ํŠธ ์œ ํ˜• - public int n_ObjectValue; // ์˜ค๋ธŒ์ ํŠธ ์œ ํ˜• ๋ณ„ ์†์„ฑ ๊ฐ’ - public eDestructionType e_DestructionType; // ํŒŒ๊ดด ์œ ํ˜• ์„ค์ • - public int n_DestructionValue; // ํŒŒ๊ดด ์œ ํ˜• ๋ณ„ ์„ค์ • ๊ฐ’ + ObscuredInt _ObjectID; + public int n_OjectID + { + get { return _ObjectID; } + set { _ObjectID = value; _ObjectID.RandomizeCryptoKey(); } + } // ์˜ค๋ธŒ์ ํŠธ๋งˆ๋‹ค ๋ถ€์—ฌ ๋  ๊ณ ์œ  ID + + ObscuredInt _ObjectName; + public int n_OjectName + { + get { return _ObjectName; } + set { _ObjectName = value; _ObjectName.RandomizeCryptoKey(); } + } // ์˜ค๋ธŒ์ ํŠธ ์ด๋ฆ„ + + ObscuredInt _SpawnInterval; + public int n_SpawnInterval + { + get { return _SpawnInterval; } + set { _SpawnInterval = value; _SpawnInterval.RandomizeCryptoKey(); } + } // ์˜ค๋ธŒ์ ํŠธ ์ƒ์„ฑ ์ฃผ๊ธฐ (์ดˆ) + + ObscuredFloat _RandomSpawnRate; + public float f_RandomSpawnRate + { + get { return _RandomSpawnRate; } + set { _RandomSpawnRate = value; _RandomSpawnRate.RandomizeCryptoKey(); } + } // ์˜ค๋ธŒ์ ํŠธ ์ƒ์„ฑ ์ฃผ๊ธฐ ๋ณ„ ๋“ฑ์žฅ ํ™•๋ฅ  + + ObscuredFloat _RandomSpawnRange; + public float f_RandomSpawnRange + { + get { return _RandomSpawnRange; } + set { _RandomSpawnRange = value; _RandomSpawnRange.RandomizeCryptoKey(); } + } // ์˜ค๋ธŒ์ ํŠธ ์ƒ์„ฑ ๊ฑฐ์  ๋‚ด ์ถ”๊ฐ€ ๋ณด์ • ๋ฒ”์œ„ + + public eObjectType e_ObjectType; // ์˜ค๋ธŒ์ ํŠธ ์œ ํ˜• (enum ๊ฐ’์€ ๋ณ€๊ฒฝํ•˜์ง€ ์•Š์Œ) + + ObscuredInt _ObjectValue; + public int n_ObjectValue + { + get { return _ObjectValue; } + set { _ObjectValue = value; _ObjectValue.RandomizeCryptoKey(); } + } // ์˜ค๋ธŒ์ ํŠธ ์œ ํ˜• ๋ณ„ ์†์„ฑ ๊ฐ’ + + public eDestructionType e_DestructionType; // ํŒŒ๊ดด ์œ ํ˜• ์„ค์ • (enum ๊ฐ’์€ ๋ณ€๊ฒฝํ•˜์ง€ ์•Š์Œ) + + ObscuredInt _DestructionValue; + public int n_DestructionValue + { + get { return _DestructionValue; } + set { _DestructionValue = value; _DestructionValue.RandomizeCryptoKey(); } + } // ํŒŒ๊ดด ์œ ํ˜• ๋ณ„ ์„ค์ • ๊ฐ’ + public override string Get_Name() { return table_localtext.Ins.Get_Text(n_OjectName); } }