diff --git a/applications/SLIRC/frmSLIRC.cs b/applications/SLIRC/frmSLIRC.cs index b35ab249..3a21d3c5 100644 --- a/applications/SLIRC/frmSLIRC.cs +++ b/applications/SLIRC/frmSLIRC.cs @@ -121,7 +121,7 @@ namespace SLIRC Invoke(new SingleStringDelegate(AddToAllowedList), new object[] { name }); } } - void Avatar_OnChat(string message, byte audible, byte type, byte sourcetype, string name, LLUUID id) + void Avatar_OnChat(string message, byte audible, byte type, byte sourcetype, string name, LLUUID id, LLUUID ownerid, LLVector3 position) { if (message.Equals("addme")) { diff --git a/libsecondlife-cs/Avatar.cs b/libsecondlife-cs/Avatar.cs index 8c6e37b9..e5ef84b8 100644 --- a/libsecondlife-cs/Avatar.cs +++ b/libsecondlife-cs/Avatar.cs @@ -42,7 +42,7 @@ namespace libsecondlife /// /// public delegate void ChatCallback(string message, byte audible, byte type, byte sourcetype, - string fromName, LLUUID id); + string fromName, LLUUID id, LLUUID ownerid, LLVector3 position); /// /// Triggered when the L$ account balance for this avatar changes @@ -738,8 +738,15 @@ namespace libsecondlife if (OnChat != null) { - OnChat(Helpers.FieldToString(chat.ChatData.Message), chat.ChatData.Audible, chat.ChatData.ChatType, - chat.ChatData.SourceType, Helpers.FieldToString(chat.ChatData.FromName), chat.ChatData.SourceID); + OnChat(Helpers.FieldToString(chat.ChatData.Message) + , chat.ChatData.Audible + , chat.ChatData.ChatType + , chat.ChatData.SourceType + , Helpers.FieldToString(chat.ChatData.FromName) + , chat.ChatData.SourceID + , chat.ChatData.OwnerID + , chat.ChatData.Position + ); } } }