IAdvancedRobotPeer GetDataFile Method Robocode Robot API for .NET
Returns a file in your data directory that you can write to.

The system will automatically create the directory for you, so you do not need to create it by yourself.

Please notice that the max. size of your data file is set to 200000 (~195 KB).

See the Sample.SittingDuck to see an example of how to use this method.

Namespace: Robocode.RobotInterfaces.Peer
Assembly: robocode (in robocode.dll) Version: 1.9.3.0
Syntax

Stream GetDataFile(
	string filename
)

Parameters

filename
Type: OnlineSystem String
The file name of the data file for your robot

Return Value

Type: OnlineStream
See Also