public int SetUpdateGamePlayerDelegate(ForumGuild.UpdateGamePlayerDelegate callback)
        {
            if (null == callback)
            {
                return(0);
            }

            int handlerNum = CallbackManager.AddHandler(delegate(CallbackMessage message)
            {
                Log.Debug("[ForumCallback] SetUpdateGamePlayerDelegate: " + message);

                Result result = message.GetResult();

                if (null != callback)
                {
                    callback(result);
                }
            });

            return(handlerNum);
        }
        public void UpdateGamePlayer(string forumPlayerParameter, ForumGuild.UpdateGamePlayerDelegate callback)
        {
            int handlerNum = forumCallback.SetUpdateGamePlayerDelegate(callback);

            androidClass.CallStatic("nmg_forum_updateGamePlayer", forumPlayerParameter, handlerNum);
        }
Beispiel #3
0
        public void UpdateGamePlayer(string forumPlayerParameter, ForumGuild.UpdateGamePlayerDelegate callback)
        {
            int handlerNum = forumCallback.SetUpdateGamePlayerDelegate(callback);

            nmg_forum_updateGamePlayer(forumPlayerParameter, handlerNum);
        }
 public void UpdateGamePlayer(string forumPlayerParameter, ForumGuild.UpdateGamePlayerDelegate callback)
 {
 }