public int SetCreateGuildDelegate(ForumGuild.CreateGuildDelegate callback) { if (null == callback) { return(0); } int handlerNum = CallbackManager.AddHandler(delegate(CallbackMessage message) { Log.Debug("[ForumCallback] SetCreateGuildDelegate: " + message); Result result = message.GetResult(); if (null != callback) { callback(result); } }); return(handlerNum); }
public void CreateGuild(string forumGuildParameter, ForumGuild.CreateGuildDelegate callback) { int handlerNum = forumCallback.SetCreateGuildDelegate(callback); androidClass.CallStatic("nmg_forum_createGuild", forumGuildParameter, handlerNum); }
public void CreateGuild(string forumGuildParameter, ForumGuild.CreateGuildDelegate callback) { int handlerNum = forumCallback.SetCreateGuildDelegate(callback); nmg_forum_createGuild(forumGuildParameter, handlerNum); }
public void CreateGuild(string forumGuildParameter, ForumGuild.CreateGuildDelegate callback) { }