예제 #1
0
        internal static void AddItemStat(this SimGameState sim, string id, Type type, bool damaged)
        {
            if (mechComponentRef != null && !EnginePersistence.AddItemStat(sim, mechComponentRef, id, type, damaged))
            {
                return;
            }

            sim.AddItemStat(id, type, damaged);
        }