/******************************************************************************* * Copyright (C) 2013 JMaNGOS <http://jmangos.org/> * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, or (at your * option) any later version. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for * more details. * * You should have received a copy of the GNU General Public License along * with this program. If not, see <http://www.gnu.org/licenses/>. ******************************************************************************/ package org.jmangos.tools.dbc.struct; import javax.xml.bind.annotation.XmlAttribute; import org.jmangos.tools.dbc.dataholder.DBCStruct; public class FactionEntry extends DBCStruct<FactionEntry> { public final static int MAX_REP = 4; @XmlAttribute(name = "id", required = true) public final Signed32 ID = new Signed32(); // 0, @XmlAttribute(name = "reputationListID", required = true) public final Signed32 reputationListID = new Signed32(); // 1 @XmlAttribute(name = "BaseRepRaceMask", required = true) public final Signed32[] BaseRepRaceMask = array(new Signed32[MAX_REP]); // 2 @XmlAttribute(name = "BaseRepClassMask", required = true) public final Signed32[] BaseRepClassMask = array(new Signed32[MAX_REP]); // 2 @XmlAttribute(name = "BaseRepValue", required = true) public final Signed32[] BaseRepValue = array(new Signed32[MAX_REP]); // 2 @XmlAttribute(name = "ReputationFlags", required = true) public final Signed32[] ReputationFlags = array(new Signed32[MAX_REP]); // 2 @XmlAttribute(name = "team", required = true) public final Signed32 team = new Signed32(); // 2 @XmlAttribute(name = "spilloverRateIn") public final Float32 spilloverRateIn = new Float32(); // 2 @XmlAttribute(name = "spilloverRateOut") public final Float32 spilloverRateOut = new Float32(); // 2 @XmlAttribute(name = "spilloverMaxRankIn") public final Signed32 spilloverMaxRankIn = new Signed32(); // 2 @XmlAttribute(name = "spilloverMaxRankOut") public final Signed32 spilloverMaxRankOut = new Signed32(); // 2 @XmlAttribute(name = "name", required = true) public final MultiInternalString name = new MultiInternalString(); @XmlAttribute(name = "description") public final MultiInternalString description = new MultiInternalString(); };