ServerWrapper : TeamGameEventWrapper
The server is the controller of the match. It tells you where cars and balls are, the time remaining, score, and so much more.
If not hosting the match (in an online or private match) all values are read-only. Some functions will also return garbage data in online matches to protect the competitive integrity of the game
Get it with gameWrapper.GetCurrentGameState()
BallWrapper Get Ball( )
void Spawn Car( int car Body, std::string name)
Parameter | Type | Description |
---|---|---|
carBody | int | — |
name | std::string | — |
void Spawn Bot( int car Body, std::string name)
Parameter | Type | Description |
---|---|---|
carBody | int | — |
name | std::string | — |
BallWrapper Spawn Ball( const Vector position, bool wake, bool spawn Cannon)
bool Has Authority( )
CarWrapper Get Game Car( )
bool Is Ball Moving Towards Goal( int goal No, Ball Wrapper bw)
Parameter | Type | Description |
---|---|---|
goalNo | int | — |
bw | BallWrapper | — |
bool Is In Goal( Vector vec)
Parameter | Type | Description |
---|---|---|
vec | Vector | — |
void Disable Goal Reset( )
void Enable Goal Reset( )
Vector Generate Shot( Vector start Pos, Vector destination, float speed)
Vector Generate Goal Aim Location( int goal Number, Vector current Ball Location)
Vector Get Goal Extent( int goal Number=0)
Parameter | Type | Description |
---|---|---|
goalNumber | int | — |
Vector Get Goal Location( int goal Number=0)
Parameter | Type | Description |
---|---|---|
goalNumber | int | — |
CarWrapper Get Test Car Archetype( )
void Set Test Car Archetype( Car Wrapper new Test Car Archetype)
Parameter | Type | Description |
---|---|---|
newTestCarArchetype | CarWrapper | — |
BallWrapper Get Ball Archetype( )
void Set Ball Archetype( Ball Wrapper new Ball Archetype)
Parameter | Type | Description |
---|---|---|
newBallArchetype | BallWrapper | — |
ActorWrapper Get Ball Spawn Point( )
void Set Ball Spawn Point( Actor Wrapper new Ball Spawn Point)
Parameter | Type | Description |
---|---|---|
newBallSpawnPoint | ActorWrapper | — |
int Get Series Length( )
void Set Series Length( int new Series Length)
Parameter | Type | Description |
---|---|---|
newSeriesLength | int | — |
int Get Game Time( )
void Set Game Time( int new Game Time)
Parameter | Type | Description |
---|---|---|
newGameTime | int | — |
int Get Warmup Time( )
void Set Warmup Time( int new Warmup Time)
Parameter | Type | Description |
---|---|---|
newWarmupTime | int | — |
int Get Max Score( )
void Set Max Score( int new Max Score)
Parameter | Type | Description |
---|---|---|
newMaxScore | int | — |
int Get Auto Balance Difference( )
void Set Auto Balance Difference( int new Auto Balance Difference)
Parameter | Type | Description |
---|---|---|
newAutoBalanceDifference | int | — |
float Get Score Slomo Time( )
void Set Score Slomo Time( float new Score Slomo Time)
Parameter | Type | Description |
---|---|---|
newScoreSlomoTime | float | — |
float Get Game Time Remaining( )
void Set Game Time Remaining( float new Game Time Remaining)
Parameter | Type | Description |
---|---|---|
newGameTimeRemaining | float | — |
int Get Seconds Remaining( )
void Set Seconds Remaining( int new Seconds Remaining)
Parameter | Type | Description |
---|---|---|
newSecondsRemaining | int | — |
int Get Wait Time Remaining( )
void Set Wait Time Remaining( int new Wait Time Remaining)
Parameter | Type | Description |
---|---|---|
newWaitTimeRemaining | int | — |
float Get Total Game Time Played( )
void Set Total Game Time Played( float new Total Game Time Played)
Parameter | Type | Description |
---|---|---|
newTotalGameTimePlayed | float | — |
float Get Overtime Time Played( )
void Set Overtime Time Played( float new Overtime Time Played)
Parameter | Type | Description |
---|---|---|
newOvertimeTimePlayed | float | — |
unsigned long Getb Round Active( )
void Setb Round Active( unsigned long newb Round Active)
Parameter | Type | Description |
---|---|---|
newbRoundActive | unsigned long | — |
unsigned long Getb Play Replays( )
void Setb Play Replays( unsigned long newb Play Replays)
Parameter | Type | Description |
---|---|---|
newbPlayReplays | unsigned long | — |
unsigned long Getb Ball Has Been Hit( )
void Setb Ball Has Been Hit( unsigned long newb Ball Has Been Hit)
Parameter | Type | Description |
---|---|---|
newbBallHasBeenHit | unsigned long | — |
unsigned long Getb Over Time( )
void Setb Over Time( unsigned long newb Over Time)
Parameter | Type | Description |
---|---|---|
newbOverTime | unsigned long | — |
unsigned long Getb Unlimited Time( )
void Setb Unlimited Time( unsigned long newb Unlimited Time)
Parameter | Type | Description |
---|---|---|
newbUnlimitedTime | unsigned long | — |
unsigned long Getb No Contest( )
void Setb No Contest( unsigned long newb No Contest)
Parameter | Type | Description |
---|---|---|
newbNoContest | unsigned long | — |
unsigned long Getb Disable Goal Delay( )
void Setb Disable Goal Delay( unsigned long newb Disable Goal Delay)
Parameter | Type | Description |
---|---|---|
newbDisableGoalDelay | unsigned long | — |
unsigned long Getb Show No Scorer Goal Message( )
void Setb Show No Scorer Goal Message( unsigned long newb Show No Scorer Goal Message)
Parameter | Type | Description |
---|---|---|
newbShowNoScorerGoalMessage | unsigned long | — |
unsigned long Getb Match Ended( )
void Setb Match Ended( unsigned long newb Match Ended)
Parameter | Type | Description |
---|---|---|
newbMatchEnded | unsigned long | — |
unsigned long Getb Show Intro Scene( )
void Setb Show Intro Scene( unsigned long newb Show Intro Scene)
Parameter | Type | Description |
---|---|---|
newbShowIntroScene | unsigned long | — |
unsigned long Getb Club Match( )
void Setb Club Match( unsigned long newb Club Match)
Parameter | Type | Description |
---|---|---|
newbClubMatch | unsigned long | — |
int Get Next Spawn Index( )
void Set Next Spawn Index( int new Next Spawn Index)
Parameter | Type | Description |
---|---|---|
newNextSpawnIndex | int | — |
ReplayDirectorWrapper Get Replay Director Archetype( )
void Set Replay Director Archetype( Replay Director Wrapper new Replay Director Archetype)
Parameter | Type | Description |
---|---|---|
newReplayDirectorArchetype | ReplayDirectorWrapper | — |
ReplayDirectorWrapper Get Replay Director( )
void Set Replay Director( Replay Director Wrapper new Replay Director)
Parameter | Type | Description |
---|---|---|
newReplayDirector | ReplayDirectorWrapper | — |
ArrayWrapper Get Game Balls( )
int Get Total Game Balls( )
void Set Total Game Balls( int new Total Game Balls)
Parameter | Type | Description |
---|---|---|
newTotalGameBalls | int | — |
float Get Post Goal Time( )
void Set Post Goal Time( float new Post Goal Time)
Parameter | Type | Description |
---|---|---|
newPostGoalTime | float | — |
ArrayWrapper Get Goals( )
int Get Seconds Remaining Countdown( )
void Set Seconds Remaining Countdown( int new Seconds Remaining Countdown)
Parameter | Type | Description |
---|---|---|
newSecondsRemainingCountdown | int | — |
Vector Get Field Center( )
void Set Field Center( Vector new Field Center)
Parameter | Type | Description |
---|---|---|
newFieldCenter | Vector | — |
TeamWrapper Get Game Winner( )
void Set Game Winner( Team Wrapper new Game Winner)
Parameter | Type | Description |
---|---|---|
newGameWinner | TeamWrapper | — |
TeamWrapper Get Match Winner( )
void Set Match Winner( Team Wrapper new Match Winner)
Parameter | Type | Description |
---|---|---|
newMatchWinner | TeamWrapper | — |
PriWrapper Get MVP( )
void Set MVP( Pri Wrapper new MVP)
Parameter | Type | Description |
---|---|---|
newMVP | PriWrapper | — |
PriWrapper Get Fastest Goal Player( )
void Set Fastest Goal Player( Pri Wrapper new Fastest Goal Player)
Parameter | Type | Description |
---|---|---|
newFastestGoalPlayer | PriWrapper | — |
PriWrapper Get Slowest Goal Player( )
void Set Slowest Goal Player( Pri Wrapper new Slowest Goal Player)
Parameter | Type | Description |
---|---|---|
newSlowestGoalPlayer | PriWrapper | — |
PriWrapper Get Furthest Goal Player( )
void Set Furthest Goal Player( Pri Wrapper new Furthest Goal Player)
Parameter | Type | Description |
---|---|---|
newFurthestGoalPlayer | PriWrapper | — |
float Get Fastest Goal Speed( )
void Set Fastest Goal Speed( float new Fastest Goal Speed)
Parameter | Type | Description |
---|---|---|
newFastestGoalSpeed | float | — |
float Get Slowest Goal Speed( )
void Set Slowest Goal Speed( float new Slowest Goal Speed)
Parameter | Type | Description |
---|---|---|
newSlowestGoalSpeed | float | — |
float Get Furthest Goal( )
void Set Furthest Goal( float new Furthest Goal)
Parameter | Type | Description |
---|---|---|
newFurthestGoal | float | — |
unsigned char Get Replicated Scored On Team( )
void Set Replicated Scored On Team( unsigned char new Replicated Scored On Team)
Parameter | Type | Description |
---|---|---|
newReplicatedScoredOnTeam | unsigned char | — |
unsigned char Get Replicated Server Performance State( )
void Set Replicated Server Performance State( unsigned char new Replicated Server Performance State)
Parameter | Type | Description |
---|---|---|
newReplicatedServerPerformanceState | unsigned char | — |
int Get Round Num( )
void Set Round Num( int new Round Num)
Parameter | Type | Description |
---|---|---|
newRoundNum | int | — |
float Get Assist Max Time( )
void Set Assist Max Time( float new Assist Max Time)
Parameter | Type | Description |
---|---|---|
newAssistMaxTime | float | — |
float Get Ball Has Been Hit Start Delay( )
void Set Ball Has Been Hit Start Delay( float new Ball Has Been Hit Start Delay)
Parameter | Type | Description |
---|---|---|
newBallHasBeenHitStartDelay | float | — |
float Get Podium Delay( )
void Set Podium Delay( float new Podium Delay)
Parameter | Type | Description |
---|---|---|
newPodiumDelay | float | — |
float Get Podium Time( )
void Set Podium Time( float new Podium Time)
Parameter | Type | Description |
---|---|---|
newPodiumTime | float | — |
int Get Lobby End Countdown( )
void Set Lobby End Countdown( int new Lobby End Countdown)
Parameter | Type | Description |
---|---|---|
newLobbyEndCountdown | int | — |
int Get Lobby Countdown( )
void Set Lobby Countdown( int new Lobby Countdown)
Parameter | Type | Description |
---|---|---|
newLobbyCountdown | int | — |
float Get Lobby Time( )
void Set Lobby Time( float new Lobby Time)
Parameter | Type | Description |
---|---|---|
newLobbyTime | float | — |
int Get Lobby Spawn Restart Time( )
void Set Lobby Spawn Restart Time( int new Lobby Spawn Restart Time)
Parameter | Type | Description |
---|---|---|
newLobbySpawnRestartTime | int | — |
PlayerControllerWrapper Get Pauser( )
void Set Pauser( Player Controller Wrapper new Pauser)
Parameter | Type | Description |
---|---|---|
newPauser | PlayerControllerWrapper | — |
void Set Num Players( int num Players)
Parameter | Type | Description |
---|---|---|
numPlayers | int | — |
int Get Num Players( )
int Get Player Car Count( )
void Replicate Skill Tiers( )
void Remove Team Selection( )
void Check Start( )
void Start Lobby Timer( )
void Handle Countdown Tick( )
void Check For Countdown Action( )
void Lobby Countdown Tick( )
bool Can Spawn Bots( )
void Start Round( )
void End Round( )
void Set Ball Event Listeners( Ball Wrapper Ball, unsigned long b Listen)
Parameter | Type | Description |
---|---|---|
Ball | BallWrapper | — |
bListen | unsigned long | — |
bool Can Award Points( )
void Handle Car Touch( Ball Wrapper Ball, Car Wrapper Hit Car, unsigned char Hit Type)
Parameter | Type | Description |
---|---|---|
Ball | BallWrapper | — |
HitCar | CarWrapper | — |
HitType | unsigned char | — |
void Set Ball Has Been Hit2()
int Determine Score Touch Index( Ball Wrapper Ball, Goal Wrapper Goal)
Parameter | Type | Description |
---|---|---|
Ball | BallWrapper | — |
Goal | GoalWrapper | — |
int Determine Assist Touch Index( Ball Wrapper Ball, int Score Idx)
Parameter | Type | Description |
---|---|---|
Ball | BallWrapper | — |
ScoreIdx | int | — |
void Update Total Game Time Played( float Delta Time)
Parameter | Type | Description |
---|---|---|
DeltaTime | float | — |
void Update Game Time( float Delta Time)
Parameter | Type | Description |
---|---|---|
DeltaTime | float | — |
bool Can Update Game Time( )
void Start Replay( )
void Handle Replay Finished( Replay Director Wrapper In Replay)
Parameter | Type | Description |
---|---|---|
InReplay | ReplayDirectorWrapper | — |
void Goto Podium Spotlight( )
void Update Spotlight( )
void Spawn Podium Cars( )
bool Can Enable Car Podium Movement( )
void Finish Event( )
bool __Game Event_Soccar_TA__Update Team Scores( Team Wrapper T)
Parameter | Type | Description |
---|---|---|
T | TeamWrapper | — |
void __Game Event_Soccar_TA__Submit Match Complete( Pri Wrapper PRI)
Parameter | Type | Description |
---|---|---|
PRI | PriWrapper | — |
void __Game Event_Soccar_TA__Check Start( Team Wrapper T)
Parameter | Type | Description |
---|---|---|
T | TeamWrapper | — |
void __Game Event_Soccar_TA__End State( Team Wrapper T)
Parameter | Type | Description |
---|---|---|
T | TeamWrapper | — |
void __Replicated Server Performance State__Change Notify Func( )
void __b Club Match__Change Notify Func( )
void __b Show Intro Scene__Change Notify Func( )
void __Wait Time Remaining__Change Notify Func( )
void Check Join In Progress( Pri Wrapper PRI)
Parameter | Type | Description |
---|---|---|
PRI | PriWrapper | — |
bool Allow Dynamic Crowd( )
void Add Ball Trajectory( Ball Wrapper In Ball)
Parameter | Type | Description |
---|---|---|
InBall | BallWrapper | — |
bool Show Scorer Goal Message( )
bool Can Use Ball Cam( )
bool Disable Stat XP( )
void Set Disable Goal Delay( unsigned long b In Disable Goal Delay)
Parameter | Type | Description |
---|---|---|
bInDisableGoalDelay | unsigned long | — |
void Force Match Start( )
void Remove Local Player( Player Controller Wrapper Player)
Parameter | Type | Description |
---|---|---|
Player | PlayerControllerWrapper | — |
void Add Local Player( Player Controller Wrapper Player)
Parameter | Type | Description |
---|---|---|
Player | PlayerControllerWrapper | — |
void Destroy Goal Indicators( Player Controller Wrapper Player)
Parameter | Type | Description |
---|---|---|
Player | PlayerControllerWrapper | — |
void Create Goal Indicators( Player Controller Wrapper Player)
Parameter | Type | Description |
---|---|---|
Player | PlayerControllerWrapper | — |
void Begin Highlights Replay( )
bool Should Count Up( )
bool Should Allow Vote To Forfeit( )
bool Should Have Leave Match Penalty( )
void Set Paused( Player Controller Wrapper In Pauser, unsigned long b In Paused)
Parameter | Type | Description |
---|---|---|
InPauser | PlayerControllerWrapper | — |
bInPaused | unsigned long | — |
bool Should Countdown Resume From Pause( )
void Set Score And Time( Player Controller Wrapper PC, int New Score Team0, int New Score Team1, int In Game Time Remaining, unsigned long b In Overtime, unsigned long b Restart Round)
Parameter | Type | Description |
---|---|---|
PC | PlayerControllerWrapper | — |
NewScoreTeam0 | int | — |
NewScoreTeam1 | int | — |
InGameTimeRemaining | int | — |
bInOvertime | unsigned long | — |
bRestartRound | unsigned long | — |
void Save Local Player Stats( )
bool Should Play Replay( )
bool Should Record Replay( )
void On Ball Has Been Hit( )
BallWrapper Spawn Ball2(Vector &Spawn Loc, unsigned long b Wake, unsigned long b Spawn Cannon, std::string Ball Arch)
Parameter | Type | Description |
---|---|---|
SpawnLoc | Vector | — |
bWake | unsigned long | — |
bSpawnCannon | unsigned long | — |
BallArch | std::string | — |
int Get Total Score( )
void Handle Car Set( Pri Wrapper In PRI)
Parameter | Type | Description |
---|---|---|
InPRI | PriWrapper | — |
void Remove Player( Controller Wrapper Player)
Parameter | Type | Description |
---|---|---|
Player | ControllerWrapper | — |
void Remove PRI( Pri Wrapper PRI)
Parameter | Type | Description |
---|---|---|
PRI | PriWrapper | — |
void Add PRI( Pri Wrapper PRI)
Parameter | Type | Description |
---|---|---|
PRI | PriWrapper | — |
void On Match Winner Set( )
void On Game Winner Set( )
int MVPSort( Pri Wrapper A, Pri Wrapper B)
Parameter | Type | Description |
---|---|---|
A | PriWrapper | — |
B | PriWrapper | — |
void Handle Hit Goal( Ball Wrapper Ball, Goal Wrapper Goal)
Parameter | Type | Description |
---|---|---|
Ball | BallWrapper | — |
Goal | GoalWrapper | — |
void Clear Replicated Scored On Team( )
void Trigger Score Changed Event( )
void Handle Score Updated( Team Wrapper Team)
Parameter | Type | Description |
---|---|---|
Team | TeamWrapper | — |
void On All Teams Created( )
void Trigger Goal Score Event( int Team Scored On, Car Wrapper Scorer)
Parameter | Type | Description |
---|---|---|
TeamScoredOn | int | — |
Scorer | CarWrapper | — |
void Set Total Game Balls2(int Total Balls)
Parameter | Type | Description |
---|---|---|
TotalBalls | int | — |
void Record Recent Players( )
void Update Stats( )
void Notify Kismet Of Current Time( )
bool Enough Time Passed To Forfeit( )
void On Game Time Updated( )
void On Overtime Updated( )
void Force Overtime( )
void Start Overtime( )
bool On My Half( Vector &Test Location, unsigned char Team Num)
Parameter | Type | Description |
---|---|---|
TestLocation | Vector | — |
TeamNum | unsigned char | — |
TeamWrapper Get Winning Team( )
void Reset Pickups( )
void Reset Players( )
void On Ball Spawned( Ball Wrapper New Ball)
Parameter | Type | Description |
---|---|---|
NewBall | BallWrapper | — |
void Reset Balls( )
void Destroy Cars( )
void Freeze Pawns( )
void Destroy Balls( )
void Remove Game Ball( Ball Wrapper Ball)
Parameter | Type | Description |
---|---|---|
Ball | BallWrapper | — |
void Add Game Ball( Ball Wrapper Ball)
Parameter | Type | Description |
---|---|---|
Ball | BallWrapper | — |
void Start New Round( )
void Check For Auto Balance( )
bool Has Winner( )
void Submit Match2()
void Submit Match Complete2()
void On Match Ended( )
bool Should Do Podium Spotlight( )
void End Game( )
void Update Team Scores2()
void Start New Game( )
void Reset Game( )
void Clear Replicated Stat Event( )
void event Destroyed( )
void Init Bot Detection( )
void Init Crowd Manager( )
void Init Field( )
void Init Game Observer( )
void On Init( )
void Init Mutators( )
void On Club Match( )
bool Can Init Club Match( )
void Assign Custom Team Settings( )
void Init Game2(std::string Options)
Parameter | Type | Description |
---|---|---|
Options | std::string | — |
std::string Get Match GUID( )
void Set Match GUID( std::string s)
Parameter | Type | Description |
---|---|---|
s | std::string | — |
void Event Game Winner Set( Server Wrapper Game Event)
Parameter | Type | Description |
---|---|---|
GameEvent | ServerWrapper | — |
void Event Goal Scored( Server Wrapper Game Event, Ball Wrapper Ball, Goal Wrapper Goal, int Score Index, int Assist Idx)
Parameter | Type | Description |
---|---|---|
GameEvent | ServerWrapper | — |
Ball | BallWrapper | — |
Goal | GoalWrapper | — |
ScoreIndex | int | — |
AssistIdx | int | — |