Difference between revisions of "OfferCallingCard"

From Second Life Wiki
Jump to navigation Jump to search
(Updated usage to include client behaviour.)
m (Included better see also and added to relationship messages)
 
(One intermediate revision by the same user not shown)
Line 18: Line 18:
</pre>
</pre>
==Usage and Notes==
==Usage and Notes==
Used to offer someone a calling card.
Used to offer someone a calling card. TransactionID should be a randomly generated UUID.


===Sending===
==Official Client Behavior==
===Send===
Destination must be an avatar and within visible range. TransactionID is a randomly generated UUID by the client.
Destination must be an avatar and within visible range. TransactionID is a randomly generated UUID by the client.


===Receiving===
===Receive===
Sender is determined from AgentID in AgentData on the receiving side. Client checks if sender is an avatar, and then tries to locate the objects NV data for first and last name. Silently fails if sender is not found. Declined automatically if busy or muted.
Sender is determined from AgentID in AgentData on the receiving side. Client checks if sender is an avatar, and then tries to locate the objects NV data for first and last name. Silently fails if sender is not found. Declined automatically if busy or muted.
See also [[AcceptCallingCard]] : [[DeclineCallingCard]]
[[Category:Messages]]
[[Category:Messages]]
[[Category:Relationship Messages]]

Latest revision as of 21:31, 2 July 2008

Message Layout

{
	OfferCallingCard Low NotTrusted Unencoded
	{
		AgentData		Single
		{	AgentID		LLUUID  }
		{	SessionID	LLUUID  }
	}
	{
		AgentBlock			Single
		{	DestID			LLUUID	}
		{	TransactionID	LLUUID	}
	}
}

Usage and Notes

Used to offer someone a calling card. TransactionID should be a randomly generated UUID.

Official Client Behavior

Send

Destination must be an avatar and within visible range. TransactionID is a randomly generated UUID by the client.

Receive

Sender is determined from AgentID in AgentData on the receiving side. Client checks if sender is an avatar, and then tries to locate the objects NV data for first and last name. Silently fails if sender is not found. Declined automatically if busy or muted.

See also AcceptCallingCard : DeclineCallingCard