set_handle
Description:
[ Version ( deprecated = true , since = "0.7.21" ) ]
public void set_handle (uint part, string key, HandleType handle_type, Handle handle_or_0)
public void set_handle (uint part, string key, HandleType handle_type, Handle handle_or_0)
Warning: set_handle is deprecated.
If handle_or_0
is not zero, reference it with
ref_handle.
Note:
since 0.13.9.
Use tp_cm_message_set_sender
Set key
in part part
of this to have handle_or_0
as an unsigned
integer value.
Since 0.13.9 this function has been deprecated in favor or tp_cm_message_set_sender
as 'message-sender' is the only handle you can
put in a TpCMMessage
.
Parameters:
this |
a |
part |
a part number, which must be strictly less than the number returned by count_parts |
key |
a key in the mapping representing the part |
handle_type |
a handle type |
handle_or_0 |
a handle of that type, or 0 |