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:
Michael Cortez
2006-11-08 19:08:55 +00:00
parent b36d92a585
commit 83df5e02ad
2 changed files with 11 additions and 4 deletions

View File

@@ -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"))
{

View File

@@ -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
);
}
}
}