IRobotSnapshot TeamIndex Property Robocode Control API for .NET
Contains the index of the team that this robot is a member of, which is unique for the specific team and constant during a battle. Since:

Namespace: Robocode.Control.Snapshot
Assembly: robocode.control (in robocode.control.dll) Version:

int TeamIndex { get; }

Property Value

Type: OnlineInt32
The team index or -1 if the robot is not a member of a team.
See Also