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::OnGeneric() ]
[ next: OnHost() ]
[ prev: OnError() ]
__published:
__property TDx_OnGeneric OnGeneric = {read=FOnGeneric, write=FOnGeneric, nodefault};
TDX_PLAY::ONGENERIC()
[ component event ]
- Description
The
OnGeneric
event
is
triggered
when
using
the
TDx_Play::ReceiveEx()
method
in
the
TDx_Play::OnReceive()
event.
This
event
indicates
that
a
non-system
message
has
been
received
by
the
component's
event
thread.
These
are
messages
sent
using
TDx_Play::Send()
or
TDx_SendEx()
that
have
a
From
identifier
other
than
DPID_SYSMSG.
- Parameters
Data
The Data parameter references the message data.
The first dword is used to indicate the message type and should be reserved for this use.
The message type is passed to this event as the MessageType parameter.
DataSize
The DataSize parameter defines the size, in bytes, of the message data.
Flags
The Flags parameter defines flags indicating how the message was retrieved as specified in TDx_Play::RetrieveEx().
The described effect applies when the flag is set.
DPRECEIVE_ALL
The message was the next message on the receive queue.
DPRECEIVE_FROMPLAYER
The message was received from a specified player.
DPRECEIVE_PEEK
The message has been retrieved but not removed from the receive queue.
DPRECEIVE_TOPLAYER
The message was sent to a specified player.
From
The From parameter identifies the player the message is from.
MessageType
The MessageType parameter indicates the application defined message type.
Sender
The Sender parameter refers to the object that signalled the event.
To
The To parameter identifies the player or group to whom the message is being sent.
The identifier may also be DPID_ALLPLAYERS for messages to all players in the session or DPID_SERVERPLAYER for messages to the server player of a client/server session.
- See Also
- Top
If you would like to submit additions or improvements to this page, click: darren_john_dwyer@hotmail.com.
|
|