VCL RAD DirectX for C++ Builder

Welcome to

www.tdxlibrary.org

Home of the
the TDx_Library...

=- RAD DirectX =-

"RAD DirectX"
for
C++ Builder

...

Welcome to tdxlibrary.org Latest News

Development Tools Demo Applications Step-By-Step Tutorials Component Reference

Register our Tools Available Downloads

Frequently Asked Questions Links to other sites Information about the tdxlibrary.org website


    TDx_Play_Library v2.00 Component Reference

    -= Click to navigate the reference =-
    Go to the Welcome Page

    [ TDx_Play::CreatePlayer() ]     [ next: DeleteGroupFromGroup() ]     [ prev: CreateGroupInGroup() ]

    public:

         virtual bool __fastcall CreatePlayer( DPID* pPlayer, TDPName* pPlayerName, void* pData, dword pDataSize, dword pFlags );





    -= Go to the TDx_Play description =-    TDX_PLAY::CREATEPLAYER()   [ component method ]

    • Description
    • Parameters

        Player
        The Player parameter will reference the new players ID if this method returns successfully.

        PlayerName
        The PlayerName parameter references a TDPName component holding the new players name.

        The name is assigned and used by the application, it need not be unique and NULL can be set if no player name is required.

        Data
        The Data parameter references data to be propagated once the player is created as if TDx_Play::SetPlayerData() had been called.

        The data is application defined and this parameter may be set to NULL if no initial data is needed.

        DataSize
        The DataSize parameter defines the size, in bytes, of the data referenced by the Data parameter.

        Flags
        The Flags parameter defines flags indicating the player type to be created.
        The described effect applies when the flag is set.

        Setting zero will result in a nonspectator, nonserver player.

          DPPLAYER_SERVERPLAYER
          The player is to be the server player in a client server session.

          Only one server player may exist per session and it must be created by the host.

          The player ID will always be DPID_SERVERPLAYER when this flag is set.

          DPPLAYER_SPECTATOR
          The player is designated a spectator player.

          The application must define spectator behaviour, the player behaves normally other than having this flag set.


    • See Also
    • Top





    If you would like to submit additions or improvements to this page, click: darren_john_dwyer@hotmail.com.



























Top

Welcome |  Latest News |  Tools |  Demos |  Tutorials |  Reference |  Register |  Downloads
FAQ |  Links |  Site Information

This page is Copyright © 2019 Darren John Dwyer, Australia. All Rights Reserved.
Borland C++ Builder, CBuilder, etc are Trademarks of Borland Corporation.
DirectX, DirectDraw, Windows, etc are Trademarks of Microsoft Corporation.