summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorJames Cook <james@lindenlab.com>2010-04-02 09:45:17 -0700
committerJames Cook <james@lindenlab.com>2010-04-02 09:45:17 -0700
commit71dfe17fd16500cbb124a53611472174972df37a (patch)
tree9c65263e8fd1fe5786f316560b4c2ca42608c4f9 /indra
parent28236d001bfbfa2a17c6372c615721b347b9cc38 (diff)
Updated to latest MoneyBalanceReply message format
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llviewermessage.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/indra/newview/llviewermessage.cpp b/indra/newview/llviewermessage.cpp
index 8b762eadac..8f68c34736 100644
--- a/indra/newview/llviewermessage.cpp
+++ b/indra/newview/llviewermessage.cpp
@@ -4613,20 +4613,23 @@ void process_money_balance_reply( LLMessageSystem* msg, void** )
// Added in server 1.40 and viewer 2.1, support for localization
// and agent ids for name lookup.
S32 transaction_type = 0;
- U32 transaction_flags = 0;
LLUUID source_id;
+ BOOL is_source_group = FALSE;
LLUUID dest_id;
+ BOOL is_dest_group = FALSE;
S32 amount = 0;
std::string item_description;
if (msg->has("TransactionInfo"))
{
msg->getS32("TransactionInfo", "TransactionType", transaction_type);
- msg->getU32("TransactionInfo", "TransactionFlags", transaction_flags);
msg->getUUID("TransactionInfo", "SourceID", source_id);
+ msg->getBOOL("TransactionInfo", "IsSourceGroup", is_source_group);
msg->getUUID("TransactionInfo", "DestID", dest_id);
+ msg->getBOOL("TransactionInfo", "IsDestGroup", is_dest_group);
msg->getS32("TransactionInfo", "Amount", amount);
msg->getString("TransactionInfo", "ItemDescription", item_description);
- llinfos << "JAMESDEBUG ItemDescription " << item_description << llendl;
+ llinfos << "JAMESDEBUG money_balance_reply source " << source_id
+ << " item " << item_description << llendl;
}
if (gStatusBar)