Main Page   Data Structures   File List   Globals  

lobby_message Struct Reference

+lobby_message(string player_name, string message). More...


Detailed Description

+lobby_message(string player_name, string message).

This is a VCC composite datatype that is used to send information between lobby modules.

  • player_name - The name of the sender of the message.
  • message - The message information itself.
The lobby_message can be used to send the player name to the other machines on the network. In this case, the message field is always set to "name".

Howver, a lobby_message can also be used to request a game with another player. In this case, the message field should contain the name of the opponent that the user would like to play.


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

Copyright © 2002 Andrew Bates
Last Updated 04/04/02