Welcome to
www.tdxlibrary.org
Home of the
the TDx_Library...
"RAD DirectX"
for
C++ Builder
...
|
TDx_Play_Library v2.00 Component Reference
|
|
[ TDx_Play::OnSetGroupOwner() ]
[ next: OnSetPlayerOrGroupData() ]
[ prev: OnSessionLost() ]
__published:
__property TDx_OnSetGroupOwner OnSetGroupOwner = {read=FOnSetGroupOwner, write=FOnSetGroupOwner, nodefault};
TDX_PLAY::ONSETGROUPOWNER()
[ component event ]
- Description
The
OnSetGroupOwner
event
is
triggered
when
using
the
TDx_Play::ReceiveEx()
method
in
the
TDx_Play::OnReceive()
event.
This
event
indicates
that
DPMSG_SETGROUPOWNER
has
been
received
by
the
component's
event
thread.
DPMSG_SETGROUPOWNER
is
sent
when
group
ownership
is
changed
explicitly
by
TDx_Play::SetGroupOwner()
or
implicitly
by
the
lobby
server
or
when
the
existing
owner
leaves
the
session.
If
the
component
has
created
several
players
with
TDx_Play::CreatePlayer()
then
several
events
will
be
triggered,
one
for
each
player.
- Parameters
Group
The Group parameter identifies the group that is changing ownership.
NewOwner
The NewOwner parameter identifies the player that now owns the group.
OldOwner
The OldOwner parameter identifies the player that no longer owns the group.
Sender
The Sender parameter refers to the object that signalled the event.
- See Also
- Top
If you would like to submit additions or improvements to this page, click: darren_john_dwyer@hotmail.com.
|
|