@ianlucas/cs2-lib
Preparing search index...
CS2Veto
Class CS2Veto
Index
Constructors
constructor
Methods
choose
get
Current
Action
get
Current
Team
get
History
get
Maps
get
Match
Mapnames
get
Random
Available
Mapname
is
Done
random
Constructors
constructor
new
CS2Veto
(
type
:
CS2VetoType
,
maps
:
CS2Map
[]
,
actions
?:
CS2VetoAction
[]
,
startingTeam
?:
CS2VetoTeam
,
)
:
CS2Veto
Parameters
type
:
CS2VetoType
maps
:
CS2Map
[]
Optional
actions
:
CS2VetoAction
[]
Optional
startingTeam
:
CS2VetoTeam
Returns
CS2Veto
Methods
choose
choose
(
mapname
:
string
)
:
boolean
Parameters
mapname
:
string
Returns
boolean
get
Current
Action
getCurrentAction
()
:
CS2VetoAction
|
undefined
Returns
CS2VetoAction
|
undefined
get
Current
Team
getCurrentTeam
()
:
CS2VetoTeam
Returns
CS2VetoTeam
get
History
getHistory
()
:
readonly
CS2VetoEvent
[]
Returns
readonly
CS2VetoEvent
[]
get
Maps
getMaps
()
:
CS2VetoMap
[]
Returns
CS2VetoMap
[]
get
Match
Mapnames
getMatchMapnames
()
:
string
[]
Returns
string
[]
get
Random
Available
Mapname
getRandomAvailableMapname
()
:
string
|
undefined
Returns
string
|
undefined
is
Done
isDone
()
:
boolean
Returns
boolean
random
random
()
:
boolean
Returns
boolean
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
choose
get
Current
Action
get
Current
Team
get
History
get
Maps
get
Match
Mapnames
get
Random
Available
Mapname
is
Done
random
@ianlucas/cs2-lib
Loading...