// DO NOT MODIFY THIS FILE, IT HAS BEEN GENERATED.
// File generated by Quazal DDL Compiler, Version 4.1 [SP2] (Build 1224.83)
// Copyright (C) 1998-2004, Quazal Technologies Inc.

#include "OSI/PS2/EidosClanPropsDDL.h"

BEGIN_NAMESPACE_QUAZAL;

const DDLCLASS(EidosClanProps) & DDLCLASS(EidosClanProps)::operator=(const DDLCLASS(EidosClanProps) &oOther){
    m_ClanID = oOther.m_ClanID;
    m_ClanAbbr = oOther.m_ClanAbbr;
    m_ClanName = oOther.m_ClanName;
    m_ClanRank = oOther.m_ClanRank;
    m_ClanRating = oOther.m_ClanRating;
    m_ClanKills = oOther.m_ClanKills;
    m_ClanMemberCount = oOther.m_ClanMemberCount;
    m_ClanLeader = oOther.m_ClanLeader;
    return *this;
}

qBool DDLCLASS(EidosClanProps)::operator==(const DDLCLASS(EidosClanProps) &oOther) const {
    if (!(m_ClanID == oOther.m_ClanID)) {return false;}
    if (!(m_ClanAbbr == oOther.m_ClanAbbr)) {return false;}
    if (!(m_ClanName == oOther.m_ClanName)) {return false;}
    if (!(m_ClanRank == oOther.m_ClanRank)) {return false;}
    if (!(m_ClanRating == oOther.m_ClanRating)) {return false;}
    if (!(m_ClanKills == oOther.m_ClanKills)) {return false;}
    if (!(m_ClanMemberCount == oOther.m_ClanMemberCount)) {return false;}
    if (!(m_ClanLeader == oOther.m_ClanLeader)) {return false;}
    return true;
}

void DDLCLASS(EidosClanProps)::Add(Message *pMessageToSend, const DDLCLASS(EidosClanProps) &oValue) {
    DDLTYPE(uint32)::Add(pMessageToSend, oValue.m_ClanID);
    DDLTYPE(string)::Add(pMessageToSend, oValue.m_ClanAbbr);
    DDLTYPE(string)::Add(pMessageToSend, oValue.m_ClanName);
    DDLTYPE(int32)::Add(pMessageToSend, oValue.m_ClanRank);
    DDLTYPE(int32)::Add(pMessageToSend, oValue.m_ClanRating);
    DDLTYPE(uint32)::Add(pMessageToSend, oValue.m_ClanKills);
    DDLTYPE(uint32)::Add(pMessageToSend, oValue.m_ClanMemberCount);
    DDLTYPE(string)::Add(pMessageToSend, oValue.m_ClanLeader);
};

void DDLCLASS(EidosClanProps)::Extract(Message *pReceivedMessage, DDLCLASS(EidosClanProps) *pValue) {
    DDLTYPE(uint32)::Extract(pReceivedMessage, &pValue->m_ClanID);
    DDLTYPE(string)::Extract(pReceivedMessage, &pValue->m_ClanAbbr);
    DDLTYPE(string)::Extract(pReceivedMessage, &pValue->m_ClanName);
    DDLTYPE(int32)::Extract(pReceivedMessage, &pValue->m_ClanRank);
    DDLTYPE(int32)::Extract(pReceivedMessage, &pValue->m_ClanRating);
    DDLTYPE(uint32)::Extract(pReceivedMessage, &pValue->m_ClanKills);
    DDLTYPE(uint32)::Extract(pReceivedMessage, &pValue->m_ClanMemberCount);
    DDLTYPE(string)::Extract(pReceivedMessage, &pValue->m_ClanLeader);
};

END_NAMESPACE_QUAZAL;
