public int SetWithdrawUserDelegate(ForumGuild.WithdrawUserDelegate callback) { if (null == callback) { return(0); } int handlerNum = CallbackManager.AddHandler(delegate(CallbackMessage message) { Log.Debug("[ForumCallback] SetWithdrawUserDelegate: " + message); Result result = message.GetResult(); if (null != callback) { callback(result); } }); return(handlerNum); }
//deleted? //public void UpdateGuildMember(ForumMemberLevel cafeMemberLevelCd, string guildId, string characterId, ForumGuild.UpdateGuildMemberDelegate callback) //{ // int handlerNum = forumCallback.SetUpdateGuildMemberDelegate(callback); // androidClass.CallStatic("nmg_forum_updateGuildMember",(int)cafeMemberLevelCd, guildId, characterId, handlerNum); //} public void WithdrawGuildMember(string guildId, string characterId, int guildMemberCount, ForumGuild.WithdrawUserDelegate callback) { int handlerNum = forumCallback.SetWithdrawUserDelegate(callback); androidClass.CallStatic("nmg_forum_withdrawGuildMember", guildId, characterId, guildMemberCount, handlerNum); }
public void WithdrawGuildMember(string guildId, string characterId, int guildMemberCount, ForumGuild.WithdrawUserDelegate callback) { }