public int SetIsNesDelegate(ForumGuild.IsNewsDelegate callback) { if (null == callback) { return(0); } int handlerNum = CallbackManager.AddHandler(delegate(CallbackMessage message) { Log.Debug("[ForumCallback] SetIsNesDelegate: " + message); Result result = message.GetResult(); int count = message.GetInt("count"); bool isNews = message.GetBool("isNews"); if (null != callback) { callback(result, count, isNews); } }); return(handlerNum); }
public void IsNews(ForumCommunityType forumCommunityType, string characterId, ForumGuild.IsNewsDelegate callback) { int handlerNum = forumCallback.SetIsNesDelegate(callback); androidClass.CallStatic("nmg_forum_isNews", (int)forumCommunityType, characterId, handlerNum); }
public void IsNews(ForumCommunityType forumCommunityType, string characterId, ForumGuild.IsNewsDelegate callback) { }