plugins/include/entity.inc
changeset 1884 9ca6aacb1400
parent 1847 5336a438763f
child 1947 e73a1e51833b
     1.1 --- a/plugins/include/entity.inc	Fri Feb 22 16:07:27 2008 +0000
     1.2 +++ b/plugins/include/entity.inc	Fri Feb 22 16:51:15 2008 +0000
     1.3 @@ -67,6 +67,11 @@
     1.4  	PropField_Entity,			/**< Valid for Data fields only (SendProp shows as int) */
     1.5  	PropField_Vector,			/**< Valid for SendProp and Data fields */
     1.6  	PropField_String,			/**< Valid for SendProp and Data fields */
     1.7 +	PropField_String_T,			/**< Valid for Data fields.  Read only.  
     1.8 +									 Note that the size of a string_t is dynamic, and 
     1.9 +									 thus FindDataMapOffs() will return the constant size 
    1.10 +									 of the string_t container (which is 32 bits right now).
    1.11 +								 */
    1.12  };
    1.13  
    1.14  /**
    1.15 @@ -619,6 +624,9 @@
    1.16  
    1.17  /**
    1.18   * Sets a network property as a string.
    1.19 + *
    1.20 + * This cannot set property fields of type PropField_String_T (such as "m_target").
    1.21 + * To set such fields, you should use DispatchKeyValue() from SDKTools.
    1.22   * 
    1.23   * @param entity		Edict index.
    1.24   * @param type			Property type.