function names now follow convention

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40697
This commit is contained in:
David Anderson 2007-04-13 07:17:52 +00:00
parent ab4f11e4f5
commit c7db185400
2 changed files with 18 additions and 18 deletions

View File

@ -845,15 +845,15 @@ REGISTER_NATIVES(playernatives)
{"GetClientWeapon", GetWeaponName}, {"GetClientWeapon", GetWeaponName},
{"GetClientModel", GetModelName}, {"GetClientModel", GetModelName},
{"GetClientHealth", GetHealth}, {"GetClientHealth", GetHealth},
{"GetTimeConnected", GetTimeConnected}, {"GetClientTime", GetTimeConnected},
{"GetDataRate", GetDataRate}, {"GetClientDataRate", GetDataRate},
{"IsTimingOut", IsTimingOut}, {"IsClentTimingOut", IsTimingOut},
{"GetLatency", GetLatency}, {"GetClientLatency", GetLatency},
{"GetAvgLatency", GetAvgLatency}, {"GetClientAvgLatency", GetAvgLatency},
{"GetAvgLoss", GetAvgLoss}, {"GetClientAvgLoss", GetAvgLoss},
{"GetAvgChoke", GetAvgChoke}, {"GetClientAvgChoke", GetAvgChoke},
{"GetAvgData", GetAvgData}, {"GetClientAvgData", GetAvgData},
{"GetAvgPackets", GetAvgPackets}, {"GetClientAvgPackets", GetAvgPackets},
{"GetClientOfUserId", GetClientOfUserId}, {"GetClientOfUserId", GetClientOfUserId},
{NULL, NULL} {NULL, NULL}
}; };

View File

@ -395,7 +395,7 @@ native GetClientFrags(client);
* @return Data rate. * @return Data rate.
* @error Invalid client index, client not in game, or fake client. * @error Invalid client index, client not in game, or fake client.
*/ */
native GetDataRate(client); native GetClientDataRate(client);
/** /**
* Returns if a client is timing out * Returns if a client is timing out
@ -404,7 +404,7 @@ native GetDataRate(client);
* @return True if client is timing out, false otherwise. * @return True if client is timing out, false otherwise.
* @error Invalid client index, client not in game, or fake client. * @error Invalid client index, client not in game, or fake client.
*/ */
native bool:IsTimingOut(client); native bool:IsClientTimingOut(client);
/** /**
* Returns the client's connection time in seconds. * Returns the client's connection time in seconds.
@ -413,7 +413,7 @@ native bool:IsTimingOut(client);
* @return Connection time. * @return Connection time.
* @error Invalid client index, client not in game, or fake client. * @error Invalid client index, client not in game, or fake client.
*/ */
native Float:GetTimeConnected(client); native Float:GetClientTime(client);
/** /**
* Returns the client's current latency (RTT), more accurate than GetAvgLatency but jittering. * Returns the client's current latency (RTT), more accurate than GetAvgLatency but jittering.
@ -423,7 +423,7 @@ native Float:GetTimeConnected(client);
* @return Latency. * @return Latency.
* @error Invalid client index, client not in game, or fake client. * @error Invalid client index, client not in game, or fake client.
*/ */
native Float:GetLatency(client, NetFlow:flow); native Float:GetClientLatency(client, NetFlow:flow);
/** /**
* Returns the client's average packet latency in seconds. * Returns the client's average packet latency in seconds.
@ -433,7 +433,7 @@ native Float:GetLatency(client, NetFlow:flow);
* @return Average latency. * @return Average latency.
* @error Invalid client index, client not in game, or fake client. * @error Invalid client index, client not in game, or fake client.
*/ */
native Float:GetAvgLatency(client, NetFlow:flow); native Float:GetClientAvgLatency(client, NetFlow:flow);
/** /**
* Returns the client's average packet loss, values go from 0 to 1 (for percentages). * Returns the client's average packet loss, values go from 0 to 1 (for percentages).
@ -443,7 +443,7 @@ native Float:GetAvgLatency(client, NetFlow:flow);
* @return Average packet loss. * @return Average packet loss.
* @error Invalid client index, client not in game, or fake client. * @error Invalid client index, client not in game, or fake client.
*/ */
native Float:GetAvgLoss(client, NetFlow:flow); native Float:GetClientAvgLoss(client, NetFlow:flow);
/** /**
* Returns the client's average packet choke, values go from 0 to 1 (for percentages). * Returns the client's average packet choke, values go from 0 to 1 (for percentages).
@ -453,7 +453,7 @@ native Float:GetAvgLoss(client, NetFlow:flow);
* @return Average packet choke. * @return Average packet choke.
* @error Invalid client index, client not in game, or fake client. * @error Invalid client index, client not in game, or fake client.
*/ */
native Float:GetAvgChoke(client, NetFlow:flow); native Float:GetClientAvgChoke(client, NetFlow:flow);
/** /**
* Returns the client's data flow in bytes/sec. * Returns the client's data flow in bytes/sec.
@ -463,7 +463,7 @@ native Float:GetAvgChoke(client, NetFlow:flow);
* @return Data flow. * @return Data flow.
* @error Invalid client index, client not in game, or fake client. * @error Invalid client index, client not in game, or fake client.
*/ */
native Float:GetAvgData(client, NetFlow:flow); native Float:GetClientAvgData(client, NetFlow:flow);
/** /**
* Returns the client's average packet frequency in packets/sec. * Returns the client's average packet frequency in packets/sec.
@ -473,7 +473,7 @@ native Float:GetAvgData(client, NetFlow:flow);
* @return Packet frequency. * @return Packet frequency.
* @error Invalid client index, client not in game, or fake client. * @error Invalid client index, client not in game, or fake client.
*/ */
native Float:GetAvgPackets(client, NetFlow:flow); native Float:GetClientAvgPackets(client, NetFlow:flow);
/** /**
* Translates an userid index to the real player index. * Translates an userid index to the real player index.