Difference between revisions of "Talk:SendProp"

From Valve Developer Community
Jump to: navigation, search
m
Line 8: Line 8:
 
--[[User:Mflux|Mflux]] 06:38, 9 Jul 2008 (PDT)
 
--[[User:Mflux|Mflux]] 06:38, 9 Jul 2008 (PDT)
 
:If you move your cursor to the list of arguments and hit ctrl+space, Visual Studio will tell you what each one means. --[[user:TomEdwards|TomEdwards]] 06:44, 9 Jul 2008 (PDT)
 
:If you move your cursor to the list of arguments and hit ctrl+space, Visual Studio will tell you what each one means. --[[user:TomEdwards|TomEdwards]] 06:44, 9 Jul 2008 (PDT)
 +
::Hi Tom, thanks for the tip. It tells me what each one is, but not what it means. For example.. from SendPropInt
 +
  int offset,
 +
  int sizeofVar,
 +
  int nBits,
 +
  int flags,
 +
 +
::What is offset? Offset what? How can I tell size of Var? What is it for? What are the nBits? What is it for and why would I use it? --[[User:Mflux|Mflux]] 06:46, 12 Jul 2008 (PDT)

Revision as of 13:46, 12 July 2008

Hi

What do these ints / floats mean inside the sendprops?

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

What does 0 stand for here? Did I miss something? --Mflux 06:38, 9 Jul 2008 (PDT)

If you move your cursor to the list of arguments and hit ctrl+space, Visual Studio will tell you what each one means. --TomEdwards 06:44, 9 Jul 2008 (PDT)
Hi Tom, thanks for the tip. It tells me what each one is, but not what it means. For example.. from SendPropInt
 	int offset,
 	int sizeofVar,
 	int nBits,
 	int flags,
What is offset? Offset what? How can I tell size of Var? What is it for? What are the nBits? What is it for and why would I use it? --Mflux 06:46, 12 Jul 2008 (PDT)