public static void Init() { GhostItemManager <stGhostItem> .Instance().LoadFile("ghostspawn", "Table/"); GhostPowerTableManager.Instance().LoadFile("GhostPowerRate", "Table/"); AchievementTableManager.Instance().LoadFile("achievement", "Table/"); }
public static void ClearUp() { GhostItemManager <stGhostItem> .Instance().ClearUp(); GhostPowerTableManager.Instance().ClearUp(); AchievementTableManager.Instance().ClearUp(); }
void _CreateAirGhost() { int ghostid = GetAirGhostID(); stGhostItem item = GhostItemManager <stGhostItem> .Instance().GetstItem(ghostid); if (item != null) { m_AirGhost = m_AirGhostManager.GetGhost(item); } }
void _BuildAirGhostLists() { for (int i = 0; i < MAX_GHOST_COUNT; ++i) { int key = 0; stGhostItem item = GhostItemManager <stGhostItem> .Instance().GetstItemByIndex(i, out key); if (item != null) { ghostID[i] = key; if (i == 0) { ghostused[i] = item.m_spawnrate; } else { ghostused[i] = item.m_spawnrate + ghostused[i - 1]; } } } }