Added OwnerID and Position to the OnChat handler/delegate/event thingy.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@536 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
@@ -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"))
|
||||
{
|
||||
|
||||
@@ -42,7 +42,7 @@ namespace libsecondlife
|
||||
/// <param name="FromName"></param>
|
||||
/// <param name="ID"></param>
|
||||
public delegate void ChatCallback(string message, byte audible, byte type, byte sourcetype,
|
||||
string fromName, LLUUID id);
|
||||
string fromName, LLUUID id, LLUUID ownerid, LLVector3 position);
|
||||
|
||||
/// <summary>
|
||||
/// 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
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user