Batch #16619 by ragnarok-clanker: forced by an admin (1 lower score(s), 13 changed function(s)); checked with 460 compiled unit(s), including every includer of Source/Client/Mode/CGameMode.h, Source/Contents/Achievement/AchievementMgr.h, Source/Contents/Actors/ActorNameCard.h, Source/Contents/Actors/GameActor.h, Source/Contents/Actors/GndRiser.h, Source/Contents/Actors/GroundScope.h, Source/Contents/Actors/Item.h, Source/Contents/Actors/PlayerNameDictionary.h, Source/Contents/Actors/Resources/EquipmentResourceMgr.h, Source/Contents/AdventureGuide/AdventureGuideMgr.h, Source/Contents/CashEmotion/CashEmotionMgr.h, Source/Contents/Clan/ClanInfo.h, Source/Contents/CombatTypes.h, Source/Contents/Configuration/ConfigMgr.h, Source/Contents/Effects/Core/CellRangeEffect.h, Source/Contents/Effects/Core/ChangeSizeEffect.h, Source/Contents/Effects/Core/DummyEffectLauncher.h, Source/Contents/Effects/Core/Effect.h, Source/Contents/Effects/Core/EffectActor.h, Source/Contents/Effects/Core/EffectLists.h, Source/Contents/Effects/Core/EffectMaker.h, Source/Contents/Effects/Core/EffectMemoryMgr.h, Source/Contents/Effects/Core/EffectMessageId.h, Source/Contents/Effects/Core/EffectPoint.h, Source/Contents/Effects/Core/EffectPrimId.h, Source/Contents/Effects/Core/EffectTypes.h, Source/Contents/Effects/Core/MsgEffect.h, Source/Contents/Effects/Core/RagEffect.h, Source/Contents/Effects/Core/RagEffectState.h, Source/Contents/Effects/Core/ShowEffect.h, Source/Contents/Effects/Core/SquareRangeEffect.h, Source/Contents/Effects/EffectResourceSwitcher.h, Source/Contents/Effects/Particles/AnimatedEmitterEffect.h, Source/Contents/Effects/Particles/CharacterParticleBundle.h, Source/Contents/Effects/Particles/EZ2STREffect.h, Source/Contents/Effects/Particles/EZ2STREffectEx.h, Source/Contents/Effects/Particles/EffectEmitter.h, Source/Contents/Effects/Particles/EmitterEffect.h, Source/Contents/Effects/Particles/Particle.h, Source/Contents/Effects/Particles/ParticlePool.h, Source/Contents/Effects/Particles/SpriteEffect.h, Source/Contents/Effects/Particles/SpriteParticle.h, Source/Contents/Effects/Primitives/EffectPrim.h, Source/Contents/Effects/Primitives/EffectPrimitiveMotion.h, Source/Contents/Effects/Primitives/EffectPrimitiveState.h, Source/Contents/Effects/RDamageVar.h, Source/Contents/Effects/Skills/AMachineEffect.h, Source/Contents/Effects/Skills/AcidifiedThrow.h, Source/Contents/Effects/Skills/ArrowEffect.h, Source/Contents/Effects/Skills/AstralStrikeEffect.h, Source/Contents/Effects/Skills/AxeBoomerang.h, Source/Contents/Effects/Skills/Bash.h, Source/Contents/Effects/Skills/BezierArcThrowEffect.h, Source/Contents/Effects/Skills/BindTrapEffect.h, Source/Contents/Effects/Skills/BlastForge.h, Source/Contents/Effects/Skills/CaneOfEvilEyeEffect.h, Source/Contents/Effects/Skills/CartCannon.h, Source/Contents/Effects/Skills/ChargingPierceEffect.h, Source/Contents/Effects/Skills/CherryBlossomEffect.h, Source/Contents/Effects/Skills/ClimaxEffect.h, Source/Contents/Effects/Skills/CloudEffect.h, Source/Contents/Effects/Skills/CloudKillEffect.h, Source/Contents/Effects/Skills/CommonFloorEffect.h, Source/Contents/Effects/Skills/Competentia.h, Source/Contents/Effects/Skills/CresciveBolt.h, Source/Contents/Effects/Skills/ElectricEffect.h, Source/Contents/Effects/Skills/EnergyOrbEffect.h, Source/Contents/Effects/Skills/EvilLandEffect.h, Source/Contents/Effects/Skills/EvilsPawEffect.h, Source/Contents/Effects/Skills/FlowerCastingEffect.h, Source/Contents/Effects/Skills/FortuneKissEffect.h, Source/Contents/Effects/Skills/FriggSongEffect.h, Source/Contents/Effects/Skills/FuumaShouakuEffect.h, Source/Contents/Effects/Skills/GlassWallEffect.h, Source/Contents/Effects/Skills/GravityControlEffect.h, Source/Contents/Effects/Skills/HealEffect.h, Source/Contents/Effects/Skills/HealSpEffect.h, Source/Contents/Effects/Skills/HitLineEffect.h, Source/Contents/Effects/Skills/JupitelThunderStormEffect.h, Source/Contents/Effects/Skills/Level150Effect.h, Source/Contents/Effects/Skills/Level99Effect.h, Source/Contents/Effects/Skills/Level99Orb1Effect.h, Source/Contents/Effects/Skills/Level99Orb2Effect.h, Source/Contents/Effects/Skills/LightSphereEffect.h, Source/Contents/Effects/Skills/MagicFloorEffect.h, Source/Contents/Effects/Skills/MagnumBreak.h, Source/Contents/Effects/Skills/MandraAttackEffect.h, Source/Contents/Effects/Skills/MapChainEffect.h, Source/Contents/Effects/Skills/MapMagicZoneEffect.h, Source/Contents/Effects/Skills/MappillarEffect.h, Source/Contents/Effects/Skills/MonsterSkillEffects.h, Source/Contents/Effects/Skills/NyanggrassEffect.h, Source/Contents/Effects/Skills/PartyMemberEffects.h, Source/Contents/Effects/Skills/PokJukEffect.h, Source/Contents/Effects/Skills/PowderingEffect.h, Source/Contents/Effects/Skills/RainbowEffect.h, Source/Contents/Effects/Skills/RectUpEffect.h, Source/Contents/Effects/Skills/RedLineEffect.h, Source/Contents/Effects/Skills/RichManKim.h, Source/Contents/Effects/Skills/RotateBgEffect.h, Source/Contents/Effects/Skills/RotateItemEffect.h, Source/Contents/Effects/Skills/RotateLineEffect.h, Source/Contents/Effects/Skills/SaintCastingEffect.h, Source/Contents/Effects/Skills/ScatterEffect.h, Source/Contents/Effects/Skills/ShadowExceedEffect.h, Source/Contents/Effects/Skills/SkillEffects.h, Source/Contents/Effects/Skills/SmokeEffect.h, Source/Contents/Effects/Skills/SoulCollectEffect.h, Source/Contents/Effects/Skills/SoulUnityEffect.h, Source/Contents/Effects/Skills/SphereWind2Effect.h, Source/Contents/Effects/Skills/SphereWindEffect.h, Source/Contents/Effects/Skills/StarEffect.h, Source/Contents/Effects/Skills/StarEmperorEffect.h, Source/Contents/Effects/Skills/StealEffect.h, Source/Contents/Effects/Skills/StormCannonEffect.h, Source/Contents/Effects/Skills/StormGustEffect.h, Source/Contents/Effects/Skills/StormKickEffect.h, Source/Contents/Effects/Skills/SunStanceEffect.h, Source/Contents/Effects/Skills/TalismanMarkEffect.h, Source/Contents/Effects/Skills/TetraBallEffect.h, Source/Contents/Effects/Skills/ThrowEffects.h, Source/Contents/Effects/Skills/TriangleShotArrow.h, Source/Contents/Effects/Skills/ViolentQuakeEffect.h, Source/Contents/Effects/Skills/WhirlwindEffect.h, Source/Contents/Effects/Skills/WindEffect.h, Source/Contents/EntryQueue/EntryQueueMgr.h, Source/Contents/Events/CheckAttendanceMgr.h, Source/Contents/Events/RouletteMgr.h, Source/Contents/Events/ShowRankingScheduler.h, Source/Contents/Events/SpecialPopupMgr.h, Source/Contents/Guild/GuildInfo.h, Source/Contents/Guild/GuildMgr.h, Source/Contents/Guild/GuildTip.h, Source/Contents/Items/ClientItemLists.h, Source/Contents/Items/EnchantMgr.h, Source/Contents/Items/ItemDBToIDMgr.h, Source/Contents/Items/JobCodeForItem.h, Source/Contents/Map/FlyingShipRouteInfo.h, Source/Contents/Map/MapInfoMgr.h, Source/Contents/Map/MapPropertyMgr.h, Source/Contents/Map/MapSkyMgr.h, Source/Contents/Map/PrivateAirplaneMgr.h, Source/Contents/Map/TownInfoMgr.h, Source/Contents/Monster/ChampionMonsterMgr.h, Source/Contents/Movement/MovementRouteInterpolation.h, Source/Contents/Movement/TerrainPathSearch.h, Source/Contents/Navigation/NavigationManager.h, Source/Contents/Pet/PetEnums.h, Source/Contents/Pet/PetEvolutionMgr.h, Source/Contents/Quest/RenewQuestMgr.h, Source/Contents/Repute/ReputeMgr.h, Source/Contents/Repute/ReputeRecords.h, Source/Contents/Rodex/RodexMailStore.h, Source/Contents/RuneSystem/RuneSystem.h, Source/Contents/Skills/GraffiSkill.h, Source/Contents/Skin/SkinMgr.h, Source/Contents/Sprites/SpriteLayerDrawing.h, Source/Contents/Sprites/SpriteLayerOrder.h, Source/Contents/Sprites/SpriteRidingOffset.h, Source/Contents/Sprites/SpriteRidingPolicy.h, Source/Contents/Tables/ForbiddenWords.h, Source/Contents/Tables/MessageTable.h, Source/Contents/Tables/SimpleStringMgr.h, Source/Contents/Tables/TableMng.h, Source/Contents/Tables/TipBoxTitles.h, Source/Contents/Tables/TipOfTheDay.h, Source/Contents/Time/ServerTimeManager.h, Source/Contents/World/WorldViewData.h, Source/UI/Guild/UIGuildWnd.h, Source/UI/Lists/UIScrollBarVariants.h, Source/UI/Rodex/UIRodexInboxWnd.h, Source/UI/RuneSystem/UIRuneSystemWindows.h, Source/UI/RuneSystem/UIRuneSystemWnd.h, Source/UI/Text/UIAchWnd.h, Source/UI/UIReputeWnd.h, Source/UI/Window/UINewMakeCharWnd.h, Source/UI/Window/UIRoMapWnd.h, Source/Utility/JsonCppLoader.h, Source/Contents/AchievementMgr.h, Source/Contents/ActorNameCard.h, Source/Contents/Actors/GraffiSkill.h, Source/Contents/Actors/PetEnums.h, Source/Contents/AdventureGuideMgr.h, Source/Contents/CashEmotionMgr.h, Source/Contents/ChampionMonsterMgr.h, Source/Contents/CheckAttendanceMgr.h, Source/Contents/ClanInfo.h, Source/Contents/ClientItemLists.h, Source/Contents/Combat/CombatTypes.h, Source/Contents/ConfigMgr.h, Source/Contents/EffectResourceSwitcher.h, Source/Contents/Effects/AMachineEffect.h, Source/Contents/Effects/AcidifiedThrow.h, Source/Contents/Effects/AnimatedEmitterEffect.h, Source/Contents/Effects/ArrowEffect.h, Source/Contents/Effects/AstralStrikeEffect.h, Source/Contents/Effects/AxeBoomerang.h, Source/Contents/Effects/Bash.h, Source/Contents/Effects/BezierArcThrowEffect.h, Source/Contents/Effects/BindTrapEffect.h, Source/Contents/Effects/BlastForge.h, Source/Contents/Effects/CaneOfEvilEyeEffect.h, Source/Contents/Effects/CartCannon.h, Source/Contents/Effects/CellRangeEffect.h, Source/Contents/Effects/ChangeSizeEffect.h, Source/Contents/Effects/CharacterParticleBundle.h, Source/Contents/Effects/ChargingPierceEffect.h, Source/Contents/Effects/CherryBlossomEffect.h, Source/Contents/Effects/ClimaxEffect.h, Source/Contents/Effects/CloudEffect.h, Source/Contents/Effects/CloudKillEffect.h, Source/Contents/Effects/CommonFloorEffect.h, Source/Contents/Effects/Competentia.h, Source/Contents/Effects/CresciveBolt.h, Source/Contents/Effects/DummyEffectLauncher.h, Source/Contents/Effects/EZ2STREffect.h, Source/Contents/Effects/EZ2STREffectEx.h, Source/Contents/Effects/Effect.h, Source/Contents/Effects/EffectActor.h, Source/Contents/Effects/EffectEmitter.h, Source/Contents/Effects/EffectLists.h, Source/Contents/Effects/EffectMaker.h, Source/Contents/Effects/EffectMemoryMgr.h, Source/Contents/Effects/EffectMessageId.h, Source/Contents/Effects/EffectPoint.h, Source/Contents/Effects/EffectPrim.h, Source/Contents/Effects/EffectPrimId.h, Source/Contents/Effects/EffectPrimitiveMotion.h, Source/Contents/Effects/EffectPrimitiveState.h, Source/Contents/Effects/EffectTypes.h, Source/Contents/Effects/ElectricEffect.h, Source/Contents/Effects/EmitterEffect.h, Source/Contents/Effects/EnergyOrbEffect.h, Source/Contents/Effects/EvilLandEffect.h, Source/Contents/Effects/EvilsPawEffect.h, Source/Contents/Effects/FlowerCastingEffect.h, Source/Contents/Effects/FortuneKissEffect.h, Source/Contents/Effects/FriggSongEffect.h, Source/Contents/Effects/FuumaShouakuEffect.h, Source/Contents/Effects/GlassWallEffect.h, Source/Contents/Effects/GravityControlEffect.h, Source/Contents/Effects/HealEffect.h, Source/Contents/Effects/HealSpEffect.h, Source/Contents/Effects/HitLineEffect.h, Source/Contents/Effects/JupitelThunderStormEffect.h, Source/Contents/Effects/Level150Effect.h, Source/Contents/Effects/Level99Effect.h, Source/Contents/Effects/Level99Orb1Effect.h, Source/Contents/Effects/Level99Orb2Effect.h, Source/Contents/Effects/LightSphereEffect.h, Source/Contents/Effects/MagicFloorEffect.h, Source/Contents/Effects/MagnumBreak.h, Source/Contents/Effects/MandraAttackEffect.h, Source/Contents/Effects/MapChainEffect.h, Source/Contents/Effects/MapMagicZoneEffect.h, Source/Contents/Effects/MappillarEffect.h, Source/Contents/Effects/MonsterSkillEffects.h, Source/Contents/Effects/MsgEffect.h, Source/Contents/Effects/NyanggrassEffect.h, Source/Contents/Effects/Particle.h, Source/Contents/Effects/ParticlePool.h, Source/Contents/Effects/PartyMemberEffects.h, Source/Contents/Effects/PokJukEffect.h, Source/Contents/Effects/PowderingEffect.h, Source/Contents/Effects/RagEffect.h, Source/Contents/Effects/RagEffectState.h, Source/Contents/Effects/RainbowEffect.h, Source/Contents/Effects/RectUpEffect.h, Source/Contents/Effects/RedLineEffect.h, Source/Contents/Effects/RichManKim.h, Source/Contents/Effects/RotateBgEffect.h, Source/Contents/Effects/RotateItemEffect.h, Source/Contents/Effects/RotateLineEffect.h, Source/Contents/Effects/SaintCastingEffect.h, Source/Contents/Effects/ScatterEffect.h, Source/Contents/Effects/ShadowExceedEffect.h, Source/Contents/Effects/ShowEffect.h, Source/Contents/Effects/SkillEffects.h, Source/Contents/Effects/SmokeEffect.h, Source/Contents/Effects/SoulCollectEffect.h, Source/Contents/Effects/SoulUnityEffect.h, Source/Contents/Effects/SphereWind2Effect.h, Source/Contents/Effects/SphereWindEffect.h, Source/Contents/Effects/SpriteEffect.h, Source/Contents/Effects/SpriteParticle.h, Source/Contents/Effects/SquareRangeEffect.h, Source/Contents/Effects/StarEffect.h, Source/Contents/Effects/StarEmperorEffect.h, Source/Contents/Effects/StealEffect.h, Source/Contents/Effects/StormCannonEffect.h, Source/Contents/Effects/StormGustEffect.h, Source/Contents/Effects/StormKickEffect.h, Source/Contents/Effects/SunStanceEffect.h, Source/Contents/Effects/TalismanMarkEffect.h, Source/Contents/Effects/TetraBallEffect.h, Source/Contents/Effects/ThrowEffects.h, Source/Contents/Effects/TriangleShotArrow.h, Source/Contents/Effects/ViolentQuakeEffect.h, Source/Contents/Effects/WhirlwindEffect.h, Source/Contents/Effects/WindEffect.h, Source/Contents/EnchantMgr.h, Source/Contents/EntryQueueMgr.h, Source/Contents/EquipmentResourceMgr.h, Source/Contents/FlyingShipRouteInfo.h, Source/Contents/ForbiddenWords.h, Source/Contents/GuildInfo.h, Source/Contents/GuildMgr.h, Source/Contents/GuildTip.h, Source/Contents/ItemDBToIDMgr.h, Source/Contents/Items/RuneSystem.h, Source/Contents/JobCodeForItem.h, Source/Contents/MapInfoMgr.h, Source/Contents/MapPropertyMgr.h, Source/Contents/MapSkyMgr.h, Source/Contents/MessageTable.h, Source/Contents/MovementRouteInterpolation.h, Source/Contents/NavigationManager.h, Source/Contents/PetEvolutionMgr.h, Source/Contents/PlayerNameDictionary.h, Source/Contents/PrivateAirplaneMgr.h, Source/Contents/RDamageVar.h, Source/Contents/RenewQuestMgr.h, Source/Contents/ReputeMgr.h, Source/Contents/ReputeRecords.h, Source/Contents/RodexMailStore.h, Source/Contents/RouletteMgr.h, Source/Contents/ServerTimeManager.h, Source/Contents/ShowRankingScheduler.h, Source/Contents/SimpleStringMgr.h, Source/Contents/SkinMgr.h, Source/Contents/SpecialPopupMgr.h, Source/Contents/SpriteLayerDrawing.h, Source/Contents/SpriteLayerOrder.h, Source/Contents/SpriteRidingOffset.h, Source/Contents/SpriteRidingPolicy.h, Source/Contents/TableMng.h, Source/Contents/TerrainPathSearch.h, Source/Contents/TipBoxTitles.h, Source/Contents/TipOfTheDay.h, Source/Contents/TownInfoMgr.h, Source/Contents/WorldView/WorldViewData.h. Adds to the build: Source/Contents/Achievement/AchievementMgr.cpp, Source/Contents/Actors/ActorGeometry.cpp, Source/Contents/Actors/ActorNameCache.cpp, Source/Contents/Actors/ActorNameCard.cpp, Source/Contents/Actors/ActorNameDirectory.cpp, Source/Contents/Actors/ActorNameRequests.cpp, Source/Contents/Actors/PlayerNameDictionary.cpp, Source/Contents/Actors/Resources/BodyResources.cpp, Source/Contents/Actors/Resources/EquipmentResources.cpp, Source/Contents/Actors/Resources/HeadResources.cpp, Source/Contents/Actors/Resources/MonsterResources.cpp, Source/Contents/Actors/Resources/RobeResources.cpp, Source/Contents/Actors/Resources/StatusIconImages.cpp, Source/Contents/AdventureGuide/AdventureGuideMgr.cpp, Source/Contents/CashEmotion/CashEmotionMgr.cpp, Source/Contents/Clan/ClanInfo.cpp, Source/Contents/Configuration/ConfigMgr.cpp, Source/Contents/Effects/Core/CellRangeEffect.cpp, Source/Contents/Effects/Core/ChangeSizeEffect.cpp, Source/Contents/Effects/Core/DummyEffectLauncher.cpp, Source/Contents/Effects/Core/Effect.cpp, Source/Contents/Effects/Core/EffectActor.cpp, Source/Contents/Effects/Core/EffectAttachments.cpp, Source/Contents/Effects/Core/EffectForceRender.cpp, Source/Contents/Effects/Core/EffectLists.cpp, Source/Contents/Effects/Core/EffectMaker.cpp, Source/Contents/Effects/Core/EffectMemoryMgr.cpp, Source/Contents/Effects/Core/EffectTypes.cpp, Source/Contents/Effects/Core/EffectVisibility.cpp, Source/Contents/Effects/Core/MsgEffect.cpp, Source/Contents/Effects/Core/RagEffect.cpp, Source/Contents/Effects/Core/RagEffectInitialization.cpp, Source/Contents/Effects/Core/ShowEffect.cpp, Source/Contents/Effects/Core/SquareRangeEffect.cpp, Source/Contents/Effects/EffectResourceSwitcher.cpp, Source/Contents/Effects/Particles/AnimatedEmitterEffect.cpp, Source/Contents/Effects/Particles/CharacterParticleBundle.cpp, Source/Contents/Effects/Particles/EZ2STREffect.cpp, Source/Contents/Effects/Particles/EZ2STREffectEx.cpp, Source/Contents/Effects/Particles/EmitterEffect.cpp, Source/Contents/Effects/Particles/Particle.cpp, Source/Contents/Effects/Particles/ParticlePool.cpp, Source/Contents/Effects/Particles/SpriteEffect.cpp, Source/Contents/Effects/Particles/SpriteParticle.cpp, Source/Contents/Effects/Primitives/EffectPrim.cpp, Source/Contents/Effects/Primitives/EffectPrimitiveArcs.cpp, Source/Contents/Effects/Primitives/EffectPrimitiveColor.cpp, Source/Contents/Effects/Primitives/EffectPrimitiveGlowSquares.cpp, Source/Contents/Effects/Primitives/EffectPrimitiveMotion.cpp, Source/Contents/Effects/Primitives/EffectPrimitivePanels.cpp, Source/Contents/Effects/Primitives/EffectPrimitiveRecords.cpp, Source/Contents/Effects/Primitives/EffectPrimitiveRendering.cpp, Source/Contents/Effects/Primitives/EffectPrimitiveSprites.cpp, Source/Contents/Effects/Primitives/EffectPrimitiveState.cpp, Source/Contents/Effects/Primitives/EffectPrimitiveSweeps.cpp, Source/Contents/Effects/RDamageVar.cpp, Source/Contents/Effects/Skills/AMachineEffect.cpp, Source/Contents/Effects/Skills/AcidifiedThrow.cpp, Source/Contents/Effects/Skills/ArrowEffect.cpp, Source/Contents/Effects/Skills/AstralStrikeEffect.cpp, Source/Contents/Effects/Skills/AxeBoomerang.cpp, Source/Contents/Effects/Skills/Bash.cpp, Source/Contents/Effects/Skills/BezierArcThrowEffect.cpp, Source/Contents/Effects/Skills/BindTrapEffect.cpp, Source/Contents/Effects/Skills/BlastForge.cpp, Source/Contents/Effects/Skills/CaneOfEvilEyeEffect.cpp, Source/Contents/Effects/Skills/CartCannon.cpp, Source/Contents/Effects/Skills/ChargingPierceEffect.cpp, Source/Contents/Effects/Skills/CherryBlossomEffect.cpp, Source/Contents/Effects/Skills/ClimaxEffect.cpp, Source/Contents/Effects/Skills/CloudEffect.cpp, Source/Contents/Effects/Skills/CloudKillEffect.cpp, Source/Contents/Effects/Skills/CommonFloorEffect.cpp, Source/Contents/Effects/Skills/Competentia.cpp, Source/Contents/Effects/Skills/CresciveBolt.cpp, Source/Contents/Effects/Skills/ElectricEffect.cpp, Source/Contents/Effects/Skills/EnergyOrbEffect.cpp, Source/Contents/Effects/Skills/EvilLandEffect.cpp, Source/Contents/Effects/Skills/EvilsPawEffect.cpp, Source/Contents/Effects/Skills/FlowerCastingEffect.cpp, Source/Contents/Effects/Skills/FortuneKissEffect.cpp, Source/Contents/Effects/Skills/FriggSongEffect.cpp, Source/Contents/Effects/Skills/FuumaShouakuEffect.cpp, Source/Contents/Effects/Skills/GlassWallEffect.cpp, Source/Contents/Effects/Skills/HealEffect.cpp, Source/Contents/Effects/Skills/HealSpEffect.cpp, Source/Contents/Effects/Skills/HitLineEffect.cpp, Source/Contents/Effects/Skills/JupitelThunderStormEffect.cpp, Source/Contents/Effects/Skills/Level150Effect.cpp, Source/Contents/Effects/Skills/Level99Effect.cpp, Source/Contents/Effects/Skills/Level99Orb1Effect.cpp, Source/Contents/Effects/Skills/Level99Orb2Effect.cpp, Source/Contents/Effects/Skills/LightSphereEffect.cpp, Source/Contents/Effects/Skills/MagicFloorEffect.cpp, Source/Contents/Effects/Skills/MagnumBreak.cpp, Source/Contents/Effects/Skills/MandraAttackEffect.cpp, Source/Contents/Effects/Skills/MapChainEffect.cpp, Source/Contents/Effects/Skills/MapMagicZoneEffect.cpp, Source/Contents/Effects/Skills/MappillarEffect.cpp, Source/Contents/Effects/Skills/MeteorEffect.cpp, Source/Contents/Effects/Skills/MonsterSkillEffects.cpp, Source/Contents/Effects/Skills/NyanggrassEffect.cpp, Source/Contents/Effects/Skills/PartyMemberEffects.cpp, Source/Contents/Effects/Skills/PokJukEffect.cpp, Source/Contents/Effects/Skills/PowderingEffect.cpp, Source/Contents/Effects/Skills/RainbowEffect.cpp, Source/Contents/Effects/Skills/RectUpEffect.cpp, Source/Contents/Effects/Skills/RedLineEffect.cpp, Source/Contents/Effects/Skills/RichManKim.cpp, Source/Contents/Effects/Skills/RotateBgEffect.cpp, Source/Contents/Effects/Skills/RotateItemEffect.cpp, Source/Contents/Effects/Skills/RotateLineEffect.cpp, Source/Contents/Effects/Skills/SaintCastingEffect.cpp, Source/Contents/Effects/Skills/ScatterEffect.cpp, Source/Contents/Effects/Skills/ShadowExceedEffect.cpp, Source/Contents/Effects/Skills/ShadowExceedNewEffect.cpp, Source/Contents/Effects/Skills/SmokeEffect.cpp, Source/Contents/Effects/Skills/SoulCollectEffect.cpp, Source/Contents/Effects/Skills/SoulUnityEffect.cpp, Source/Contents/Effects/Skills/SphereWind2Effect.cpp, Source/Contents/Effects/Skills/SphereWindEffect.cpp, Source/Contents/Effects/Skills/StarEffect.cpp, Source/Contents/Effects/Skills/StarEmperorEffect.cpp, Source/Contents/Effects/Skills/StealEffect.cpp, Source/Contents/Effects/Skills/StormCannonEffect.cpp, Source/Contents/Effects/Skills/StormGustEffect.cpp, Source/Contents/Effects/Skills/StormKickEffect.cpp, Source/Contents/Effects/Skills/SunStanceEffect.cpp, Source/Contents/Effects/Skills/TalismanMarkEffect.cpp, Source/Contents/Effects/Skills/TetraBallEffect.cpp, Source/Contents/Effects/Skills/ThrowEffects.cpp, Source/Contents/Effects/Skills/TriangleShotArrow.cpp, Source/Contents/Effects/Skills/ViolentQuakeEffect.cpp, Source/Contents/Effects/Skills/WindEffect.cpp, Source/Contents/Emblems/EmblemCacheRaw.cpp, Source/Contents/Emblems/GuildEmblemLookup.cpp, Source/Contents/Emblems/GuildEmblemState.cpp, Source/Contents/EntryQueue/EntryQueueMgr.cpp, Source/Contents/Events/CheckAttendanceMgr.cpp, Source/Contents/Events/RouletteMgr.cpp, Source/Contents/Events/ShowRankingScheduler.cpp, Source/Contents/Events/SpecialPopupMgr.cpp, Source/Contents/Guild/GuildInfo.cpp, Source/Contents/Guild/GuildMgr.cpp, Source/Contents/Guild/GuildTip.cpp, Source/Contents/Items/ClientItemLists.cpp, Source/Contents/Items/EnchantMgr.cpp, Source/Contents/Items/ItemDBToIDMgr.cpp, Source/Contents/Items/JobCodeForItem.cpp, Source/Contents/Map/FlyingShipRouteInfo.cpp, Source/Contents/Map/MapInfoMgr.cpp, Source/Contents/Map/MapNameTable.cpp, Source/Contents/Map/MapPropertyMgr.cpp, Source/Contents/Map/MapSkyMgr.cpp, Source/Contents/Map/PrivateAirplaneMgr.cpp, Source/Contents/Map/TownInfoMgr.cpp, Source/Contents/Models/ModelKeyframes.cpp, Source/Contents/Monster/ChampionMonsterMgr.cpp, Source/Contents/Monster/EnemyMonsterTalk.cpp, Source/Contents/Monster/MonsterSpeech.cpp, Source/Contents/Monster/MonsterXmlActions.cpp, Source/Contents/Movement/ActorMovementRoute.cpp, Source/Contents/Movement/MovementRoute.cpp, Source/Contents/Movement/MovementRouteInterpolation.cpp, Source/Contents/Movement/MovementTraversal.cpp, Source/Contents/Movement/Pathfinding.cpp, Source/Contents/Movement/TerrainPathSearch.cpp, Source/Contents/Navigation/NavigationCandidates.cpp, Source/Contents/Navigation/NavigationDestinations.cpp, Source/Contents/Navigation/NavigationGraph.cpp, Source/Contents/Navigation/NavigationLink.cpp, Source/Contents/Navigation/NavigationRequest.cpp, Source/Contents/Navigation/NavigationRoute.cpp, Source/Contents/Navigation/NavigationSource.cpp, Source/Contents/Navigation/NpcLocationRadius.cpp, Source/Contents/Navigation/WorldNavigation.cpp, Source/Contents/Pet/PetEvolutionMgr.cpp, Source/Contents/Pet/PetStatus.cpp, Source/Contents/Pet/PetStrings.cpp, Source/Contents/Pet/PetTalk.cpp, Source/Contents/Pet/PetTalkNames.cpp, Source/Contents/Quest/RenewQuestMgr.cpp, Source/Contents/Repute/ReputeMgr.cpp, Source/Contents/Rodex/RodexMailStore.cpp, Source/Contents/RuneSystem/RuneSystem.cpp, Source/Contents/Skills/GraffiSkill.cpp, Source/Contents/Skin/SkinCatalog.cpp, Source/Contents/Skin/SkinInfo.cpp, Source/Contents/Skin/SkinMgr.cpp, Source/Contents/Sound/HitSounds.cpp, Source/Contents/Sprites/RobeOpacity.cpp, Source/Contents/Sprites/RobeTopLayer.cpp, Source/Contents/Sprites/SpriteFrameSynchronization.cpp, Source/Contents/Sprites/SpriteJob.cpp, Source/Contents/Sprites/SpriteLayerDepth.cpp, Source/Contents/Sprites/SpriteLayerDrawing.cpp, Source/Contents/Sprites/SpriteLayerOrder.cpp, Source/Contents/Sprites/SpriteRidingOffset.cpp, Source/Contents/Sprites/SpriteRidingPolicy.cpp, Source/Contents/Sprites/SpriteRobe.cpp, Source/Contents/Sprites/SpriteRobeCommands.cpp, Source/Contents/Sprites/SpriteShadow.cpp, Source/Contents/Tables/ClientXmlTables.cpp, Source/Contents/Tables/ForbiddenWords.cpp, Source/Contents/Tables/MessageTable.cpp, Source/Contents/Tables/SimpleStringMgr.cpp, Source/Contents/Tables/TableMng.cpp, Source/Contents/Tables/TipBoxTitles.cpp, Source/Contents/Tables/TipOfTheDay.cpp, Source/Contents/Time/ClientTiming.cpp, Source/Contents/Time/ServerTimeManager.cpp, Source/Contents/World/WorldViewData.cpp Deletes: Source/Contents/AchievementMgr.cpp, Source/Contents/AchievementMgr.h, Source/Contents/ActorGeometry.cpp, Source/Contents/ActorMovementRoute.cpp, Source/Contents/ActorNameCache.cpp, Source/Contents/ActorNameCard.cpp, Source/Contents/ActorNameCard.h, Source/Contents/ActorNameDirectory.cpp, Source/Contents/ActorNameRequests.cpp, Source/Contents/Actors/GraffiSkill.cpp, Source/Contents/Actors/GraffiSkill.h, Source/Contents/Actors/PetEnums.h, Source/Contents/AdventureGuideMgr.cpp, Source/Contents/AdventureGuideMgr.h, Source/Contents/BodyResources.cpp, Source/Contents/CashEmotionMgr.cpp, Source/Contents/CashEmotionMgr.h, Source/Contents/ChampionMonsterMgr.cpp, Source/Contents/ChampionMonsterMgr.h, Source/Contents/CheckAttendanceMgr.cpp, Source/Contents/CheckAttendanceMgr.h, Source/Contents/ClanInfo.cpp, Source/Contents/ClanInfo.h, Source/Contents/ClientItemLists.cpp, Source/Contents/ClientItemLists.h, Source/Contents/ClientTiming.cpp, Source/Contents/ClientXmlTables.cpp, Source/Contents/Combat/CombatTypes.h, Source/Contents/ConfigMgr.cpp, Source/Contents/ConfigMgr.h, Source/Contents/EffectResourceSwitcher.cpp, Source/Contents/EffectResourceSwitcher.h, Source/Contents/Effects/AMachineEffect.cpp, Source/Contents/Effects/AMachineEffect.h, Source/Contents/Effects/AcidifiedThrow.cpp, Source/Contents/Effects/AcidifiedThrow.h, Source/Contents/Effects/AnimatedEmitterEffect.cpp, Source/Contents/Effects/AnimatedEmitterEffect.h, Source/Contents/Effects/ArrowEffect.cpp, Source/Contents/Effects/ArrowEffect.h, Source/Contents/Effects/AstralStrikeEffect.cpp, Source/Contents/Effects/AstralStrikeEffect.h, Source/Contents/Effects/AxeBoomerang.cpp, Source/Contents/Effects/AxeBoomerang.h, Source/Contents/Effects/Bash.cpp, Source/Contents/Effects/Bash.h, Source/Contents/Effects/BezierArcThrowEffect.cpp, Source/Contents/Effects/BezierArcThrowEffect.h, Source/Contents/Effects/BindTrapEffect.cpp, Source/Contents/Effects/BindTrapEffect.h, Source/Contents/Effects/BlastForge.cpp, Source/Contents/Effects/BlastForge.h, Source/Contents/Effects/CaneOfEvilEyeEffect.cpp, Source/Contents/Effects/CaneOfEvilEyeEffect.h, Source/Contents/Effects/CartCannon.cpp, Source/Contents/Effects/CartCannon.h, Source/Contents/Effects/CellRangeEffect.cpp, Source/Contents/Effects/CellRangeEffect.h, Source/Contents/Effects/ChangeSizeEffect.cpp, Source/Contents/Effects/ChangeSizeEffect.h, Source/Contents/Effects/CharacterParticleBundle.cpp, Source/Contents/Effects/CharacterParticleBundle.h, Source/Contents/Effects/ChargingPierceEffect.cpp, Source/Contents/Effects/ChargingPierceEffect.h, Source/Contents/Effects/CherryBlossomEffect.cpp, Source/Contents/Effects/CherryBlossomEffect.h, Source/Contents/Effects/ClimaxEffect.cpp, Source/Contents/Effects/ClimaxEffect.h, Source/Contents/Effects/CloudEffect.cpp, Source/Contents/Effects/CloudEffect.h, Source/Contents/Effects/CloudKillEffect.cpp, Source/Contents/Effects/CloudKillEffect.h, Source/Contents/Effects/CommonFloorEffect.cpp, Source/Contents/Effects/CommonFloorEffect.h, Source/Contents/Effects/Competentia.cpp, Source/Contents/Effects/Competentia.h, Source/Contents/Effects/CresciveBolt.cpp, Source/Contents/Effects/CresciveBolt.h, Source/Contents/Effects/DummyEffectLauncher.cpp, Source/Contents/Effects/DummyEffectLauncher.h, Source/Contents/Effects/EZ2STREffect.cpp, Source/Contents/Effects/EZ2STREffect.h, Source/Contents/Effects/EZ2STREffectEx.cpp, Source/Contents/Effects/EZ2STREffectEx.h, Source/Contents/Effects/Effect.cpp, Source/Contents/Effects/Effect.h, Source/Contents/Effects/EffectActor.cpp, Source/Contents/Effects/EffectActor.h, Source/Contents/Effects/EffectAttachments.cpp, Source/Contents/Effects/EffectEmitter.h, Source/Contents/Effects/EffectForceRender.cpp, Source/Contents/Effects/EffectLists.cpp, Source/Contents/Effects/EffectLists.h, Source/Contents/Effects/EffectMaker.cpp, Source/Contents/Effects/EffectMaker.h, Source/Contents/Effects/EffectMemoryMgr.cpp, Source/Contents/Effects/EffectMemoryMgr.h, Source/Contents/Effects/EffectMessageId.h, Source/Contents/Effects/EffectPoint.h, Source/Contents/Effects/EffectPrim.cpp, Source/Contents/Effects/EffectPrim.h, Source/Contents/Effects/EffectPrimId.h, Source/Contents/Effects/EffectPrimitiveArcs.cpp, Source/Contents/Effects/EffectPrimitiveColor.cpp, Source/Contents/Effects/EffectPrimitiveGlowSquares.cpp, Source/Contents/Effects/EffectPrimitiveMotion.cpp, Source/Contents/Effects/EffectPrimitiveMotion.h, Source/Contents/Effects/EffectPrimitivePanels.cpp, Source/Contents/Effects/EffectPrimitiveRecords.cpp, Source/Contents/Effects/EffectPrimitiveRendering.cpp, Source/Contents/Effects/EffectPrimitiveSprites.cpp, Source/Contents/Effects/EffectPrimitiveState.cpp, Source/Contents/Effects/EffectPrimitiveState.h, Source/Contents/Effects/EffectPrimitiveSweeps.cpp, Source/Contents/Effects/EffectTypes.cpp, Source/Contents/Effects/EffectTypes.h, Source/Contents/Effects/EffectVisibility.cpp, Source/Contents/Effects/ElectricEffect.cpp, Source/Contents/Effects/ElectricEffect.h, Source/Contents/Effects/EmitterEffect.cpp, Source/Contents/Effects/EmitterEffect.h, Source/Contents/Effects/EnergyOrbEffect.cpp, Source/Contents/Effects/EnergyOrbEffect.h, Source/Contents/Effects/EvilLandEffect.cpp, Source/Contents/Effects/EvilLandEffect.h, Source/Contents/Effects/EvilsPawEffect.cpp, Source/Contents/Effects/EvilsPawEffect.h, Source/Contents/Effects/FlowerCastingEffect.cpp, Source/Contents/Effects/FlowerCastingEffect.h, Source/Contents/Effects/FortuneKissEffect.cpp, Source/Contents/Effects/FortuneKissEffect.h, Source/Contents/Effects/FriggSongEffect.cpp, Source/Contents/Effects/FriggSongEffect.h, Source/Contents/Effects/FuumaShouakuEffect.cpp, Source/Contents/Effects/FuumaShouakuEffect.h, Source/Contents/Effects/GlassWallEffect.cpp, Source/Contents/Effects/GlassWallEffect.h, Source/Contents/Effects/GravityControlEffect.h, Source/Contents/Effects/HealEffect.cpp, Source/Contents/Effects/HealEffect.h, Source/Contents/Effects/HealSpEffect.cpp, Source/Contents/Effects/HealSpEffect.h, Source/Contents/Effects/HitLineEffect.cpp, Source/Contents/Effects/HitLineEffect.h, Source/Contents/Effects/JupitelThunderStormEffect.cpp, Source/Contents/Effects/JupitelThunderStormEffect.h, Source/Contents/Effects/Level150Effect.cpp, Source/Contents/Effects/Level150Effect.h, Source/Contents/Effects/Level99Effect.cpp, Source/Contents/Effects/Level99Effect.h, Source/Contents/Effects/Level99Orb1Effect.cpp, Source/Contents/Effects/Level99Orb1Effect.h, Source/Contents/Effects/Level99Orb2Effect.cpp, Source/Contents/Effects/Level99Orb2Effect.h, Source/Contents/Effects/LightSphereEffect.cpp, Source/Contents/Effects/LightSphereEffect.h, Source/Contents/Effects/MagicFloorEffect.cpp, Source/Contents/Effects/MagicFloorEffect.h, Source/Contents/Effects/MagnumBreak.cpp, Source/Contents/Effects/MagnumBreak.h, Source/Contents/Effects/MandraAttackEffect.cpp, Source/Contents/Effects/MandraAttackEffect.h, Source/Contents/Effects/MapChainEffect.cpp, Source/Contents/Effects/MapChainEffect.h, Source/Contents/Effects/MapMagicZoneEffect.cpp, Source/Contents/Effects/MapMagicZoneEffect.h, Source/Contents/Effects/MappillarEffect.cpp, Source/Contents/Effects/MappillarEffect.h, Source/Contents/Effects/MeteorEffect.cpp, Source/Contents/Effects/MonsterSkillEffects.cpp, Source/Contents/Effects/MonsterSkillEffects.h, Source/Contents/Effects/MsgEffect.cpp, Source/Contents/Effects/MsgEffect.h, Source/Contents/Effects/NyanggrassEffect.cpp, Source/Contents/Effects/NyanggrassEffect.h, Source/Contents/Effects/Particle.cpp, Source/Contents/Effects/Particle.h, Source/Contents/Effects/ParticlePool.cpp, Source/Contents/Effects/ParticlePool.h, Source/Contents/Effects/PartyMemberEffects.cpp, Source/Contents/Effects/PartyMemberEffects.h, Source/Contents/Effects/PokJukEffect.cpp, Source/Contents/Effects/PokJukEffect.h, Source/Contents/Effects/PowderingEffect.cpp, Source/Contents/Effects/PowderingEffect.h, Source/Contents/Effects/RagEffect.cpp, Source/Contents/Effects/RagEffect.h, Source/Contents/Effects/RagEffectInitialization.cpp, Source/Contents/Effects/RagEffectState.h, Source/Contents/Effects/RainbowEffect.cpp, Source/Contents/Effects/RainbowEffect.h, Source/Contents/Effects/RectUpEffect.cpp, Source/Contents/Effects/RectUpEffect.h, Source/Contents/Effects/RedLineEffect.cpp, Source/Contents/Effects/RedLineEffect.h, Source/Contents/Effects/RichManKim.cpp, Source/Contents/Effects/RichManKim.h, Source/Contents/Effects/RotateBgEffect.cpp, Source/Contents/Effects/RotateBgEffect.h, Source/Contents/Effects/RotateItemEffect.cpp, Source/Contents/Effects/RotateItemEffect.h, Source/Contents/Effects/RotateLineEffect.cpp, Source/Contents/Effects/RotateLineEffect.h, Source/Contents/Effects/SaintCastingEffect.cpp, Source/Contents/Effects/SaintCastingEffect.h, Source/Contents/Effects/ScatterEffect.cpp, Source/Contents/Effects/ScatterEffect.h, Source/Contents/Effects/ShadowExceedEffect.cpp, Source/Contents/Effects/ShadowExceedEffect.h, Source/Contents/Effects/ShadowExceedNewEffect.cpp, Source/Contents/Effects/ShowEffect.cpp, Source/Contents/Effects/ShowEffect.h, Source/Contents/Effects/SkillEffects.h, Source/Contents/Effects/SmokeEffect.cpp, Source/Contents/Effects/SmokeEffect.h, Source/Contents/Effects/SoulCollectEffect.cpp, Source/Contents/Effects/SoulCollectEffect.h, Source/Contents/Effects/SoulUnityEffect.cpp, Source/Contents/Effects/SoulUnityEffect.h, Source/Contents/Effects/SphereWind2Effect.cpp, Source/Contents/Effects/SphereWind2Effect.h, Source/Contents/Effects/SphereWindEffect.cpp, Source/Contents/Effects/SphereWindEffect.h, Source/Contents/Effects/SpriteEffect.cpp, Source/Contents/Effects/SpriteEffect.h, Source/Contents/Effects/SpriteParticle.cpp, Source/Contents/Effects/SpriteParticle.h, Source/Contents/Effects/SquareRangeEffect.cpp, Source/Contents/Effects/SquareRangeEffect.h, Source/Contents/Effects/StarEffect.cpp, Source/Contents/Effects/StarEffect.h, Source/Contents/Effects/StarEmperorEffect.cpp, Source/Contents/Effects/StarEmperorEffect.h, Source/Contents/Effects/StealEffect.cpp, Source/Contents/Effects/StealEffect.h, Source/Contents/Effects/StormCannonEffect.cpp, Source/Contents/Effects/StormCannonEffect.h, Source/Contents/Effects/StormGustEffect.cpp, Source/Contents/Effects/StormGustEffect.h, Source/Contents/Effects/StormKickEffect.cpp, Source/Contents/Effects/StormKickEffect.h, Source/Contents/Effects/SunStanceEffect.cpp, Source/Contents/Effects/SunStanceEffect.h, Source/Contents/Effects/TalismanMarkEffect.cpp, Source/Contents/Effects/TalismanMarkEffect.h, Source/Contents/Effects/TetraBallEffect.cpp, Source/Contents/Effects/TetraBallEffect.h, Source/Contents/Effects/ThrowEffects.cpp, Source/Contents/Effects/ThrowEffects.h, Source/Contents/Effects/TriangleShotArrow.cpp, Source/Contents/Effects/TriangleShotArrow.h, Source/Contents/Effects/ViolentQuakeEffect.cpp, Source/Contents/Effects/ViolentQuakeEffect.h, Source/Contents/Effects/WhirlwindEffect.h, Source/Contents/Effects/WindEffect.cpp, Source/Contents/Effects/WindEffect.h, Source/Contents/EmblemCacheRaw.cpp, Source/Contents/EnchantMgr.cpp, Source/Contents/EnchantMgr.h, Source/Contents/EnemyMonsterTalk.cpp, Source/Contents/EntryQueueMgr.cpp, Source/Contents/EntryQueueMgr.h, Source/Contents/EquipmentResourceMgr.h, Source/Contents/EquipmentResources.cpp, Source/Contents/FlyingShipRouteInfo.cpp, Source/Contents/FlyingShipRouteInfo.h, Source/Contents/ForbiddenWords.cpp, Source/Contents/ForbiddenWords.h, Source/Contents/GuildEmblemLookup.cpp, Source/Contents/GuildEmblemState.cpp, Source/Contents/GuildInfo.cpp, Source/Contents/GuildInfo.h, Source/Contents/GuildMgr.cpp, Source/Contents/GuildMgr.h, Source/Contents/GuildTip.cpp, Source/Contents/GuildTip.h, Source/Contents/HeadResources.cpp, Source/Contents/HitSounds.cpp, Source/Contents/ItemDBToIDMgr.cpp, Source/Contents/ItemDBToIDMgr.h, Source/Contents/Items/RuneSystem.cpp, Source/Contents/Items/RuneSystem.h, Source/Contents/JobCodeForItem.cpp, Source/Contents/JobCodeForItem.h, Source/Contents/MapInfoMgr.cpp, Source/Contents/MapInfoMgr.h, Source/Contents/MapNameTable.cpp, Source/Contents/MapPropertyMgr.cpp, Source/Contents/MapPropertyMgr.h, Source/Contents/MapSkyMgr.cpp, Source/Contents/MapSkyMgr.h, Source/Contents/MessageTable.cpp, Source/Contents/MessageTable.h, Source/Contents/ModelKeyframes.cpp, Source/Contents/MonsterResources.cpp, Source/Contents/MonsterSpeech.cpp, Source/Contents/MonsterXmlActions.cpp, Source/Contents/MovementRoute.cpp, Source/Contents/MovementRouteInterpolation.cpp, Source/Contents/MovementRouteInterpolation.h, Source/Contents/MovementTraversal.cpp, Source/Contents/NavigationCandidates.cpp, Source/Contents/NavigationDestinations.cpp, Source/Contents/NavigationGraph.cpp, Source/Contents/NavigationLink.cpp, Source/Contents/NavigationManager.h, Source/Contents/NavigationRequest.cpp, Source/Contents/NavigationRoute.cpp, Source/Contents/NavigationSource.cpp, Source/Contents/NpcLocationRadius.cpp, Source/Contents/Pathfinding.cpp, Source/Contents/PetEvolutionMgr.cpp, Source/Contents/PetEvolutionMgr.h, Source/Contents/PetStatus.cpp, Source/Contents/PetStrings.cpp, Source/Contents/PetTalk.cpp, Source/Contents/PetTalkNames.cpp, Source/Contents/PlayerNameDictionary.cpp, Source/Contents/PlayerNameDictionary.h, Source/Contents/PrivateAirplaneMgr.cpp, Source/Contents/PrivateAirplaneMgr.h, Source/Contents/RDamageVar.cpp, Source/Contents/RDamageVar.h, Source/Contents/RenewQuestMgr.cpp, Source/Contents/RenewQuestMgr.h, Source/Contents/ReputeMgr.cpp, Source/Contents/ReputeMgr.h, Source/Contents/ReputeRecords.h, Source/Contents/RobeOpacity.cpp, Source/Contents/RobeResources.cpp, Source/Contents/RobeTopLayer.cpp, Source/Contents/RodexMailStore.cpp, Source/Contents/RodexMailStore.h, Source/Contents/RouletteMgr.cpp, Source/Contents/RouletteMgr.h, Source/Contents/ServerTimeManager.cpp, Source/Contents/ServerTimeManager.h, Source/Contents/ShowRankingScheduler.cpp, Source/Contents/ShowRankingScheduler.h, Source/Contents/SimpleStringMgr.cpp, Source/Contents/SimpleStringMgr.h, Source/Contents/SkinCatalog.cpp, Source/Contents/SkinInfo.cpp, Source/Contents/SkinMgr.cpp, Source/Contents/SkinMgr.h, Source/Contents/SpecialPopupMgr.cpp, Source/Contents/SpecialPopupMgr.h, Source/Contents/SpriteFrameSynchronization.cpp, Source/Contents/SpriteJob.cpp, Source/Contents/SpriteLayerDepth.cpp, Source/Contents/SpriteLayerDrawing.cpp, Source/Contents/SpriteLayerDrawing.h, Source/Contents/SpriteLayerOrder.cpp, Source/Contents/SpriteLayerOrder.h, Source/Contents/SpriteRidingOffset.cpp, Source/Contents/SpriteRidingOffset.h, Source/Contents/SpriteRidingPolicy.cpp, Source/Contents/SpriteRidingPolicy.h, Source/Contents/SpriteRobe.cpp, Source/Contents/SpriteRobeCommands.cpp, Source/Contents/SpriteShadow.cpp, Source/Contents/StatusIconImages.cpp, Source/Contents/TableMng.cpp, Source/Contents/TableMng.h, Source/Contents/TerrainPathSearch.cpp, Source/Contents/TerrainPathSearch.h, Source/Contents/TipBoxTitles.cpp, Source/Contents/TipBoxTitles.h, Source/Contents/TipOfTheDay.cpp, Source/Contents/TipOfTheDay.h, Source/Contents/TownInfoMgr.cpp, Source/Contents/TownInfoMgr.h, Source/Contents/WorldNavigation.cpp, Source/Contents/WorldView/WorldViewData.cpp, Source/Contents/WorldView/WorldViewData.h
908 lines
29 KiB
C++
908 lines
29 KiB
C++
#include "UI/Window/WindowId.h"
|
|
#include "UI/Window/UIEnums.h"
|
|
#include "Contents/Quest/RenewQuestMgr.h"
|
|
#include "Contents/Tables/MessageTable.h"
|
|
#include "File/File.h"
|
|
#include "Network/Connection/Connection.h"
|
|
#include "Network/Packets/PacketId.h"
|
|
#include "Contents/Configuration/ServiceConfiguration.h"
|
|
#include "Script/LuaInstance.h"
|
|
#include "Script/LuaScript.h"
|
|
#include "Utility/Text/FormatString.h"
|
|
#include "Utility/Text/TextEscapes.h"
|
|
#include "UI/Quest/UIOngoingQuestInfo.h"
|
|
#include "UI/Quest/UIRenewQuestUI.h"
|
|
#include "UI/Window/UIWindowMgr.h"
|
|
#include "Client/Session.h"
|
|
|
|
#include "Resource/MSGSTRINGID.h"
|
|
extern "C" {
|
|
#include <lua.h>
|
|
#include <lauxlib.h>
|
|
}
|
|
|
|
#include <algorithm>
|
|
#include <cstdint>
|
|
#include <cstring>
|
|
#include <format>
|
|
#include <new>
|
|
#include <utility>
|
|
|
|
#pragma pack(push, 1)
|
|
struct RenewQuestOngoingRecord {
|
|
/* 0000 */ unsigned int questId;
|
|
/* 0004 */ unsigned char state;
|
|
/* 0005 */ unsigned char padding_0005;
|
|
/* 0006 */ short huntCount;
|
|
/* 0008 */ short year;
|
|
/* 000A */ short month;
|
|
/* 000C */ short day;
|
|
/* 000E */ short hour;
|
|
/* 0010 */ unsigned short minute;
|
|
/* 0012 */ unsigned short padding_0012;
|
|
/* 0014 */ unsigned int padding_0014;
|
|
};
|
|
|
|
struct RenewQuestHuntRecord {
|
|
/* 0000 */ int huntId;
|
|
/* 0004 */ int monsterCondition;
|
|
/* 0008 */ int monsterId;
|
|
/* 000C */ short minLevel;
|
|
/* 000E */ short maxLevel;
|
|
/* 0010 */ short killCount;
|
|
/* 0012 */ short killGoal;
|
|
/* 0014 */ char name[0x33];
|
|
};
|
|
|
|
struct RenewQuestShortHuntRecord {
|
|
/* 0000 */ int huntId;
|
|
/* 0004 */ int monsterCondition;
|
|
/* 0008 */ int monsterId;
|
|
/* 000C */ short minLevel;
|
|
/* 000E */ short maxLevel;
|
|
/* 0010 */ short killCount;
|
|
/* 0012 */ short killGoal;
|
|
/* 0014 */ char name[0x18];
|
|
};
|
|
|
|
struct PACKET_CZ_QUEST_STATUS_REQ {
|
|
/* 0000 */ std::int16_t packetType;
|
|
/* 0002 */ std::int16_t packetLength;
|
|
};
|
|
|
|
struct PACKET_CZ_QUEST_STATUS_REQ_BUFFER {
|
|
/* 0000 */ PACKET_CZ_QUEST_STATUS_REQ header;
|
|
/* 0004 */ unsigned int questIds[511];
|
|
};
|
|
#pragma pack(pop)
|
|
|
|
#if defined(_WIN32) && !defined(_WIN64)
|
|
static_assert(sizeof(RenewQuestOngoingRecord) == 0x18);
|
|
static_assert(sizeof(RenewQuestHuntRecord) == 0x47);
|
|
static_assert(sizeof(RenewQuestShortHuntRecord) == 0x2C);
|
|
static_assert(sizeof(PACKET_CZ_QUEST_STATUS_REQ_BUFFER) == 0x800);
|
|
#endif
|
|
|
|
// GLOBAL: gl_24837
|
|
CRenewQuestMgr* g_renewQuestMgr;
|
|
|
|
// OFFSET: 0x00676110
|
|
// FUNCTION: fn_05417
|
|
RenewQuestOngoingInfo::RenewQuestOngoingInfo() : m_simpleView(true), baseExpReward(""), jobExpReward("") {
|
|
this->m_descriptions.clear();
|
|
this->m_rewards.clear();
|
|
for (int index = 0; index < 3; ++index) {
|
|
this->m_huntMobId[index] = 31999;
|
|
this->m_huntMinLevel[index] = -1;
|
|
this->m_huntMaxLevel[index] = -1;
|
|
}
|
|
|
|
for (int index = 0; index < 3; ++index) {
|
|
for (int offset = 0; offset < 0x33; ++offset) {
|
|
this->m_huntName[index][offset] = 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x006765C0
|
|
// FUNCTION: fn_05420
|
|
RenewQuestInfo::RenewQuestInfo()
|
|
: m_state(1), m_title(""), m_icon(""), m_iconTooltip(""), summary(""), padding_0064(""), npcSprite(""), destinationMap(""),
|
|
destinationX(0), destinationY(0) {}
|
|
|
|
// OFFSET: 0x00676770
|
|
// FUNCTION: fn_05421
|
|
RenewQuestRecommendedInfo::RenewQuestRecommendedInfo() : backgroundImage("") {
|
|
for (int index = 0; index < 3; ++index) {
|
|
this->m_descriptions[index].clear();
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x00675990
|
|
// FUNCTION: fn_05414
|
|
CRenewQuestMgr::CRenewQuestMgr() : m_initialized(false) {
|
|
this->m_initialized = this->Clear();
|
|
this->m_parameter = 24;
|
|
}
|
|
|
|
// OFFSET: 0x00677C00
|
|
// FUNCTION: fn_05433
|
|
bool CRenewQuestMgr::Clear() {
|
|
this->m_ongoingQuests.clear();
|
|
this->m_recommendedQuests.clear();
|
|
return true;
|
|
}
|
|
|
|
// OFFSET: 0x00677C50
|
|
// FUNCTION: fn_05434
|
|
bool CRenewQuestMgr::Create() {
|
|
if (g_renewQuestMgr == nullptr) {
|
|
g_renewQuestMgr = new (std::nothrow) CRenewQuestMgr();
|
|
if (g_renewQuestMgr != nullptr) {
|
|
if (!g_renewQuestMgr->m_initialized) {
|
|
delete g_renewQuestMgr;
|
|
g_renewQuestMgr = nullptr;
|
|
return false;
|
|
}
|
|
|
|
return true;
|
|
}
|
|
}
|
|
|
|
return false;
|
|
}
|
|
|
|
// OFFSET: 0x00677CF0
|
|
// FUNCTION: fn_05435
|
|
void Nullsub212() {
|
|
}
|
|
|
|
// OFFSET: 0x00677D00
|
|
// FUNCTION: fn_05436
|
|
void CRenewQuestMgr::Destroy() {
|
|
if (g_renewQuestMgr != nullptr) {
|
|
delete g_renewQuestMgr;
|
|
g_renewQuestMgr = nullptr;
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x00677D20
|
|
// FUNCTION: fn_05437
|
|
void CRenewQuestMgr::RemoveStatusRequest(unsigned int id) {
|
|
const auto found = this->m_statusRequests.find(id);
|
|
if (found != this->m_statusRequests.end()) {
|
|
this->m_statusRequests.erase(found);
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x00677D80
|
|
// FUNCTION: fn_05438
|
|
std::string RenewQuestOngoingInfo::GetDateString() const {
|
|
return 1970 < this->m_year ? std::format("{0} [{1:04}/{2:02}/{3:02} {4:02}:{5:02}]", LookupMessage(MSI_NAVIGATION_ROUTEINFO), this->m_year,
|
|
this->m_month, this->m_day, this->m_hour, this->m_minute)
|
|
: std::string("");
|
|
}
|
|
|
|
// OFFSET: 0x006779A0
|
|
// FUNCTION: fn_05432
|
|
void CRenewQuestMgr::AddIconTooltip(std::string_view icon, std::string_view tooltip) {
|
|
const std::string text(tooltip);
|
|
this->m_iconTooltips[std::string(icon)] = text;
|
|
}
|
|
|
|
// OFFSET: 0x00677F40
|
|
// FUNCTION: fn_05439
|
|
std::string CRenewQuestMgr::GetFilterName(int filter) {
|
|
const std::map<int, RenewQuestFilter>::const_iterator found = this->m_filters.find(filter);
|
|
return this->m_filters.end() != found ? found->second.m_name : std::string("");
|
|
}
|
|
|
|
// OFFSET: 0x006780B0
|
|
// FUNCTION: fn_05440
|
|
std::string CRenewQuestMgr::GetMonsterConditionText(unsigned int flags, int minLevel, int maxLevel) {
|
|
std::string result;
|
|
std::string separator = " ";
|
|
|
|
if (flags != 0) {
|
|
if (flags & 0x20000) {
|
|
std::string text(LookupMessage(MSI_NAVIGATION_PROPERTY4));
|
|
text.erase(text.size() - 2, text.size());
|
|
result = result + text + separator;
|
|
}
|
|
|
|
if (flags & 0x40000) {
|
|
std::string text(LookupMessage(MSI_NAVIGATION_PROPERTY7));
|
|
text.erase(text.size() - 2, text.size());
|
|
result = result + text + separator;
|
|
}
|
|
|
|
if (flags & 0x80000) {
|
|
std::string text(LookupMessage(MSI_NAVIGATION_PROPERTY5));
|
|
text.erase(text.size() - 2, text.size());
|
|
result = result + text + separator;
|
|
}
|
|
|
|
if (flags & 0x100000) {
|
|
std::string text(LookupMessage(MSI_NAVIGATION_PROPERTY6));
|
|
text.erase(text.size() - 2, text.size());
|
|
result = result + text + separator;
|
|
}
|
|
|
|
if (flags & 0x200000) {
|
|
std::string text(LookupMessage(MSI_NAVIGATION_PROPERTY0));
|
|
text.erase(text.size() - 2, text.size());
|
|
result = result + text + separator;
|
|
}
|
|
|
|
if (flags & 0x400000) {
|
|
std::string text(LookupMessage(MSI_NAVIGATION_PROPERTY9));
|
|
text.erase(text.size() - 2, text.size());
|
|
result = result + text + separator;
|
|
}
|
|
|
|
if (flags & 0x800000) {
|
|
std::string text(LookupMessage(MSI_NAVIGATION_PROPERTY8));
|
|
text.erase(text.size() - 2, text.size());
|
|
result = result + text + separator;
|
|
}
|
|
|
|
if (flags & 0x1000000) {
|
|
std::string text(LookupMessage(MSI_NAVIGATION_SCALE1));
|
|
text.erase(text.size() - 2, text.size());
|
|
result = result + text + separator;
|
|
}
|
|
|
|
if (flags & 0x2000000) {
|
|
std::string text(LookupMessage(MSI_NAVIGATION_SCALE0));
|
|
text.erase(text.size() - 2, text.size());
|
|
result = result + text + separator;
|
|
}
|
|
|
|
if (flags & 0x4000000) {
|
|
std::string text(LookupMessage(MSI_NAVIGATION_SCALE2));
|
|
text.erase(text.size() - 2, text.size());
|
|
result = result + text + separator;
|
|
}
|
|
|
|
if (flags & 0x10) {
|
|
result = result + std::string(LookupMessage(MSI_NAVIGATION_RACE3)) + separator;
|
|
}
|
|
|
|
if (flags & 0x20) {
|
|
result = result + std::string(LookupMessage(MSI_NAVIGATION_RACE1)) + separator;
|
|
}
|
|
|
|
if (flags & 0x40) {
|
|
result = result + std::string(LookupMessage(MSI_NAVIGATION_RACE2)) + separator;
|
|
}
|
|
|
|
if (flags & 0x80) {
|
|
result = result + std::string(LookupMessage(MSI_NAVIGATION_RACE0)) + separator;
|
|
}
|
|
|
|
if (flags & 0x100) {
|
|
result = result + std::string(LookupMessage(MSI_NAVIGATION_RACE5)) + separator;
|
|
}
|
|
|
|
if (flags & 0x200) {
|
|
result = result + std::string(LookupMessage(MSI_NAVIGATION_RACE7)) + separator;
|
|
}
|
|
|
|
if (flags & 0x400) {
|
|
result = result + std::string(LookupMessage(MSI_NAVIGATION_RACE8)) + separator;
|
|
}
|
|
|
|
if (flags & 0x800) {
|
|
result = result + std::string(LookupMessage(MSI_NAVIGATION_RACE6)) + separator;
|
|
}
|
|
|
|
if (flags & 0x1000) {
|
|
result = result + std::string(LookupMessage(MSI_NAVIGATION_RACE9)) + separator;
|
|
}
|
|
|
|
if (flags & 0x2000) {
|
|
result = result + std::string(LookupMessage(MSI_NAVIGATION_MOVECLICK)) + separator;
|
|
}
|
|
|
|
if (flags & 0x4000) {
|
|
result = result + std::string(LookupMessage(MSI_NAVIGATION_RACE4)) + separator;
|
|
}
|
|
|
|
if (flags & 0x8000) {
|
|
result = result + std::string(LookupMessage(MSI_NAVIGATION_NPCCLICK)) + separator;
|
|
}
|
|
|
|
if (flags & 0x10000) {
|
|
result = result + std::string(LookupMessage(MSI_NAVIGATION_NPCMOVE)) + separator;
|
|
}
|
|
}
|
|
|
|
if (minLevel == 0) {
|
|
if (maxLevel > 0) {
|
|
result = result + " Lv." + IntToString(maxLevel, 0) + "▼";
|
|
}
|
|
} else if (minLevel > 0) {
|
|
if (maxLevel == 0) {
|
|
result = result + " Lv." + IntToString(minLevel, 0) + "▲";
|
|
} else if (minLevel < maxLevel) {
|
|
result = result + " Lv." + IntToString(minLevel, 0) + "~Lv." + IntToString(maxLevel, 0);
|
|
}
|
|
}
|
|
|
|
return result;
|
|
}
|
|
|
|
// OFFSET: 0x006792A0
|
|
// FUNCTION: fn_05441
|
|
std::string CRenewQuestMgr::GetIconTooltip(std::string_view icon) {
|
|
const std::map<std::string, std::string>::const_iterator found = this->m_iconTooltips.find(std::string(icon));
|
|
return this->m_iconTooltips.end() != found ? found->second : std::string("QUEST");
|
|
}
|
|
|
|
// OFFSET: 0x006794D0
|
|
// FUNCTION: fn_05442
|
|
std::string RenewQuestOngoingInfo::GetHuntText(int index) const {
|
|
if (index >= 3 || this->m_huntCount <= index) {
|
|
return std::string("");
|
|
}
|
|
|
|
std::string text;
|
|
const short minLevel = this->m_huntMinLevel[index];
|
|
const short maxLevel = this->m_huntMaxLevel[index];
|
|
if (this->m_huntMobId[index] == 31999) {
|
|
text = static_cast<const std::string&>(g_renewQuestMgr->GetMonsterConditionText(this->m_huntConditionFlags[index], minLevel, maxLevel));
|
|
} else {
|
|
const char* name = this->m_huntName[index];
|
|
if (this->m_huntMinLevel[index] >= 0 && this->m_huntMaxLevel[index] >= 0 && (minLevel != 0 || this->m_huntMaxLevel[index] != 0)) {
|
|
if (minLevel == 0) {
|
|
text = std::format("{} Lv.{}▼", name, maxLevel);
|
|
} else if (this->m_huntMaxLevel[index] != 0) {
|
|
text = std::format("{} Lv.{}~Lv.{}", name, minLevel, maxLevel);
|
|
} else {
|
|
text = std::format("{} Lv.{}▲", name, minLevel);
|
|
}
|
|
} else {
|
|
text = name;
|
|
}
|
|
}
|
|
|
|
const short goal = this->m_huntMaxCount[index];
|
|
if (goal > 0) {
|
|
const short count = this->m_huntKillCount[index];
|
|
if (count == goal) {
|
|
text = std::format("{} ( {} )", text, LookupMessage(MSI_COMPLETE_HUNTING_QUEST));
|
|
} else {
|
|
text = std::format("{} ( {} / {} )", text, count, goal);
|
|
}
|
|
}
|
|
|
|
return text;
|
|
}
|
|
|
|
// OFFSET: 0x00679920
|
|
// FUNCTION: fn_05443
|
|
const RenewQuestOngoingInfo& CRenewQuestMgr::GetOngoingQuest(unsigned int id) {
|
|
const auto found = this->m_ongoingQuests.find(id);
|
|
if (this->m_ongoingQuests.end() != found) {
|
|
return found->second;
|
|
}
|
|
|
|
// GLOBAL: gl_24857
|
|
static RenewQuestOngoingInfo empty;
|
|
return empty;
|
|
}
|
|
|
|
// OFFSET: 0x00679A00
|
|
// FUNCTION: fn_05444
|
|
RenewQuestOngoingInfo* CRenewQuestMgr::FindOngoingQuest(unsigned int id) {
|
|
const auto found = this->m_ongoingQuests.find(id);
|
|
if (this->m_ongoingQuests.end() != found) {
|
|
return &found->second;
|
|
}
|
|
|
|
return nullptr;
|
|
}
|
|
|
|
// OFFSET: 0x00679AF0
|
|
// FUNCTION: fn_05445
|
|
const RenewQuestRecommendedInfo& CRenewQuestMgr::GetRecommendedQuest(unsigned int id) {
|
|
const auto found = this->m_recommendedQuests.find(id);
|
|
if (this->m_recommendedQuests.end() != found) {
|
|
return found->second;
|
|
}
|
|
|
|
// GLOBAL: gl_24858
|
|
static RenewQuestRecommendedInfo empty;
|
|
return empty;
|
|
}
|
|
|
|
// OFFSET: 0x00679BD0
|
|
// FUNCTION: fn_05446
|
|
RenewQuestRecommendedInfo* CRenewQuestMgr::FindRecommendedQuest(unsigned int id) {
|
|
const auto found = this->m_recommendedQuests.find(id);
|
|
if (this->m_recommendedQuests.end() != found) {
|
|
return &found->second;
|
|
}
|
|
|
|
return nullptr;
|
|
}
|
|
|
|
// OFFSET: 0x00679C20
|
|
// FUNCTION: fn_05447
|
|
void CRenewQuestMgr::WriteOngoingQuests(char* buffer) {
|
|
int offset = 4;
|
|
*reinterpret_cast<unsigned int*>(buffer) = this->m_ongoingQuests.size();
|
|
|
|
for (auto it = this->m_ongoingQuests.begin(); it != this->m_ongoingQuests.end(); ++it) {
|
|
const RenewQuestOngoingInfo& info = it->second;
|
|
const char huntCount = info.m_huntCount;
|
|
|
|
RenewQuestOngoingRecord record = {};
|
|
record.state = info.m_state;
|
|
record.huntCount = huntCount;
|
|
record.year = info.m_year;
|
|
record.month = info.m_month;
|
|
record.day = info.m_day;
|
|
record.hour = info.m_hour;
|
|
record.minute = info.m_minute;
|
|
record.questId = it->first;
|
|
*reinterpret_cast<RenewQuestOngoingRecord*>(buffer + offset) = record;
|
|
offset += sizeof(RenewQuestOngoingRecord);
|
|
|
|
for (int index = 0; index < huntCount; ++index) {
|
|
RenewQuestHuntRecord hunt = {};
|
|
hunt.huntId = static_cast<int>(info.m_huntId[index]);
|
|
hunt.monsterCondition = info.m_huntConditionFlags[index];
|
|
hunt.monsterId = info.m_huntMobId[index];
|
|
hunt.minLevel = info.m_huntMinLevel[index];
|
|
hunt.maxLevel = info.m_huntMaxLevel[index];
|
|
hunt.killCount = info.m_huntKillCount[index];
|
|
hunt.killGoal = info.m_huntMaxCount[index];
|
|
strncpy_s(hunt.name, sizeof(hunt.name), info.m_huntName[index], _TRUNCATE);
|
|
*reinterpret_cast<RenewQuestHuntRecord*>(buffer + offset) = hunt;
|
|
offset += sizeof(RenewQuestHuntRecord);
|
|
}
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x00679E00
|
|
// FUNCTION: fn_05448
|
|
int CRenewQuestMgr::GetOngoingQuestsSize() {
|
|
int size = 4;
|
|
for (auto it = this->m_ongoingQuests.begin(); it != this->m_ongoingQuests.end(); ++it) {
|
|
size += it->second.m_huntCount * static_cast<int>(sizeof(RenewQuestHuntRecord));
|
|
}
|
|
|
|
return size + this->m_ongoingQuests.size() * sizeof(RenewQuestOngoingRecord);
|
|
}
|
|
|
|
// OFFSET: 0x00679E50
|
|
// FUNCTION: fn_05449
|
|
void CRenewQuestMgr::LoadQuestInfo() {
|
|
{
|
|
CLuaInstance lua;
|
|
lua.SetGlobal("AddQuestIconTooltip", L_AddQuestIconTooltip);
|
|
lua.SetGlobal("AddQuestFilterInfo", L_AddQuestFilterInfo);
|
|
if (!lua.LoadFile("System\\QuestClassificationInfo.lub", true)) {
|
|
return;
|
|
}
|
|
|
|
lua.Execute("LoadQuestIconTooltip");
|
|
lua.Execute("LoadQuestFilterInfo");
|
|
}
|
|
|
|
g_session.m_hotkeyScript->Register("AddOngoingDescription", L_AddOngoingDescription);
|
|
g_session.m_hotkeyScript->Register("AddOngoingRewardInfo", L_AddOngoingRewardInfo);
|
|
g_session.m_hotkeyScript->Register("InsertRecommededQuestInfo", L_InsertRecommendedQuestInfo);
|
|
g_session.m_hotkeyScript->Register("AddRecommendedQuestInfo", L_AddRecommendedQuestInfo);
|
|
g_session.m_hotkeyScript->Register("SetRecommendedQuestActive", L_SetRecommendedQuestActive);
|
|
g_session.m_hotkeyScript->Load("Lua Files\\DataInfo\\QuestInfo_f", true, false);
|
|
g_session.m_hotkeyScript->Load("savedata\\OngoingSimpleViewList", false, true);
|
|
g_session.m_hotkeyScript->Load("savedata\\RecommendedActiveList", false, true);
|
|
if (g_serviceMode == 1) {
|
|
g_session.m_hotkeyScript->Load("system\\OngoingQuestInfoList_Sakray", false, true);
|
|
g_session.m_hotkeyScript->Load("system\\RecommendedQuestInfoList_Sakray", false, true);
|
|
} else {
|
|
g_session.m_hotkeyScript->Load("system\\OngoingQuestInfoList_True", false, true);
|
|
g_session.m_hotkeyScript->Load("system\\RecommendedQuestInfoList_True", false, true);
|
|
}
|
|
|
|
g_session.m_hotkeyScript->Call("RecommendedQuestInfoLoad", "");
|
|
g_session.m_hotkeyScript->Call("RecommendedQuestActiveLoad", "");
|
|
}
|
|
|
|
// OFFSET: 0x0067A500
|
|
// FUNCTION: fn_05450
|
|
void CRenewQuestMgr::AddNewQuest(unsigned int id) {
|
|
this->m_newQuests.insert(id);
|
|
const auto found = this->m_statusRequests.find(id);
|
|
if (found != this->m_statusRequests.end()) {
|
|
this->m_statusRequests.erase(found);
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x0067A630
|
|
// FUNCTION: fn_05451
|
|
void CRenewQuestMgr::AddOngoingQuest(unsigned int id, RenewQuestOngoingInfo& info) {
|
|
int type = 0;
|
|
int destinationY = 0;
|
|
int destinationX = 0;
|
|
const char* text7 = nullptr;
|
|
const char* text6 = nullptr;
|
|
const char* text5 = nullptr;
|
|
const char* text4 = nullptr;
|
|
const char* text3 = nullptr;
|
|
const char* icon = nullptr;
|
|
const char* title = nullptr;
|
|
bool simpleView = true;
|
|
if (g_session.m_hotkeyScript->Call("GetOngoingQuestInfoByID", "d>bsssssssddd", id, &simpleView, &title, &icon, &text3, &text4, &text5, &text6,
|
|
&text7, &destinationX, &destinationY, &type)) {
|
|
info.m_title = title ? title : "";
|
|
info.m_icon = icon ? icon : "";
|
|
info.summary = text3 ? text3 : "";
|
|
info.npcSprite = text4 ? text4 : "";
|
|
info.destinationMap = text5 ? text5 : "";
|
|
info.baseExpReward = text6 ? text6 : "";
|
|
info.jobExpReward = text7 ? text7 : "";
|
|
info.destinationX = destinationX;
|
|
info.destinationY = destinationY;
|
|
info.m_simpleView = simpleView;
|
|
info.questType = type;
|
|
if (type == 1) {
|
|
info.m_simpleView = false;
|
|
}
|
|
|
|
info.m_iconTooltip = this->GetIconTooltip(info.m_icon);
|
|
}
|
|
|
|
UIWindow* window = reinterpret_cast<UIWindow*>(g_windowMgr.basicInfoWnd);
|
|
if (window != nullptr) {
|
|
info.m_title = window->FitDisplayText(250, info.m_title.c_str(), 0, 12, 1);
|
|
info.summary = window->FitDisplayText(250, info.summary.c_str(), 0, 12, 0);
|
|
}
|
|
|
|
this->m_ongoingQuests.erase(id);
|
|
this->m_ongoingQuests.insert(std::pair<const unsigned int, RenewQuestOngoingInfo>(id, info));
|
|
g_session.m_hotkeyScript->Call("GetOngoingDescription", "d", id);
|
|
g_session.m_hotkeyScript->Call("GetOngoingRewardInfo", "d", id);
|
|
}
|
|
|
|
// OFFSET: 0x0067ACE0
|
|
// FUNCTION: fn_05452
|
|
void CRenewQuestMgr::AddRecommendedQuest(unsigned int id, const RenewQuestRecommendedInfo& info) {
|
|
this->m_recommendedQuests.erase(id);
|
|
this->m_recommendedQuests.insert(std::pair<const unsigned int, RenewQuestRecommendedInfo>(id, info));
|
|
}
|
|
|
|
// OFFSET: 0x0067AEB0
|
|
// FUNCTION: fn_05453
|
|
bool CRenewQuestMgr::IsNewQuest(unsigned int id) {
|
|
return this->m_newQuests.find(id) != this->m_newQuests.end();
|
|
}
|
|
|
|
// OFFSET: 0x0067AF00
|
|
// FUNCTION: fn_05454
|
|
bool CRenewQuestMgr::IsInFilter(int filter, std::string_view icon) {
|
|
switch (filter) {
|
|
case 0:
|
|
return true;
|
|
case 1:
|
|
for (const auto& entry : this->m_filters) {
|
|
const std::list<std::string>& icons = entry.second.m_icons;
|
|
if (icons.end() != std::find(icons.begin(), icons.end(), icon)) {
|
|
return false;
|
|
}
|
|
}
|
|
return true;
|
|
default: {
|
|
const auto found = this->m_filters.find(filter);
|
|
if (this->m_filters.end() == found) {
|
|
return false;
|
|
}
|
|
|
|
const std::list<std::string>& icons = found->second.m_icons;
|
|
return icons.end() != std::find(icons.begin(), icons.end(), icon);
|
|
}
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x0067B030
|
|
// FUNCTION: fn_05455
|
|
int CRenewQuestMgr::L_AddQuestFilterInfo(lua_State* state) {
|
|
const lua_Number id = lua_tonumber(state, -3);
|
|
const std::string name = lua_tostring(state, -2);
|
|
std::list<std::string> icons;
|
|
if (lua_type(state, -1) != LUA_TNIL) {
|
|
lua_pushnil(state);
|
|
while (lua_next(state, -2) != 0) {
|
|
icons.emplace_back(lua_tostring(state, -1));
|
|
lua_pop(state, 1);
|
|
}
|
|
}
|
|
|
|
g_renewQuestMgr->m_filters.try_emplace(static_cast<int>(id), RenewQuestFilter{std::string(name.c_str(), name.size()), std::move(icons)});
|
|
return 0;
|
|
}
|
|
|
|
// OFFSET: 0x0067B460
|
|
// FUNCTION: fn_05456
|
|
int CRenewQuestMgr::L_AddQuestIconTooltip(lua_State* state) {
|
|
const std::string icon = lua_tostring(state, -2);
|
|
const std::string tooltip = lua_tostring(state, -1);
|
|
g_renewQuestMgr->AddIconTooltip(icon, tooltip);
|
|
return 0;
|
|
}
|
|
|
|
// OFFSET: 0x0067B620
|
|
// FUNCTION: fn_05457
|
|
void CRenewQuestMgr::ShowOngoingQuestInfo(unsigned int questId) {
|
|
if (auto* window = static_cast<CUIOngoingQuestInfo*>(g_windowMgr.EnsureWindow(WID_ONGOINGQUESTINFO))) {
|
|
window->SetQuest(questId);
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x0067B650
|
|
// FUNCTION: fn_05458
|
|
void CRenewQuestMgr::ShowQuestInfo(unsigned int questId) {
|
|
if (auto* window = static_cast<CUIRenewQuestUI*>(g_windowMgr.EnsureWindow(WID_RENEWQUESTUI))) {
|
|
window->UpdateQuestLists(0xF);
|
|
window->SelectQuest(questId);
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x0067B690
|
|
// FUNCTION: fn_05459
|
|
void CRenewQuestMgr::UpdateOngoingQuestInfo() {
|
|
if (auto* window = static_cast<CUIOngoingQuestInfo*>(g_windowMgr.LookupWindow(WID_ONGOINGQUESTINFO))) {
|
|
window->UpdateHuntInfo();
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x0067B6B0
|
|
// FUNCTION: fn_05460
|
|
void CRenewQuestMgr::UpdateQuestWindows() {
|
|
if (g_windowMgr.questDisplayWnd != nullptr) {
|
|
g_windowMgr.questDisplayWnd->Invalidate();
|
|
}
|
|
|
|
if (auto* window = static_cast<CUIRenewQuestUI*>(g_windowMgr.LookupWindow(WID_RENEWQUESTUI))) {
|
|
window->UpdateQuestLists(0xD);
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x0067B6E0
|
|
// FUNCTION: fn_05461
|
|
void CRenewQuestMgr::SendQuestStatusRequest() {
|
|
PACKET_CZ_QUEST_STATUS_REQ header;
|
|
header.packetType = ID_CZ_QUEST_STATUS_REQ;
|
|
PACKET_CZ_QUEST_STATUS_REQ_BUFFER packet;
|
|
const unsigned int length = this->m_statusRequests.size() * sizeof(unsigned int) + sizeof(PACKET_CZ_QUEST_STATUS_REQ);
|
|
std::memset(packet.questIds, 0, sizeof(packet.questIds));
|
|
if (length > sizeof(packet)) {
|
|
return;
|
|
}
|
|
|
|
header.packetLength = static_cast<std::int16_t>(length);
|
|
packet.header = header;
|
|
|
|
unsigned int* questId = packet.questIds;
|
|
for (const unsigned int& id : this->m_statusRequests) {
|
|
memcpy_s(questId, sizeof(unsigned int), &id, sizeof(unsigned int));
|
|
++questId;
|
|
}
|
|
|
|
GetRagConnection().Send(length, &packet);
|
|
}
|
|
|
|
// OFFSET: 0x0067B800
|
|
// FUNCTION: fn_05462
|
|
bool CRenewQuestMgr::SetOngoingQuestState(unsigned int id, unsigned char state) {
|
|
const auto found = this->m_ongoingQuests.find(id);
|
|
if (this->m_ongoingQuests.end() != found) {
|
|
found->second.m_state = state;
|
|
return true;
|
|
}
|
|
|
|
return false;
|
|
}
|
|
|
|
// OFFSET: 0x0067B850
|
|
// FUNCTION: fn_05463
|
|
bool CRenewQuestMgr::SetRecommendedQuestActive(unsigned int id, bool active) {
|
|
const auto found = this->m_recommendedQuests.find(id);
|
|
if (this->m_recommendedQuests.end() != found) {
|
|
found->second.m_active = active;
|
|
return true;
|
|
}
|
|
|
|
return false;
|
|
}
|
|
|
|
// OFFSET: 0x0067B8A0
|
|
// FUNCTION: fn_05464
|
|
bool CRenewQuestMgr::SetOngoingSimpleView(unsigned int id, bool simpleView) {
|
|
const auto found = this->m_ongoingQuests.find(id);
|
|
if (this->m_ongoingQuests.end() == found) {
|
|
return false;
|
|
}
|
|
|
|
found->second.m_simpleView = simpleView;
|
|
return true;
|
|
}
|
|
|
|
// OFFSET: 0x0067B8F0
|
|
// FUNCTION: fn_05465
|
|
void CRenewQuestMgr::ReadOngoingQuests(const char* buffer, unsigned int) {
|
|
int offset = 4;
|
|
const unsigned int count = *reinterpret_cast<const unsigned int*>(buffer);
|
|
for (unsigned int index = 0; index < count; ++index) {
|
|
const RenewQuestOngoingRecord record = *reinterpret_cast<const RenewQuestOngoingRecord*>(buffer + offset);
|
|
offset += sizeof(RenewQuestOngoingRecord);
|
|
if (!this->SetOngoingQuestState(record.questId, static_cast<unsigned char>(record.state))) {
|
|
RenewQuestOngoingInfo info;
|
|
info.m_state = static_cast<unsigned char>(record.state);
|
|
info.m_year = record.year;
|
|
info.m_month = record.month;
|
|
info.m_day = record.day;
|
|
info.m_hour = record.hour;
|
|
info.m_minute = static_cast<unsigned short>(record.minute);
|
|
info.m_huntCount = static_cast<char>(record.huntCount);
|
|
for (int hunt = 0; hunt < record.huntCount; ++hunt) {
|
|
if (this->m_parameter == 0x33) {
|
|
RenewQuestHuntRecord huntRecord;
|
|
memcpy_s(&huntRecord, sizeof(huntRecord), buffer + offset, sizeof(huntRecord));
|
|
info.m_huntId[hunt] = huntRecord.huntId;
|
|
info.m_huntConditionFlags[hunt] = huntRecord.monsterCondition;
|
|
info.m_huntMobId[hunt] = huntRecord.monsterId;
|
|
info.m_huntKillCount[hunt] = huntRecord.killCount;
|
|
info.m_huntMaxCount[hunt] = huntRecord.killGoal;
|
|
info.m_huntMinLevel[hunt] = huntRecord.minLevel;
|
|
info.m_huntMaxLevel[hunt] = huntRecord.maxLevel;
|
|
strncpy_s(info.m_huntName[hunt], sizeof(info.m_huntName[hunt]), huntRecord.name, _TRUNCATE);
|
|
offset += sizeof(RenewQuestHuntRecord);
|
|
} else {
|
|
RenewQuestShortHuntRecord huntRecord;
|
|
memcpy_s(&huntRecord, sizeof(huntRecord), buffer + offset, sizeof(huntRecord));
|
|
info.m_huntId[hunt] = huntRecord.huntId;
|
|
info.m_huntConditionFlags[hunt] = huntRecord.monsterCondition;
|
|
info.m_huntMobId[hunt] = huntRecord.monsterId;
|
|
info.m_huntKillCount[hunt] = huntRecord.killCount;
|
|
info.m_huntMaxCount[hunt] = huntRecord.killGoal;
|
|
info.m_huntMinLevel[hunt] = huntRecord.minLevel;
|
|
info.m_huntMaxLevel[hunt] = huntRecord.maxLevel;
|
|
strncpy_s(info.m_huntName[hunt], sizeof(info.m_huntName[hunt]), huntRecord.name, sizeof(huntRecord.name));
|
|
offset += sizeof(RenewQuestShortHuntRecord);
|
|
}
|
|
}
|
|
|
|
this->AddOngoingQuest(record.questId, info);
|
|
}
|
|
}
|
|
|
|
if (g_windowMgr.questDisplayWnd != nullptr) {
|
|
g_windowMgr.questDisplayWnd->Invalidate();
|
|
}
|
|
|
|
if (auto* window = static_cast<CUIRenewQuestUI*>(g_windowMgr.LookupWindow(WID_RENEWQUESTUI))) {
|
|
window->UpdateQuestLists(0xD);
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x0067BF90
|
|
// FUNCTION: fn_05466
|
|
void CRenewQuestMgr::SetParameter(int key, int value) {
|
|
if (key == 3502) {
|
|
this->m_parameter = value;
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x0067BFB0
|
|
// FUNCTION: fn_05467
|
|
void CRenewQuestMgr::SaveOngoingSimpleViewList() {
|
|
std::string path = "SaveData\\OngoingSimpleViewList.lua";
|
|
CFile file;
|
|
if (file.Open(path.c_str(), 0x1001, true, true)) {
|
|
std::string text = "OngoingSimpleViewList = {}\r\n\r\n";
|
|
file.Write(text.c_str(), text.size());
|
|
text = "OngoingSimpleViewList = \r\n{\r\n";
|
|
file.Write(text.c_str(), text.size());
|
|
|
|
for (auto it = this->m_ongoingQuests.begin(); it != this->m_ongoingQuests.end(); ++it) {
|
|
if (!it->second.m_simpleView) {
|
|
text = '\t' + IntToString(it->first, 0) + ",\r\n";
|
|
file.Write(text.c_str(), text.size());
|
|
}
|
|
}
|
|
|
|
text = "}";
|
|
file.Write(text.c_str(), text.size());
|
|
file.Close();
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x0067C5A0
|
|
// FUNCTION: fn_05468
|
|
void CRenewQuestMgr::SaveRecommendedActiveList() {
|
|
std::string path = "SaveData\\RecommendedActiveList.lua";
|
|
CFile file;
|
|
if (file.Open(path.c_str(), 0x1001, true, true)) {
|
|
std::string text = "RecommendedActiveList = {}\r\n\r\n";
|
|
file.Write(text.c_str(), text.size());
|
|
text = "RecommendedActiveList = \r\n{\r\n";
|
|
file.Write(text.c_str(), text.size());
|
|
|
|
for (auto it = this->m_recommendedQuests.begin(); it != this->m_recommendedQuests.end(); ++it) {
|
|
if (!it->second.m_active) {
|
|
text = '\t' + IntToString(it->first, 0) + ",\r\n";
|
|
file.Write(text.c_str(), text.size());
|
|
}
|
|
}
|
|
|
|
text = "}";
|
|
file.Write(text.c_str(), text.size());
|
|
file.Close();
|
|
}
|
|
}
|
|
|
|
// OFFSET: 0x0067E370
|
|
// FUNCTION: fn_05493
|
|
int CRenewQuestMgr::L_AddOngoingDescription(lua_State* state) {
|
|
const unsigned int id = static_cast<unsigned int>(luaL_checknumber(state, 1));
|
|
std::string description = luaL_checkstring(state, 2);
|
|
DecodeTextEscapes(description);
|
|
g_renewQuestMgr->m_ongoingQuests[id].m_descriptions.push_back(description);
|
|
return 0;
|
|
}
|
|
|
|
// OFFSET: 0x0067E4C0
|
|
// FUNCTION: fn_05494
|
|
int CRenewQuestMgr::L_AddOngoingRewardInfo(lua_State* state) {
|
|
const unsigned int id = static_cast<unsigned int>(luaL_checknumber(state, 1));
|
|
const unsigned int item = static_cast<unsigned int>(luaL_checknumber(state, 2));
|
|
const unsigned int count = static_cast<unsigned int>(luaL_checknumber(state, 3));
|
|
g_renewQuestMgr->m_ongoingQuests[id].m_rewards.push_back(std::make_pair(item, count));
|
|
return 0;
|
|
}
|
|
|
|
// OFFSET: 0x0067E570
|
|
// FUNCTION: fn_05495
|
|
int CRenewQuestMgr::L_AddRecommendedQuestInfo(lua_State* state) {
|
|
const unsigned int id = static_cast<unsigned int>(luaL_checknumber(state, 1));
|
|
const int index = static_cast<int>(luaL_checknumber(state, 2));
|
|
std::string description = luaL_checkstring(state, 3);
|
|
DecodeTextEscapes(description);
|
|
g_renewQuestMgr->m_recommendedQuests[id].m_descriptions[index].push_back(description);
|
|
return 0;
|
|
}
|
|
|
|
// OFFSET: 0x0067E770
|
|
// FUNCTION: fn_05496
|
|
int CRenewQuestMgr::L_InsertRecommendedQuestInfo(lua_State* state) {
|
|
RenewQuestRecommendedInfo info;
|
|
const unsigned int id = static_cast<unsigned int>(luaL_checknumber(state, 1));
|
|
info.m_active = true;
|
|
info.m_title = luaL_checkstring(state, 2);
|
|
info.m_icon = luaL_checkstring(state, 3);
|
|
info.summary = luaL_checkstring(state, 4);
|
|
info.backgroundImage = luaL_checkstring(state, 5);
|
|
info.npcSprite = luaL_checkstring(state, 6);
|
|
info.destinationMap = luaL_checkstring(state, 7);
|
|
info.destinationX = static_cast<int>(luaL_checknumber(state, 8));
|
|
info.destinationY = static_cast<int>(luaL_checknumber(state, 9));
|
|
info.m_iconTooltip = g_renewQuestMgr->GetIconTooltip(info.m_icon);
|
|
g_renewQuestMgr->AddRecommendedQuest(id, info);
|
|
return 0;
|
|
}
|
|
|
|
// OFFSET: 0x0067E9F0
|
|
// FUNCTION: fn_05497
|
|
int CRenewQuestMgr::L_SetRecommendedQuestActive(lua_State* state) {
|
|
const unsigned int id = static_cast<unsigned int>(luaL_checknumber(state, 1));
|
|
CRenewQuestMgr* manager = g_renewQuestMgr;
|
|
const auto found = manager->m_recommendedQuests.find(id);
|
|
if (manager->m_recommendedQuests.end() != found) {
|
|
found->second.m_active = false;
|
|
}
|
|
|
|
return 0;
|
|
}
|