writeS(clan.getLeaderName());
writeD(clan.getCrestId());
writeD(defenderClan._time);
writeD(defenderClan._type);
writeD(clan.getAllyId());
Alliance alliance = clan.getAlliance();
if (alliance != null)
{
writeS(alliance.getAllyName());
writeS(alliance.getAllyLeaderName());
writeD(alliance.getAllyCrestId());
}
else
{
writeS(StringUtils.EMPTY);
writeS(StringUtils.EMPTY);