public void KickCharacter(MapleCharacter character) { character.GuildRank = 5; character.AllianceRank = 5; character.GuildContribution = 0; character.Guild = null; SendToAllGuildMembers(GenerateKickPacket(character)); MapleGuild.UpdateCharacterGuild(character, ""); MapleCharacter.SaveToDatabase(character); }
public void RemoveCharacter(MapleCharacter character) { character.GuildRank = 5; character.AllianceRank = 5; character.GuildContribution = 0; character.Guild = null; MapleGuild.UpdateCharacterGuild(character, ""); character.Client.SendPacket(GenerateGuildDisbandPacket()); UpdateGuildData(); }