CRaPI - Correct Robust and Perfect API

PlayerType.Create Method 

Parses the player_type message from the server

public static PlayerType Create(
   string pServerData
);

Parameters

pServerData
The message from the server. Must begin with (player_type.

Return Value

A ServerParam object if it was a valid player_type message. Null otherwise.

Remarks

PlayerType is able to parse player_type messages from robocup server 9.0.4. Changes to the protocol could require changes to this class.

See Also

PlayerType Class | TeamYaffa.CRaPI.Info Namespace