Project_WL/Assets/Script/UI/Ingame/Dungeon/Ingame_DungeonBase.cs

38 lines
1.1 KiB
C#
Raw Normal View History

2025-01-26 03:52:03 +00:00
using CodeStage.AntiCheat.ObscuredTypes;
using UnityEngine;
public class Ingame_DungeonBase : MonoBehaviour
{
protected ObscuredInt _MaxMobCount;
protected int MaxMobCount
{
get { return _MaxMobCount; }
set { _MaxMobCount = value; _MaxMobCount.RandomizeCryptoKey(); }
}
protected ObscuredInt _MobCount;
protected int MobCount
{
get { return _MobCount; }
set { _MobCount = value; _MobCount.RandomizeCryptoKey(); }
}
2025-01-26 03:52:03 +00:00
public virtual void Set_DungeonInfo(int maxMobCount)
{
gameObject.SetActive(true);
MobCount = 0;
2025-01-26 03:52:03 +00:00
MaxMobCount = maxMobCount;
DungeonInfo.Ins.m_MaxDieMobCount = MaxMobCount;
DungeonInfo.Ins.act_MobDieCount = Add_MobCount;
}
public virtual void Add_MobCount(int mobid) { }
2025-01-30 23:36:55 +00:00
public virtual void Set_TotalDmg(double dmg) { }
2025-02-02 05:19:34 +00:00
public virtual void Set_TotalScore(int score) { }
public virtual void Set_TotalLife(int life) { }
public virtual void Set_WaveGold(int gold) { }
2025-07-21 07:50:32 +00:00
public int Get_KillMobCount() { return MobCount; }
}