예제 #1
0
        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);
        }
예제 #2
0
        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();
        }