BakkesMod Programming Wiki
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

PriWrapper : PriXWrapper

View Implementation

The Player Replication Info provides a ton of information on all players connected to a match, including spectators and bots.

The best way to get the PRIs is using a ServerWrapper to call from its superclass GameEventWrapper.GetPRIs()


int 
GetMatchScore()



void 
SetMatchScore(int newMatchScore)


Parameter Type Description
newMatchScore int

int 
GetMatchGoals()



void 
SetMatchGoals(int newMatchGoals)


Parameter Type Description
newMatchGoals int

int 
GetMatchOwnGoals()



void 
SetMatchOwnGoals(int newMatchOwnGoals)


Parameter Type Description
newMatchOwnGoals int

int 
GetMatchAssists()



void 
SetMatchAssists(int newMatchAssists)


Parameter Type Description
newMatchAssists int

int 
GetMatchSaves()



void 
SetMatchSaves(int newMatchSaves)


Parameter Type Description
newMatchSaves int

int 
GetMatchShots()



void 
SetMatchShots(int newMatchShots)


Parameter Type Description
newMatchShots int

int 
GetMatchDemolishes()



void 
SetMatchDemolishes(int newMatchDemolishes)


Parameter Type Description
newMatchDemolishes int

int 
GetMatchBonusXP()



void 
SetMatchBonusXP(int newMatchBonusXP)


Parameter Type Description
newMatchBonusXP int

int 
GetMatchBreakoutDamage()



void 
SetMatchBreakoutDamage(int newMatchBreakoutDamage)


Parameter Type Description
newMatchBreakoutDamage int

unsigned long 
GetbMatchMVP()



void 
SetbMatchMVP(unsigned long newbMatchMVP)


Parameter Type Description
newbMatchMVP unsigned long

unsigned long 
GetbMatchAdmin()



void 
SetbMatchAdmin(unsigned long newbMatchAdmin)


Parameter Type Description
newbMatchAdmin unsigned long

unsigned long 
GetbLoadoutSet()



void 
SetbLoadoutSet(unsigned long newbLoadoutSet)


Parameter Type Description
newbLoadoutSet unsigned long

unsigned long 
GetbOnlineLoadoutSet()



void 
SetbOnlineLoadoutSet(unsigned long newbOnlineLoadoutSet)


Parameter Type Description
newbOnlineLoadoutSet unsigned long

unsigned long 
GetbLoadoutsSet()



void 
SetbLoadoutsSet(unsigned long newbLoadoutsSet)


Parameter Type Description
newbLoadoutsSet unsigned long

unsigned long 
GetbOnlineLoadoutsSet()



void 
SetbOnlineLoadoutsSet(unsigned long newbOnlineLoadoutsSet)


Parameter Type Description
newbOnlineLoadoutsSet unsigned long

unsigned long 
GetbTeamPaintSet()



void 
SetbTeamPaintSet(unsigned long newbTeamPaintSet)


Parameter Type Description
newbTeamPaintSet unsigned long

unsigned long 
GetbReady()



void 
SetbReady(unsigned long newbReady)


Parameter Type Description
newbReady unsigned long

unsigned long 
GetbBusy()



void 
SetbBusy(unsigned long newbBusy)


Parameter Type Description
newbBusy unsigned long

unsigned long 
GetbUsingSecondaryCamera()



void 
SetbUsingSecondaryCamera(unsigned long newbUsingSecondaryCamera)


Parameter Type Description
newbUsingSecondaryCamera unsigned long

unsigned long 
GetbUsingBehindView()



void 
SetbUsingBehindView(unsigned long newbUsingBehindView)


Parameter Type Description
newbUsingBehindView unsigned long

unsigned long 
GetbUsingFreecam()



void 
SetbUsingFreecam(unsigned long newbUsingFreecam)


Parameter Type Description
newbUsingFreecam unsigned long

unsigned long 
GetbIsInSplitScreen()



void 
SetbIsInSplitScreen(unsigned long newbIsInSplitScreen)


Parameter Type Description
newbIsInSplitScreen unsigned long

unsigned long 
GetbStartVoteToForfeitDisabled()



void 
SetbStartVoteToForfeitDisabled(unsigned long newbStartVoteToForfeitDisabled)


Parameter Type Description
newbStartVoteToForfeitDisabled unsigned long

unsigned long 
GetbUsingItems()



void 
SetbUsingItems(unsigned long newbUsingItems)


Parameter Type Description
newbUsingItems unsigned long

unsigned long 
GetPlayerHistoryValid()



void 
SetPlayerHistoryValid(unsigned long newPlayerHistoryValid)


Parameter Type Description
newPlayerHistoryValid unsigned long

GameEventWrapper 
GetGameEvent()



void 
SetGameEvent(GameEventWrapper newGameEvent)


Parameter Type Description
newGameEvent GameEventWrapper

GameEventWrapper 
GetReplicatedGameEvent()



void 
SetReplicatedGameEvent(GameEventWrapper newReplicatedGameEvent)


Parameter Type Description
newReplicatedGameEvent GameEventWrapper

CarWrapper 
GetCar()



void 
SetCar(CarWrapper newCar)


Parameter Type Description
newCar CarWrapper

int 
GetRespawnTimeRemaining()



void 
SetRespawnTimeRemaining(int newRespawnTimeRemaining)


Parameter Type Description
newRespawnTimeRemaining int

int 
GetWaitingStartTime()



void 
SetWaitingStartTime(int newWaitingStartTime)


Parameter Type Description
newWaitingStartTime int

float 
GetTotalGameTimePlayed()



void 
SetTotalGameTimePlayed(float newTotalGameTimePlayed)


Parameter Type Description
newTotalGameTimePlayed float

ProfileCameraSettings 
GetCameraSettings()



void 
SetCameraSettings(ProfileCameraSettings newCameraSettings)


Parameter Type Description
newCameraSettings ProfileCameraSettings

unsigned char 
GetCameraPitch()



void 
SetCameraPitch(unsigned char newCameraPitch)


Parameter Type Description
newCameraPitch unsigned char

unsigned char 
GetCameraYaw()



void 
SetCameraYaw(unsigned char newCameraYaw)


Parameter Type Description
newCameraYaw unsigned char

unsigned char 
GetPawnType()



void 
SetPawnType(unsigned char newPawnType)


Parameter Type Description
newPawnType unsigned char

unsigned char 
GetReplicatedWorstNetQualityBeyondLatency()



void 
SetReplicatedWorstNetQualityBeyondLatency(unsigned char newReplicatedWorstNetQualityBeyondLatency)


Parameter Type Description
newReplicatedWorstNetQualityBeyondLatency unsigned char

CameraSettingsActorWrapper 
GetPersistentCamera() const



SteamID 
GetPartyLeader()



void 
SetPartyLeader(UniqueIDWrapper newPartyLeader)


Parameter Type Description
newPartyLeader UniqueIDWrapper

UniqueIDWrapper 
GetPartyLeaderID()



float 
GetDodgeInputThreshold()



void 
SetDodgeInputThreshold(float newDodgeInputThreshold)


Parameter Type Description
newDodgeInputThreshold float

float 
GetSteeringSensitivity()



void 
SetSteeringSensitivity(float newSteeringSensitivity)


Parameter Type Description
newSteeringSensitivity float

float 
GetAirControlSensitivity()



void 
SetAirControlSensitivity(float newAirControlSensitivity)


Parameter Type Description
newAirControlSensitivity float

float 
GetNextTimeRestrictedStatEventAllowedTime()



void 
SetNextTimeRestrictedStatEventAllowedTime(float newNextTimeRestrictedStatEventAllowedTime)


Parameter Type Description
newNextTimeRestrictedStatEventAllowedTime float

float 
GetLastTimeRestrictedStatEventTime()



void 
SetLastTimeRestrictedStatEventTime(float newLastTimeRestrictedStatEventTime)


Parameter Type Description
newLastTimeRestrictedStatEventTime float

int 
GetTimeTillItem()



void 
SetTimeTillItem(int newTimeTillItem)


Parameter Type Description
newTimeTillItem int

int 
GetMaxTimeTillItem()



void 
SetMaxTimeTillItem(int newMaxTimeTillItem)


Parameter Type Description
newMaxTimeTillItem int

int 
GetBoostPickups()



void 
SetBoostPickups(int newBoostPickups)


Parameter Type Description
newBoostPickups int

int 
GetBallTouches()



void 
SetBallTouches(int newBallTouches)


Parameter Type Description
newBallTouches int

int 
GetCarTouches()



void 
SetCarTouches(int newCarTouches)


Parameter Type Description
newCarTouches int

PriWrapper 
GetReplacingBotPRI()



void 
SetReplacingBotPRI(PriWrapper newReplacingBotPRI)


Parameter Type Description
newReplacingBotPRI PriWrapper

unsigned long long 
GetClubID()



void 
SetClubID(unsigned long long newClubID)


Parameter Type Description
newClubID unsigned long long

UnrealStringWrapper 
GetPublicIP()



int 
GetSpectatorShortcut()



void 
SetSpectatorShortcut(int newSpectatorShortcut)


Parameter Type Description
newSpectatorShortcut int

ClubDetailsWrapper 
GetClubDetails()



void 
__ClubID__ChangeNotifyFunc()



void 
__PREI__ChangeNotifyFunc()



void 
__ReplicatedWorstNetQualityBeyondLatency__ChangeNotifyFunc()



void 
eventDestroyed()



void 
OnSpectatorShortcutChanged()



void 
SetSpectatorShortcut2(int InShortcut)


Parameter Type Description
InShortcut int

void 
ServerSetPublicIP(std::string IP)


Parameter Type Description
IP std::string

void 
OnUniqueIdChanged()



void 
UpdatePlayerAvatarBorder()



void 
UpdatePlayerBanner()



void 
ClientAchievementProgression(int AchievementId, unsigned char AchievementType, float Progress, float MaxProgress)


Parameter Type Description
AchievementId int
AchievementType unsigned char
Progress float
MaxProgress float

void 
ClientUnlockAchievement(int AchievementId, unsigned char AchievementType)


Parameter Type Description
AchievementId int
AchievementType unsigned char

void 
ServerSetPlayerActivatedFX(FXActorWrapper FX)


Parameter Type Description
FX FXActorWrapper

void 
UpdateCarLocalPlayer()



void 
OnReplacingBotPRIChanged()



void 
OnTeamChanged()



void 
ClearBotReplacement()



void 
ReportCheater(std::string Reason)


Parameter Type Description
Reason std::string

bool 
ValidateLoadoutTeamPaints()



bool 
ValidateLoadoutSlots()



void 
ValidateLoadoutDLC()



void 
OnStartVoteToForfeitDisabledChanged()



void 
SetStartVoteToForfeitDisabled(unsigned long bDisabled)


Parameter Type Description
bDisabled unsigned long

void 
ServerVoteToForfeit()



void 
SetUserCarPreferences(float NewDodgeThreshold, float NewSteeringSensitivity, float NewAirControlSensitivity)


Parameter Type Description
NewDodgeThreshold float
NewSteeringSensitivity float
NewAirControlSensitivity float

void 
ServerSetUserCarPreferences(float NewDodgeThreshold, float NewSteeringSensitivity, float NewAirControlSensitivity)


Parameter Type Description
NewDodgeThreshold float
NewSteeringSensitivity float
NewAirControlSensitivity float

int 
ValidateUserInt(std::string Reason, int NewValue, int Min, int Max)


Parameter Type Description
Reason std::string
NewValue int
Min int
Max int

float 
ValidateUserFloat(std::string Reason, float NewValue, float Min, float Max)


Parameter Type Description
Reason std::string
NewValue float
Min float
Max float

void 
OnPawnTypeChanged()



void 
SetWaitingPlayer(unsigned long B)


Parameter Type Description
B unsigned long

void 
SetPawnType2(unsigned char NewPawnType)


Parameter Type Description
NewPawnType unsigned char

bool 
IsPlayer()



bool 
IsEditor()



bool 
IsSpectator()



void 
ServerSpectate()



void 
ClientChangeTeamFailed(int TeamNum)


Parameter Type Description
TeamNum int

void 
ServerChangeTeam(int TeamNum)


Parameter Type Description
TeamNum int

void 
ReplicatePodiumTitles()



void 
OnMatchAdmin()



void 
OnMVPChange()



void 
NotifyWonMVP()



bool 
IsInvalidName()



bool 
IsInWarmUpMode()



void 
SetReady(unsigned long bNewReady)


Parameter Type Description
bNewReady unsigned long

void 
ServerMatchAdminSetPaused(unsigned long bPause)


Parameter Type Description
bPause unsigned long

void 
ServerMatchAdminSetScoreAndTime(int NewScoreTeam0, int NewScoreTeam1, int SecondsRemaining, unsigned long bOverTime, unsigned long bRestartRound)


Parameter Type Description
NewScoreTeam0 int
NewScoreTeam1 int
SecondsRemaining int
bOverTime unsigned long
bRestartRound unsigned long

void 
SetMatchAdmin(unsigned long bIsMatchAdmin)


Parameter Type Description
bIsMatchAdmin unsigned long

void 
ServerReadyUp()



bool 
ShouldBroadCastWelcomeMessage(unsigned long bExiting)


Parameter Type Description
bExiting unsigned long

void 
UpdateOnlineProductStats()



void 
SetWaitingStartTime2()



void 
OnRespawnTimeRemainingChanged()



void 
SetRespawnTime2(int NewTime)


Parameter Type Description
NewTime int

void 
ClientScoredGoal(Vector &BallHitLocation)


Parameter Type Description
BallHitLocation Vector

void 
OnScoredGoal(Vector &BallHitLocation)


Parameter Type Description
BallHitLocation Vector

void 
OnRep_SteeringSensitivity()



void 
OnRep_ClientScorePoint()



void 
ResetScore()



void 
RemovePoints(int Points)


Parameter Type Description
Points int

void 
ScorePoint2(int AdditionalScore)


Parameter Type Description
AdditionalScore int

bool 
CanAwardTimeRestrictedStatEvent()



void 
RecordTimeRestrictedStatEvent()



void 
ResetTimeRestrictedStatEvent()



int 
GetMatchXP()



void 
CommitStats()



void 
UpdateFromLoadout()



void 
UpdateUserCarPreferences(AirControlComponentWrapper AirControlComponent)


Parameter Type Description
AirControlComponent AirControlComponentWrapper

void 
HandleAirControl(AirControlComponentWrapper AirControlComp)


Parameter Type Description
AirControlComp AirControlComponentWrapper

void 
SetCar2(CarWrapper NewCar)


Parameter Type Description
NewCar CarWrapper

bool 
IsClientPlayerPRI()



bool 
IsLocalPlayerPRI()



void 
Unregister()



void 
AddLocalPlayerToGameEvent()



void 
OnLoadoutsSetInternal()



bool 
AreLoadoutsSet()



void 
OnLoadoutsOnlineSet()



void 
OnLoadoutsSet2()



void 
RemoveCertifiedProductStat(unsigned long long InstanceID)


Parameter Type Description
InstanceID unsigned long long

void 
InitLoadoutAttributesForTeam(PriXWrapper PRI)


Parameter Type Description
PRI PriXWrapper

bool 
ShouldValidateOnlineProducts()



void 
OnSplitScreenStatusChanged()



void 
ServerSplitScreenStatusChanged(unsigned long bInSplitScreen)


Parameter Type Description
bInSplitScreen unsigned long

void 
UpdateSplitScreenStatus()



void 
OnPartyLeaderChanged()



void 
ServerSetPartyLeader(SteamID &InPartyLeader, unsigned long bInParty)


Parameter Type Description
InPartyLeader SteamID
bInParty unsigned long

void 
SetPartyLeader2(SteamID &InPartyLeader, unsigned long bInParty)


Parameter Type Description
InPartyLeader SteamID
bInParty unsigned long

void 
UpdatePartyStatus()



void 
OnSkillTierChanged()



void 
ReplicateSkillTier(int NewTier)


Parameter Type Description
NewTier int

void 
OnTitleChanged()



void 
SyncPlayerTitle()



void 
UpdateTitleFromLoadout()



void 
UpdateTitle2()



void 
GetNewFriendKey()



void 
ServerSetPlayerHistoryKey(unsigned char *HistoryKeyArray)


Parameter Type Description
HistoryKeyArray unsigned char *

void 
OnRep_UniqueId()



void 
EventOwnerChanged(PriWrapper PRI)


Parameter Type Description
PRI PriWrapper

void 
EventSpectatorShortcutChanged(PriWrapper PRI)


Parameter Type Description
PRI PriWrapper

void 
EventServerAchievementProgression(PriWrapper PRI, int AchievementId, unsigned char AchievementType, float Progress, float MaxProgress)


Parameter Type Description
PRI PriWrapper
AchievementId int
AchievementType unsigned char
Progress float
MaxProgress float

void 
EventStartVoteToForfeitDisabledChanged(PriWrapper PRI)


Parameter Type Description
PRI PriWrapper

void 
EventCarPreUpdate(PriWrapper PRI)


Parameter Type Description
PRI PriWrapper

void 
EventVanityChanged()