-
Notifications
You must be signed in to change notification settings - Fork 29
Synchronization structures
Denis edited this page Sep 11, 2021
·
10 revisions
enum PR_OnFootSync
{
PR_lrKey,
PR_udKey,
PR_keys,
Float:PR_position[3],
Float:PR_quaternion[4],
PR_health,
PR_armour,
PR_weaponId,
PR_additionalKey,
PR_specialAction,
Float:PR_velocity[3],
Float:PR_surfingOffsets[3],
PR_surfingVehicleId,
PR_animationId,
PR_animationFlags,
};
enum PR_InCarSync
{
PR_vehicleId,
PR_lrKey,
PR_udKey,
PR_keys,
Float:PR_quaternion[4],
Float:PR_position[3],
Float:PR_velocity[3],
Float:PR_vehicleHealth,
PR_playerHealth,
PR_armour,
PR_weaponId,
PR_additionalKey,
PR_sirenState,
PR_landingGearState,
PR_trailerId,
Float:PR_trainSpeed,
};
enum PR_TrailerSync
{
PR_trailerId,
Float:PR_position[3],
Float:PR_quaternion[4],
Float:PR_velocity[3],
Float:PR_angularVelocity[3],
};
enum PR_PassengerSync
{
PR_vehicleId,
PR_seatId,
PR_driveBy,
PR_weaponId,
PR_additionalKey,
PR_playerHealth,
PR_playerArmour,
PR_lrKey,
PR_udKey,
PR_keys,
Float:PR_position[3],
};
enum PR_UnoccupiedSync
{
PR_vehicleId,
PR_seatId,
Float:PR_roll[3],
Float:PR_direction[3],
Float:PR_position[3],
Float:PR_velocity[3],
Float:PR_angularVelocity[3],
Float:PR_vehicleHealth,
};
enum PR_AimSync
{
PR_camMode,
Float:PR_camFrontVec[3],
Float:PR_camPos[3],
Float:PR_aimZ,
PR_camZoom,
PR_weaponState,
PR_aspectRatio,
};
enum PR_BulletSync
{
PR_hitType,
PR_hitId,
Float:PR_origin[3],
Float:PR_hitPos[3],
Float:PR_offsets[3],
PR_weaponId,
};
enum PR_SpectatingSync
{
PR_lrKey,
PR_udKey,
PR_keys,
Float:PR_position[3],
};
enum PR_MarkersSync
{
PR_numberOfPlayers,
PR_playerIsActive[MAX_PLAYERS],
PR_playerPositionX[MAX_PLAYERS],
PR_playerPositionY[MAX_PLAYERS],
PR_playerPositionZ[MAX_PLAYERS],
PR_playerIsParticipant[MAX_PLAYERS], // Pawn.RakNet internal helping field
};
enum PR_WeaponsUpdate
{
PR_targetId,
PR_targetActorId,
PR_slotWeaponId[PR_MAX_WEAPON_SLOTS],
PR_slotWeaponAmmo[PR_MAX_WEAPON_SLOTS],
PR_slotUpdated[PR_MAX_WEAPON_SLOTS], // Pawn.RakNet internal helping field
};
enum PR_StatsUpdate
{
PR_money,
PR_drunkLevel,
};
enum PR_RconCommand
{
PR_command[256],
};
- Refer to BrunoBM16's RPC and Packet lists