-
Notifications
You must be signed in to change notification settings - Fork 0
/
team.d.ts
31 lines (19 loc) · 877 Bytes
/
team.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/**
*
*
*
*
*
*/
declare function countPlayersInTeam(theTeam: Team): number
declare function getTeamColor(theTeam: Team): [number, number, number]
declare function getTeamFriendlyFire(theTeam: Team): boolean
declare function getTeamFromName(teamName: string): Team
declare function getTeamName(theTeam: Team): string
declare function countPlayersInTeam(theTeam: Team): table
declare function createTeam(teamName: string, colorR?: 255, colorG?: 255, colorB?: 255): Team
declare function getPlayerTeam(thePlayer: Player): Team
declare function setPlayerTeam(thePlayer: Player, theTeam: Team): boolean
declare function setTeamColor(theTeam: Team, colorR: number, colorG: number, colorB: number): boolean
declare function setTeamFriendlyFire(theTeam: Team, friendlyFire: boolean): boolean
declare function setTeamName(theTeam: Team, newName: string): boolean