11using System . Collections . Generic ;
22using GameFrameX . GameAnalytics . Runtime ;
33using GameFrameX . Runtime ;
4- using UnityEngine ;
54
65namespace GameFrameX . GameAnalytics . GameAnalytics . Runtime
76{
87 /// <summary>
98 ///
109 /// </summary>
11- internal class GameAnalyticsByGameAnalyticsManager : BaseGameAnalyticsManager
10+ [ UnityEngine . Scripting . Preserve ]
11+ public sealed class GameAnalyticsByGameAnalyticsManager : BaseGameAnalyticsManager
1212 {
13- private readonly Dictionary < string , object > m_publicProperties = new Dictionary < string , object > ( ) ;
14- private readonly Dictionary < string , string > Args = new Dictionary < string , string > ( ) ;
15- private GameAnalyticsGameAnalyticsSetting m_GameAnalyticsSetting ;
13+ private readonly Dictionary < string , object > m_publicProperties = new Dictionary < string , object > ( ) ;
14+ private readonly Dictionary < string , string > Args = new Dictionary < string , string > ( ) ;
15+ private GameAnalyticsGameAnalyticsSetting m_GameAnalyticsSetting ;
1616
17+ [ UnityEngine . Scripting . Preserve ]
1718 public override void Init ( Dictionary < string , string > args )
1819 {
1920 foreach ( var arg in args )
@@ -40,68 +41,81 @@ public override void Init(Dictionary<string, string> args)
4041 GameAnalyticsSDK . GameAnalytics . SetExternalUserId ( m_GameAnalyticsSetting . channelId ) ;
4142 }
4243
44+ [ UnityEngine . Scripting . Preserve ]
4345 public override void ManualInit ( Dictionary < string , string > args )
4446 {
4547 Init ( args ) ;
4648 }
4749
50+ [ UnityEngine . Scripting . Preserve ]
4851 public override bool IsManualInit ( )
4952 {
5053 return true ;
5154 }
5255
56+ [ UnityEngine . Scripting . Preserve ]
5357 public override void SetPublicProperties ( string key , object value )
5458 {
5559 m_publicProperties [ key ] = value ;
5660 GameAnalyticsSDK . GameAnalytics . SetGlobalCustomEventFields ( m_publicProperties ) ;
5761 }
5862
63+ [ UnityEngine . Scripting . Preserve ]
5964 public override void ClearPublicProperties ( )
6065 {
6166 m_publicProperties . Clear ( ) ;
6267 GameAnalyticsSDK . GameAnalytics . SetGlobalCustomEventFields ( m_publicProperties ) ;
6368 }
6469
70+ [ UnityEngine . Scripting . Preserve ]
6571 public override Dictionary < string , object > GetPublicProperties ( )
6672 {
6773 return m_publicProperties ;
6874 }
6975
76+ [ UnityEngine . Scripting . Preserve ]
7077 public override void StartTimer ( string eventName )
7178 {
7279 GameAnalyticsSDK . GameAnalytics . StartTimer ( eventName ) ;
7380 }
7481
82+ [ UnityEngine . Scripting . Preserve ]
7583 public override void PauseTimer ( string eventName )
7684 {
7785 GameAnalyticsSDK . GameAnalytics . PauseTimer ( eventName ) ;
7886 }
7987
88+ [ UnityEngine . Scripting . Preserve ]
8089 public override void ResumeTimer ( string eventName )
8190 {
8291 GameAnalyticsSDK . GameAnalytics . ResumeTimer ( eventName ) ;
8392 }
8493
94+ [ UnityEngine . Scripting . Preserve ]
8595 public override void StopTimer ( string eventName )
8696 {
8797 GameAnalyticsSDK . GameAnalytics . StopTimer ( eventName ) ;
8898 }
8999
100+ [ UnityEngine . Scripting . Preserve ]
90101 public override void Event ( string eventName )
91102 {
92103 GameAnalyticsSDK . GameAnalytics . NewDesignEvent ( eventName ) ;
93104 }
94105
106+ [ UnityEngine . Scripting . Preserve ]
95107 public override void Event ( string eventName , float eventValue )
96108 {
97109 GameAnalyticsSDK . GameAnalytics . NewDesignEvent ( eventName , eventValue ) ;
98110 }
99111
112+ [ UnityEngine . Scripting . Preserve ]
100113 public override void Event ( string eventName , Dictionary < string , object > customF )
101114 {
102115 GameAnalyticsSDK . GameAnalytics . NewDesignEvent ( eventName , customF ) ;
103116 }
104117
118+ [ UnityEngine . Scripting . Preserve ]
105119 public override void Event ( string eventName , float eventValue , Dictionary < string , object > customF )
106120 {
107121 GameAnalyticsSDK . GameAnalytics . NewDesignEvent ( eventName , eventValue , customF ) ;
0 commit comments