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::EnumPlayers() ]     [ next: EnumSessions() ]     [ prev: EnumGroupsInGroup() ]

    public:

         virtual bool __fastcall EnumPlayers( GUID* pInstance, void* pContext, dword pFlags );





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

    • Description
    • Parameters

        Instance
        The Instance parameter references the identifier of the session whose players are to be enumerated.

        The DPENUMPLAYERS_SESSION flag must be set to use this parameter.

        Session GUIDs are obtained by TDx_Play::EnumSessions().

        Context
        The Context parameter references application defined data to be passed to the callback function for each player enumerated.

        Flags
        The Flags parameter defines flags indicating how to perform the enumeration.
        The described effect applies when the flag is set.

        The default setting of zero results in the enumeration of all players within the current session.
        Only players meeting all of the specified criteria will be enumerated.

          DPENUMPLAYERS_ALL
          Enumerate all players within the session.

          DPENUMPLAYERS_GROUP
          Include groups in the enumeration.

          DPENUMPLAYERS_LOCAL
          Only enumerate locally created players.

          DPENUMPLAYERS_REMOTE
          Only enumerate remotely created players.

          DPENUMPLAYERS_SERVERPLAYER
          Only enumerate the server player.

          DPENUMPLAYERS_SESSION
          Enumerate the players of the session identified by the Instance parameter.
          Only usable when there is no session open and the target session is not a lobby session.

          DPENUMPLAYERS_SPECTATOR
          Only enumerate spectator players.


    • 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.