static bool OnGuildRank(LoginClient client, CMSG msgID, BinReader data) { uint rank = data.ReadUInt32(); uint rankflags = data.ReadUInt32(); string rankname = data.ReadString(); DBGuild guild = client.Character.Guild; guild.setRankName(rank, rankname); guild.setRankFlags(rank, rankflags); DataServer.Database.SaveObject(guild); UpdateGuild(client); SendRoster(client, guild); return(true); } //OnGuildRank