Subject: Add TransactionInfo to MoneyBalanceReply, unpack test data

From: James Cook <[email-masked]>
Date: Thu, 1 Apr 2010 10:15:37 -0700

---
 scripts/messages/message_template.msg | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

(limited to 'scripts/messages/message_template.msg')

diff --git a/scripts/messages/message_template.msg b/scripts/messages/message_template.msg
index d4f791c202..1080d140dc 100644
--- a/scripts/messages/message_template.msg
+++ b/scripts/messages/message_template.msg
@@ -6812,6 +6812,18 @@ version 2.0
 		{	SquareMetersCommitted	S32	}
 		{	Description			Variable 1	}	// string
 	}
+	// For replies that are part of a transaction (buying something) provide
+	// metadata for localization.  If TransactionType is 0, the message is
+	// purely a balance update.  Added for server 1.40 and viewer 2.1.  JC
+	{
+		TransactionInfo		Single
+		{	TransactionType			S32			}	// lltransactiontype.h
+		{	TransactionFlags		U32			}	// lltransactionflags.h
+		{	SourceID				LLUUID		}
+		{	DestID					LLUUID		}
+		{	Amount					S32			}
+		{	ItemDescription			Variable 1	}	// string
+	}
 }

@@ -6838,6 +6850,16 @@ version 2.0
 		{	SquareMetersCommitted	S32	}
 		{	Description			Variable 1	}	// string
 	}
+	// See MoneyBalanceReply above.
+	{
+		TransactionInfo		Single
+		{	TransactionType			S32			}	// lltransactiontype.h
+		{	TransactionFlags		U32			}	// lltransactionflags.h
+		{	SourceID				LLUUID		}
+		{	DestID					LLUUID		}
+		{	Amount					S32			}
+		{	ItemDescription			Variable 1	}	// string
+	}
 }

@@ -8972,5 +8994,7 @@ version 2.0
 		{	InvType			S8	}
 		{	Name			Variable	1	}
 		{	Description		Variable	1	}
+
 	}
 }
+
-- 
cgit v1.3