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: 1.7.4.0

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

int TeamIndex { get; }

Property Value

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