private static void Create(int code, string name, int atkBase, int defBase, int hpBase, int mpBase, int atkArr, int defArr, int hpArr, int mpArr, float moveSpeed, float atkSpeed, int range, int eyeRange, params int[] skills) { HeroDataModel model = new HeroDataModel(); model.Code = code; model.Name = name; model.AtkBase = atkBase; model.DefBase = defBase; model.HpBase = hpBase; model.MpBase = mpBase; model.AtkArr = atkArr; model.DefArr = defArr; model.HpArr = hpArr; model.MpArr = mpArr; model.MoveSpeed = moveSpeed; model.AtkSpeed = atkSpeed; model.AtkRange = range; model.EyeRange = eyeRange; model.Skills = skills; heroMap.Add(code, model); }