[−][src]Trait bakkesmod::wrappers::unreal::Server
Provided methods
fn get_ball(&self) -> Option<BallWrapper>
fn spawn_car(&self, car_body: i32, name: &str)
fn spawn_bot(&self, car_body: i32, name: &str)
fn spawn_ball(
&self,
position: Vector,
wake: bool,
spawn_cannon: bool
) -> Option<BallWrapper>
&self,
position: Vector,
wake: bool,
spawn_cannon: bool
) -> Option<BallWrapper>
fn has_authority(&self) -> bool
fn set_game_speed(&self, game_speed: f32)
fn get_game_speed(&self) -> f32
fn set_seconds_elapsed(&self, seconds_elapsed: f32)
fn get_seconds_elapsed(&self) -> f32
fn get_game_car(&self) -> Option<CarWrapper>
fn is_ball_moving_towards_goal(&self, goal_no: i32, ball: BallWrapper) -> bool
fn is_in_goal(&self, vec: Vector) -> bool
fn disable_goal_reset(&self)
fn enable_goal_reset(&self)
fn generate_shot(
&self,
start_pos: Vector,
destination: Vector,
speed: f32
) -> Vector
&self,
start_pos: Vector,
destination: Vector,
speed: f32
) -> Vector
fn generate_goal_aim_location(
&self,
goal_number: i32,
current_ball_location: Vector
) -> Vector
&self,
goal_number: i32,
current_ball_location: Vector
) -> Vector
fn get_goal_extent(&self, goal_number: i32) -> Vector
fn get_goal_location(&self, goal_number: i32) -> Vector
fn get_test_car_archetype(&self) -> Option<CarWrapper>
fn get_ball_archetype(&self) -> Option<BallWrapper>
fn get_ball_spawn_point(&self) -> Option<ActorWrapper>
fn get_series_length(&self) -> i32
fn get_game_time(&self) -> i32
fn get_warmup_time(&self) -> i32
fn get_max_score(&self) -> i32
fn get_auto_balance_difference(&self) -> i32
fn get_score_slomo_time(&self) -> f32
fn get_game_time_remaining(&self) -> f32
fn get_seconds_remaining(&self) -> i32
fn get_wait_time_remaining(&self) -> i32
fn get_total_game_time_played(&self) -> f32
fn get_overtime_time_played(&self) -> f32
fn get_b_round_active(&self) -> bool
fn get_b_play_replays(&self) -> bool
fn get_b_ball_has_been_hit(&self) -> bool
fn get_b_over_time(&self) -> bool
fn get_b_unlimited_time(&self) -> bool
fn get_b_no_contest(&self) -> bool
fn get_b_disable_goal_delay(&self) -> bool
fn get_b_show_no_scorer_goal_message(&self) -> bool
fn get_b_match_ended(&self) -> bool
fn get_b_show_intro_scene(&self) -> bool
fn get_b_club_match(&self) -> bool
fn get_next_spawn_index(&self) -> i32
fn get_replay_director_archetype(&self) -> Option<ReplayDirectorWrapper>
fn get_replay_director(&self) -> Option<ReplayDirectorWrapper>
fn get_game_balls(&self) -> RLArray<BallWrapper>
fn get_total_game_balls(&self) -> i32
fn get_post_goal_time(&self) -> f32
fn get_goals(&self) -> RLArray<GoalWrapper>
fn get_seconds_remaining_countdown(&self) -> i32
fn get_field_center(&self) -> Vector
fn get_game_winner(&self) -> Option<TeamWrapper>
fn get_match_winner(&self) -> Option<TeamWrapper>
fn get_replicated_scored_on_team(&self) -> u8
fn get_replicated_server_performance_state(&self) -> u8
fn get_mvp(&self) -> Option<PriWrapper>
fn get_fastest_goal_player(&self) -> Option<PriWrapper>
fn get_slowest_goal_player(&self) -> Option<PriWrapper>
fn get_furthest_goal_player(&self) -> Option<PriWrapper>
fn get_fastest_goal_speed(&self) -> f32
fn get_slowest_goal_speed(&self) -> f32
fn get_furthest_goal(&self) -> f32
fn get_round_num(&self) -> i32
fn get_assist_max_time(&self) -> f32
fn get_ball_has_been_hit_start_delay(&self) -> f32
fn get_podium_delay(&self) -> f32
fn get_podium_time(&self) -> f32
fn get_pauser(&self) -> Option<PlayerControllerWrapper>
fn check_start(&self)
fn get_player_car_count(&self) -> i32
fn replicate_skill_tiers(&self)
fn can_spawn_bots(&self) -> bool
fn start_round(&self)
fn end_round(&self)
fn set_ball_event_listeners(&self, ball: BallWrapper, b_listen: bool)
fn can_award_points(&self) -> bool
fn handle_car_touch(&self, ball: BallWrapper, hit_car: CarWrapper, hit_type: u8)
fn set_ball_has_been_hit(&self)
fn determine_score_touch_index(
&self,
ball: BallWrapper,
goal: GoalWrapper
) -> i32
&self,
ball: BallWrapper,
goal: GoalWrapper
) -> i32
fn determine_assist_touch_index(&self, ball: BallWrapper, score_idx: i32) -> i32
fn update_total_game_time_played(&self, delta_time: f32)
fn update_game_time(&self, delta_time: f32)
fn can_update_game_time(&self) -> bool
fn start_replay(&self)
fn handle_replay_finished(&self, in_replay: ReplayDirectorWrapper)
fn goto_podium_spotlight(&self)
fn update_spotlight(&self)
fn spawn_podium_cars(&self)
fn can_enable_car_podium_movement(&self) -> bool
fn finish_event(&self)
fn replicated_server_performance_state_change_notify_func(&self)
fn b_club_match_change_notify_func(&self)
fn b_show_intro_scene_change_notify_func(&self)
fn wait_time_remaining_change_notify_func(&self)
fn check_join_in_progress(&self, pri: PriWrapper)
fn allow_dynamic_crowd(&self) -> bool
fn add_ball_trajectory(&self, in_ball: BallWrapper)
fn show_scorer_goal_message(&self) -> bool
fn can_use_ball_cam(&self) -> bool
fn disable_stat_xp(&self) -> bool
fn force_match_start(&self)
fn remove_local_player(&self, player: PlayerControllerWrapper)
fn add_local_player(&self, player: PlayerControllerWrapper)
fn destroy_goal_indicators(&self, player: PlayerControllerWrapper)
fn create_goal_indicators(&self, player: PlayerControllerWrapper)
fn begin_highlights_replay(&self)
fn should_count_up(&self) -> bool
fn should_allow_vote_to_forfeit(&self) -> bool
fn should_have_leave_match_penalty(&self) -> bool
fn set_paused(&self, in_pauser: PlayerControllerWrapper, b_in_paused: bool)
fn should_countdown_resume_from_pause(&self) -> bool
fn set_score_and_time(
&self,
pc: PlayerControllerWrapper,
new_score_team0: i32,
new_score_team1: i32,
in_game_time_remaining: i32,
b_in_overtime: bool,
b_restart_round: bool
)
&self,
pc: PlayerControllerWrapper,
new_score_team0: i32,
new_score_team1: i32,
in_game_time_remaining: i32,
b_in_overtime: bool,
b_restart_round: bool
)
fn save_local_player_stats(&self)
fn should_play_replay(&self) -> bool
fn should_record_replay(&self) -> bool
fn on_ball_has_been_hit(&self)
fn get_total_score(&self) -> i32
fn handle_car_set(&self, in_pri: PriWrapper)
fn remove_pri(&self, pri: PriWrapper)
fn add_pri(&self, pri: PriWrapper)
fn on_game_winner_set(&self)
fn mvp_sort(&self, a: PriWrapper, b: PriWrapper) -> i32
fn handle_hit_goal(&self, ball: BallWrapper, goal: GoalWrapper)
fn clear_replicated_scored_on_team(&self)
fn trigger_score_changed_event(&self)
fn handle_score_updated(&self, team: TeamWrapper)
fn on_all_teams_created(&self)
fn trigger_goal_score_event(&self, team_scored_on: i32, scorer: CarWrapper)
fn set_total_game_balls2(&self, total_balls: i32)
fn record_recent_players(&self)
fn update_stats(&self)
fn notify_kismet_of_current_time(&self)
fn enough_time_passed_to_forfeit(&self) -> bool
fn on_game_time_updated(&self)
fn on_overtime_updated(&self)
fn force_overtime(&self)
fn start_overtime(&self)
fn on_my_half(&self, test_location: Vector, team_num: u8) -> bool
fn get_winning_team(&self) -> Option<TeamWrapper>
fn on_ball_spawned(&self, new_ball: BallWrapper)
fn reset_balls(&self)
fn freeze_pawns(&self)
fn destroy_balls(&self)
fn remove_game_ball(&self, ball: BallWrapper)
fn add_game_ball(&self, ball: BallWrapper)
fn start_new_round(&self)
fn check_for_auto_balance(&self)
fn has_winner(&self) -> bool
fn submit_match(&self)
fn submit_match_complete(&self)
fn on_match_ended(&self)
fn should_do_podium_spotlight(&self) -> bool
fn end_game(&self)
fn update_team_scores(&self)
fn start_new_game(&self)
fn reset_game(&self)
fn clear_replicated_stat_event(&self)
fn init_bot_detection(&self)
fn init_crowd_manager(&self)
fn init_field(&self)
fn init_game_observer(&self)
fn on_init(&self)
fn init_mutators(&self)
fn on_club_match(&self)
fn can_init_club_match(&self) -> bool
fn assign_custom_team_settings(&self)
fn init_game(&self, options: RLString)
fn event_game_winner_set(&self, game_event: ServerWrapper)
fn event_goal_scored(
&self,
game_event: ServerWrapper,
ball: BallWrapper,
goal: GoalWrapper,
score_index: i32,
assist_idx: i32
)
&self,
game_event: ServerWrapper,
ball: BallWrapper,
goal: GoalWrapper,
score_index: i32,
assist_idx: i32
)