Jump to content
  • We are looking for staff for the Wiki area!
    If interested please
    click here and select "Documentation Team"

  • Faction


    antz
     Share

     NOTE:  This page is auto-generated from the MAGNET DBCDocs module,
                 Any changes made directly to this page will be lost when it is regenerated.

    Description of the DBC file 'Faction' for MaNGOSZero

    The faction table contains definitions for in-game factions for non-player creatures.

    The file contents is read and mapped into the struct factionEntry in the MaNGOS core.

    The field types and usage is defined in factionfmt in the MaNGOS core.

    The File is currently *NOT USED* by the MaNGOS core.

    The Field definitions follow, No. of fields: 37 strong>

    Field Name Field Type Notes
    Id INT(11) Unique Id
    reputationIndex INT(11) Each faction that has gainable rep has a unique number. All factions that you can not gain rep with have -1
    reputationRaceMask1 INT(11) Mask of races using field repuationBase1 as base reputation
    reputationRaceMask2 INT(11) Mask of races using field repuationBase2 as base reputation
    reputationRaceMask3 INT(11) Mask of races using field repuationBase3 as base reputation
    reputationRaceMask4 INT(11) Mask of races using field repuationBase4 as base reputation
    reputationClassMask1 INT(11) Mask of classes using field repuationBase1 as base reputation
    reputationClassMask2 INT(11) Mask of classes using field repuationBase2 as base reputation
    reputationClassMask3 INT(11) Mask of classes using field repuationBase3 as base reputation
    reputationClassMask4 INT(11) Mask of classes using field repuationBase4 as base reputation
    reputationBase1 INT(11) -42000 - 42999 (0 neutral); used by races specified in mask in fields 3, 7
    reputationBase2 INT(11) -42000 - 42999 (0 neutral); used by races specified in mask in fields 4, 8
    reputationBase3 INT(11) -42000 - 42999 (0 neutral); used by races specified in mask in fields 5, 9
    reputationBase4 INT(11) -42000 - 42999 (0 neutral); used by races specified in mask in fields 6, 10
    reputationFlags1 INT(11)  
    reputationFlags2 INT(11)  
    reputationFlags3 INT(11)  
    reputationFlags4 INT(11)  
    parentFactionId INT(11) Parent factionId, can be recursive
    Name TEXT Display name of the faction
    Name1 TEXT The Localised Korean version of the above.
    Name2 TEXT The Localised French version of the above.
    Name3 TEXT The Localised German version of the above.
    Name4 TEXT The Localised Chinese version of the above.
    Name5 TEXT The Localised Taiwanese version of the above.
    Name6 TEXT The Localised Spanish (Traditional) version of the above.
    Name7 TEXT The Localised Spanish (Latin America) version of the above.
    TEXTCHECKSUM1 FLOAT A checksum value for the preceeding text fields.
    Description TEXT Text as seen in the reputation-GUI on click.
    Description1 TEXT The Localised Korean version of the above.
    Description2 TEXT The Localised French version of the above.
    Description3 TEXT The Localised German version of the above.
    Description4 TEXT The Localised Chinese version of the above.
    Description5 TEXT The Localised Taiwanese version of the above.
    Description6 TEXT The Localised Spanish (Traditional) version of the above.
    Description7 TEXT The Localised Spanish (Latin America) version of the above.
    TEXTCHECKSUM2 FLOAT A checksum value for the preceeding text fields.

    Description of the fields

    Id INT(11)

    Unique Id

    reputationIndex INT(11)

    Each faction that has gainable rep has a unique number. All factions that you can not gain rep with have -1

    reputationRaceMask1 INT(11)

    Mask of races using field repuationBase1 as base reputation

    reputationRaceMask2 INT(11)

    Mask of races using field repuationBase2 as base reputation

    reputationRaceMask3 INT(11)

    Mask of races using field repuationBase3 as base reputation

    reputationRaceMask4 INT(11)

    Mask of races using field repuationBase4 as base reputation

    reputationClassMask1 INT(11)

    Mask of classes using field repuationBase1 as base reputation

    reputationClassMask2 INT(11)

    Mask of classes using field repuationBase2 as base reputation

    reputationClassMask3 INT(11)

    Mask of classes using field repuationBase3 as base reputation

    reputationClassMask4 INT(11)

    Mask of classes using field repuationBase4 as base reputation

    reputationBase1 INT(11)

    -42000 - 42999 (0 neutral); used by races specified in mask in fields 3, 7

    reputationBase2 INT(11)

    -42000 - 42999 (0 neutral); used by races specified in mask in fields 4, 8

    reputationBase3 INT(11)

    -42000 - 42999 (0 neutral); used by races specified in mask in fields 5, 9

    reputationBase4 INT(11)

    -42000 - 42999 (0 neutral); used by races specified in mask in fields 6, 10

    reputationFlags1 INT(11)

    reputationFlags2 INT(11)

    reputationFlags3 INT(11)

    reputationFlags4 INT(11)

    parentFactionId INT(11)

    Can be recursive. i.e. Undercity lists ID 67, which is Horde.

    Name TEXT

    Display name of the faction

    Name1 TEXT

    Display name of the faction.

    Name2 TEXT

    Display name of the faction.

    Name3 TEXT

    Display name of the faction.

    Name4 TEXT

    Display name of the faction.

    Name5 TEXT

    Display name of the faction.

    Name6 TEXT

    Display name of the faction.

    Name7 TEXT

    Display name of the faction.

    TEXTCHECKSUM1 FLOAT

    A checksum value for the preceeding text fields.

    Description TEXT

    Text as seen in the reputation-GUI on click.

    Description1 TEXT

    Text as seen in the reputation-GUI on click.

    Description2 TEXT

    Text as seen in the reputation-GUI on click.

    Description3 TEXT

    Text as seen in the reputation-GUI on click.

    Description4 TEXT

    Text as seen in the reputation-GUI on click.

    Description5 TEXT

    Text as seen in the reputation-GUI on click.

    Description6 TEXT

    Text as seen in the reputation-GUI on click.

    Description7 TEXT

    Text as seen in the reputation-GUI on click.

    TEXTCHECKSUM2 FLOAT

    A checksum value for the preceeding text fields.


    auto-generated by the getMaNGOS.eu MAGNET dbcdocs module

    Edited by Antz

     Share


    User Feedback

    Recommended Comments

    There are no comments to display.



    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use