Skip to main content

RxTeamUtils

Helper methods involving teams on Roblox.

Functions

observePlayersForTeamBrio

RxTeamUtils.observePlayersForTeamBrio(teamTeam) → Observable<Brio<Player>>

Observes all players on a taem.

observeEnemyTeamColorPlayersBrio

RxTeamUtils.observeEnemyTeamColorPlayersBrio(teamColorBrickColor) → Observable<Brio<Player>>

Observes all enemy players for a team color

observePlayersForTeamColorBrio

RxTeamUtils.observePlayersForTeamColorBrio(teamColorBrickColor) → Observable<Brio<Player>>

Observes all players for a team color (given they have a team)

observeTeamsForColorBrio

RxTeamUtils.observeTeamsForColorBrio(teamColorBrickColor) → Observable<Brio<Team>>

Observes all teams for a given color

observeTeamsBrio

RxTeamUtils.observeTeamsBrio() → Observable<Brio<Team>>

Observes all teams in the game (In Teams service)

Show raw api
{
    "functions": [
        {
            "name": "observePlayersForTeamBrio",
            "desc": "Observes all players on a taem.",
            "params": [
                {
                    "name": "team",
                    "desc": "",
                    "lua_type": "Team"
                }
            ],
            "returns": [
                {
                    "desc": "",
                    "lua_type": "Observable<Brio<Player>>"
                }
            ],
            "function_type": "static",
            "source": {
                "line": 24,
                "path": "src/teamutils/src/Shared/RxTeamUtils.lua"
            }
        },
        {
            "name": "observeEnemyTeamColorPlayersBrio",
            "desc": "Observes all enemy players for a team color",
            "params": [
                {
                    "name": "teamColor",
                    "desc": "",
                    "lua_type": "BrickColor"
                }
            ],
            "returns": [
                {
                    "desc": "",
                    "lua_type": "Observable<Brio<Player>>"
                }
            ],
            "function_type": "static",
            "source": {
                "line": 56,
                "path": "src/teamutils/src/Shared/RxTeamUtils.lua"
            }
        },
        {
            "name": "observePlayersForTeamColorBrio",
            "desc": "Observes all players for a team color (given they have a team)",
            "params": [
                {
                    "name": "teamColor",
                    "desc": "",
                    "lua_type": "BrickColor"
                }
            ],
            "returns": [
                {
                    "desc": "",
                    "lua_type": "Observable<Brio<Player>>"
                }
            ],
            "function_type": "static",
            "source": {
                "line": 103,
                "path": "src/teamutils/src/Shared/RxTeamUtils.lua"
            }
        },
        {
            "name": "observeTeamsForColorBrio",
            "desc": "Observes all teams for a given color",
            "params": [
                {
                    "name": "teamColor",
                    "desc": "",
                    "lua_type": "BrickColor"
                }
            ],
            "returns": [
                {
                    "desc": "",
                    "lua_type": "Observable<Brio<Team>>"
                }
            ],
            "function_type": "static",
            "source": {
                "line": 121,
                "path": "src/teamutils/src/Shared/RxTeamUtils.lua"
            }
        },
        {
            "name": "observeTeamsBrio",
            "desc": "Observes all teams in the game (In Teams service)",
            "params": [],
            "returns": [
                {
                    "desc": "",
                    "lua_type": "Observable<Brio<Team>>"
                }
            ],
            "function_type": "static",
            "source": {
                "line": 158,
                "path": "src/teamutils/src/Shared/RxTeamUtils.lua"
            }
        }
    ],
    "properties": [],
    "types": [],
    "name": "RxTeamUtils",
    "desc": "Helper methods involving teams on Roblox.",
    "source": {
        "line": 5,
        "path": "src/teamutils/src/Shared/RxTeamUtils.lua"
    }
}