Skip to content

Commit

Permalink
Fixed inconsistency with variable naming in .inc
Browse files Browse the repository at this point in the history
  • Loading branch information
FlaminSarge committed Jun 24, 2015
1 parent 0df27fc commit 2d0c97a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tf2attributes.inc
Original file line number Diff line number Diff line change
Expand Up @@ -169,23 +169,23 @@ native int TF2Attrib_ListDefIndices(int iEntity, int[] iDefIndices);
*
* @param iItemDefIndex Item definition index (e.g. 7 for Shovel) to get static attribute list from.
* @param iAttribIndices Array (max size 16) of attribute definition indices found on the item definition.
* @param iAttribValues Array (max size 16) of attribute values found on the item definition, corresponding to the indices.
* @param flAttribValues Array (max size 16) of attribute values found on the item definition, corresponding to the indices.
*
* @return The number of attributes found on the item definition's static attribute list, or -1 if no schema or item definition found.
*/
native int TF2Attrib_GetStaticAttribs(int iItemDefIndex, int[] iAttribIndices, float[] iAttribValues);
native int TF2Attrib_GetStaticAttribs(int iItemDefIndex, int[] iAttribIndices, float[] flAttribValues);

/**
* Returns arrays containing the item server (SOC) attributes and their values present on an item definition.
*
* @param iEntity Entity index to get the item server attribute list from.
* @param iAttribIndices Array (max size 16) of attribute definition indices found.
* @param iAttribValues Array (max size 16) of attribute values found, corresponding to the indices.
* @param flAttribValues Array (max size 16) of attribute values found, corresponding to the indices.
*
* @return The number of attributes found on the item's SOC attribute list, or -1 if some error happened.
* @error Invalid entity index passed.
*/
native int TF2Attrib_GetSOCAttribs(int iEntity, int[] iAttribIndices, float[] iAttribValues);
native int TF2Attrib_GetSOCAttribs(int iEntity, int[] iAttribIndices, float[] flAttribValues);

/**
* Gets whether an attribute is stored as an integer or as a float.
Expand Down

0 comments on commit 2d0c97a

Please sign in to comment.