-- Bounded research pulse. Pauses in Battle. No UI or gameplay callbacks. do local function capture() local s=_G.__gacGlmGroupPulse2 or {count=0};_G.__gacGlmGroupPulse2=s if s.count>=8 then return end local flags=CS.System.Enum.ToObject(typeof(CS.System.Reflection.BindingFlags),60) local manager=CS.RPG.Client.GlobalVars.s_GamePhaseManager local phase=manager and typeof(CS.RPG.Client.GamePhaseManager):GetField('_CurrentPhase',flags):GetValue(manager) if not phase or typeof(CS.RPG.Client.BattleGamePhase):IsInstanceOfType(phase)then return end if s.count==0 then local field=typeof(CS.RPG.GameCore.GachaGroupDataRow):GetField('GroupType',flags) local t=field.FieldType for _,name in ipairs({'Normal','Newbie','AvatarUp','WeaponUp','MultiAvatarUp','MultiWeaponUp','Collaboration','CollaborationMerge'})do local ok,v=pcall(function()return CS.System.Enum.Parse(t,name)end) if ok then CS.UnityEngine.Debug.Log('[GAC_GLM_GROUP_ENUM] '..name..' '..tostring(CS.System.Convert.ToInt32(v)))end end end s.count=s.count+1 CS.Newtonsoft.Json.JsonConvert.SerializeObject('GAC_GLM_GROUP_TICK') end;local ok,e=pcall(capture);if not ok then _G.__gacGlmGroupPulse2={count=99};CS.UnityEngine.Debug.Log('[GAC_GLM_GROUP_ENUM] ERROR '..tostring(e))end end