Beispiel #1
0
void JGPOptionControl( SDHP_OPTIONCONTROL * lpMsg )
{
	switch ( lpMsg->Option )
	{
		case OPTION_RELOAD:
			ReadCommonServerInfo();
			break;

		case MONSTER_RELOAD:
			//GameMonsterAllCloseAndReLoad();
			gMSetBase.MonsterSetBaseReload(LOAD_ALLOBJ);
			break;

		case SHOP_RELOAD:
			g_ShopManager.Reload();
			break;

		case ALLOPTION_RELOAD:
			ReadCommonServerInfo();
			//GameMonsterAllCloseAndReLoad();
			gMSetBase.MonsterSetBaseReload(LOAD_ALLOBJ);
			g_ShopManager.Reload();
			break;

		case EVENTINFO_RELOAD:
			ReadEventInfo(MU_EVENT_ALL );
			break;

		case ETCINFO_RELOAD:
			ReadGameEtcInfo(MU_ETC_ALL );
			break;
	}
}
Beispiel #2
0
void JGPOptionControl( SDHP_OPTIONCONTROL * lpMsg )
{
    switch ( lpMsg->Option )
    {
    case OPTION_RELOAD:
        ReadCommonServerInfo();
        break;

    case MONSTER_RELOAD:
        GameMonsterAllCloseAndReLoad();
        break;

    case SHOP_RELOAD:
        ShopDataLoad();
        break;

    case ALLOPTION_RELOAD:
        ReadCommonServerInfo();
        GameMonsterAllCloseAndReLoad();
        ShopDataLoad();
        break;

    case EVENTINFO_RELOAD:
        ReadEventInfo(MU_EVENT_ALL );
        break;

    case ETCINFO_RELOAD:
        ReadGameEtcInfo(MU_ETC_ALL );
        break;
    }
}