SendProp

From Valve Developer Community
Jump to: navigation, search
Dead End - Icon.png
This article has no links to other VDC articles. Please help improve this article by adding links that are relevant to the context within the existing text.
January 2024

dt_send.h

SendPropFloat

Example: SendPropFloat( SENDINFO(m_flSpriteScale ), 8, SPROP_ROUNDUP, 0.0f, MAX_SPRITE_SCALE),

SendPropVector

Example: SendPropVector( SENDINFO( m_vInitialVelocity ),


Example: SendPropVector( SENDINFO( m_vecStartPosition ), 0, SPROP_NOSCALE ),

SendPropAngle

Example: SendPropAngle( SENDINFO_VECTORELEM( m_angRotation, 0 ), 13 ),

SendPropQAngles

Example: SendPropQAngles( SENDINFO( m_angRotation ), 10 ),


Example: SendPropQAngles( SENDINFO( m_angRotation ), 13, SPROP_CHANGES_OFTEN, SendProxy_Angles ),

SendPropInt

Example: SendPropInt( SENDINFO( m_nNumBeamEnts ), 5, SPROP_UNSIGNED ),


Example: SendPropInt( SENDINFO( m_nSkin ), 10 ),

SendPropString

Example: SendPropString( SENDINFO( m_szTeamname ) ),

SendPropArray3

Example: SendPropArray3( SENDINFO_ARRAY3( m_bAlive ), SendPropInt( SENDINFO_ARRAY(m_bAlive), 1, SPROP_UNSIGNED ) ),


Example: SendPropArray3( SENDINFO_ARRAY3( m_hMyWeapons ), SendPropEHandle( SENDINFO_ARRAY(m_hMyWeapons) ) ),

SendPropDataTable

Example: SendPropDataTable( SENDINFO_DT( m_Local ), &REFERENCE_SEND_TABLE(DT_Local) ),


Example: SendPropDataTable( SENDINFO_DT( m_HL2Local ), &REFERENCE_SEND_TABLE(DT_HL2Local), SendProxy_SendLocalDataTable ),

SendPropExclude

Example: SendPropExclude( "DT_BaseAnimating", "m_flPoseParameter" ),

sendproxy.h

SendPropBool

Example: SendPropBool( SENDINFO( m_bClearReload ) ),

SendPropEHandle

Example: SendPropEHandle( SENDINFO( m_hPlayer ) ),

SendPropIntWithMinusOneFlag

Example: SendPropIntWithMinusOneFlag( SENDINFO( m_iClip1 ), 8 ),

SendPropTime

Example: SendPropTime( SENDINFO( m_flStartTime ) ),

SendPropPredictableId

Example: SendPropPredictableId( SENDINFO( m_PredictableID ) ),

SendPropStringT

Note.pngNote:RecvTable should use RecvPropString.

Example: SendPropStringT( SENDINFO( m_SoundName ) ),

dt_utlvector_send.h

SendPropUtlVector

Example: SendPropUtlVector( SENDINFO_UTLVECTOR( m_hActorList ), MAX_ACTORS_IN_SCENE, SendPropEHandle( NULL, 0 ) ),