TT Client Library 1.0.0
C++ library for Tandem Tales clients.
Loading...
Searching...
No Matches
tt::Connect::Available Class Reference

Advertises that a specific story world and agent pair is waiting for a match. More...

#include <tt/io/Connect.h>

Public Member Functions

 Available (std::string world, std::string agent)
 Constructs an available world/agent pair from a world name and agent name.
std::string toString () const
 Returns a string representation of this object.

Public Attributes

std::string world
 The name of the story world the waiting agent wants to play in.
std::string agent
 The name of the agent waiting for a match.

Detailed Description

Advertises that a specific story world and agent pair is waiting for a match.

Author
Gage Birchmeier

Constructor & Destructor Documentation

◆ Available()

tt::Connect::Available::Available ( std::string world,
std::string agent )
inline

Constructs an available world/agent pair from a world name and agent name.

Parameters
worldthe name of the world the waiting agent wants to play in
agentthe name of the agent waiting for a match

Member Function Documentation

◆ toString()

std::string tt::Connect::Available::toString ( ) const
inline

Returns a string representation of this object.

Returns
a string describing this object

The documentation for this class was generated from the following file: