Пример #1
0
 // Makes a request to onesignal.com to get current tags set on the player and then run the callback passed in.
 public static void GetTags(TagsReceived inTagsReceivedDelegate)
 {
   #if ONESIGNAL_PLATFORM
     tagsReceivedDelegate = inTagsReceivedDelegate;
     oneSignalPlatform.GetTags();
   #endif
 }
Пример #2
0
 // Makes a request to gamethrive.com to get current tags set on the player and then run the callback passed in.
 public static void GetTags(TagsReceived inTagsReceivedDelegate)
 {
             #if !UNITY_EDITOR
     tagsReceivedDelegate = inTagsReceivedDelegate;
     gameThrivePlatform.GetTags();
             #endif
 }
Пример #3
0
 // Makes a request to gamethrive.com to get current tags set on the player and then run the callback passed in.
 public static void GetTags(TagsReceived inTagsReceivedDelegate)
 {
             #if GAMETHRIVE_PLATFORM
     tagsReceivedDelegate = inTagsReceivedDelegate;
     gameThrivePlatform.GetTags();
             #endif
 }
 public override void GetTags(TagsReceived tagsReceived)
 {
     if (tagsReceived == null)
     {
         throw new ArgumentNullException(nameof(tagsReceived));
     }
     iOS.OneSignal.GetTags(tags => tagsReceived(NSDictToPureDict(tags)));
 }
Пример #5
0
 public override void GetTags(TagsReceived tagsReceived)
 {
     if (tagsReceived == null)
     {
         throw new ArgumentNullException(nameof(tagsReceived));
     }
     Android.OneSignal.GetTags(new TagsHandler(tagsReceived));
 }
Пример #6
0
    // Makes a request to onesignal.com to get current tags set on the player and then run the callback passed in.
    public static void GetTags(TagsReceived inTagsReceivedDelegate)
    {
        #if ONESIGNAL_PLATFORM
        string delegateGuid = OneSignalUnityUtils.GetNewGuid();
        delegates.Add(delegateGuid, inTagsReceivedDelegate);

        oneSignalPlatform.GetTags(delegateGuid);
        #endif
    }
        public static void GetTags(TagsReceived inTagsReceivedDelegate)
        {
            if (mPlayerId == null)
            {
                return;
            }

            tagsReceivedDelegate = inTagsReceivedDelegate;

            SendGetTagsMessage();
        }
 public abstract void GetTags(TagsReceived inTagsReceivedDelegate);
Пример #9
0
 // Makes a request to onesignal.com to get current tags set on the player and then run the callback passed in.
 public void GetTags(TagsReceived inTagsReceivedDelegate)
 {
     tagsReceivedDelegate = inTagsReceivedDelegate;
     GetTags();
 }
Пример #10
0
	// Makes a request to onesignal.com to get current tags set on the player and then run the callback passed in.
	public static void GetTags(TagsReceived inTagsReceivedDelegate) {
		#if ONESIGNAL_PLATFORM
			tagsReceivedDelegate = inTagsReceivedDelegate;
			oneSignalPlatform.GetTags();
		#endif
	}
        public static void GetTags(TagsReceived inTagsReceivedDelegate)
        {
            if (mPlayerId == null)
                return;

            tagsReceivedDelegate = inTagsReceivedDelegate;

            SendGetTagsMessage();
        }
 public static void GetTags(TagsReceived inTagsReceivedDelegate)
 {
 }
Пример #13
0
 public static void GetTags(TagsReceived inTagsReceivedDelegate)
 {
 }
Пример #14
0
		public TagsHandler(TagsReceived tagsReceived) => _tagsReceived = tagsReceived;
Пример #15
0
	// Makes a request to gamethrive.com to get current tags set on the player and then run the callback passed in.
	public static void GetTags(TagsReceived inTagsReceivedDelegate) {
		#if GAMETHRIVE_PLATFORM
			tagsReceivedDelegate = inTagsReceivedDelegate;
			gameThrivePlatform.GetTags();
		#endif
	}
	// Makes a request to gamethrive.com to get current tags set on the player and then run the callback passed in.
	public static void GetTags(TagsReceived inTagsReceivedDelegate) {
		#if !UNITY_EDITOR
			tagsReceivedDelegate = inTagsReceivedDelegate;
			gameThrivePlatform.GetTags();
		#endif
	}