private void InitEnemyPop(List <CoopOfflineManager.EnemyPopParam> enemy_pop_params) { if (QuestManager.IsValidInGameWaveMatch()) { MonoBehaviourSingleton <InGameProgress> .I.BattleRetire(); } else { enemyPops = new List <CoopLocalServerEnemyPop>(); int i = 0; for (int count = enemy_pop_params.Count; i < count; i++) { FieldMapTable.EnemyPopTableData data = enemy_pop_params[i].data; if (data != null && enemy_pop_params[i].data.enemyPopType == ENEMY_POP_TYPE.NONE) { int count2 = enemy_pop_params[i].count; CoopLocalServerEnemyPop coopLocalServerEnemyPop = new CoopLocalServerEnemyPop(); coopLocalServerEnemyPop.Init(this, i, data, count2); enemyPops.Add(coopLocalServerEnemyPop); } } } }
public CoopLocalServerEnemy(CoopLocalServerEnemyPop epop, float pop_time) { owner = epop; popTime = pop_time; }