summaryrefslogtreecommitdiff
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
parent28236d001bfbfa2a17c6372c615721b347b9cc38 (diff)
Updated to latest MoneyBalanceReply message format
-rw-r--r--indra/newview/llviewermessage.cpp9
-rw-r--r--scripts/messages/message_template.msg6
2 files changed, 10 insertions, 5 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)
diff --git a/scripts/messages/message_template.msg b/scripts/messages/message_template.msg
index 1080d140dc..77dc940335 100644
--- a/scripts/messages/message_template.msg
+++ b/scripts/messages/message_template.msg
@@ -6818,9 +6818,10 @@ version 2.0
{
TransactionInfo Single
{ TransactionType S32 } // lltransactiontype.h
- { TransactionFlags U32 } // lltransactionflags.h
{ SourceID LLUUID }
+ { IsSourceGroup BOOL }
{ DestID LLUUID }
+ { IsDestGroup BOOL }
{ Amount S32 }
{ ItemDescription Variable 1 } // string
}
@@ -6854,9 +6855,10 @@ version 2.0
{
TransactionInfo Single
{ TransactionType S32 } // lltransactiontype.h
- { TransactionFlags U32 } // lltransactionflags.h
{ SourceID LLUUID }
+ { IsSourceGroup BOOL }
{ DestID LLUUID }
+ { IsDestGroup BOOL }
{ Amount S32 }
{ ItemDescription Variable 1 } // string
}