EzCounter() public static method

Posts a counter increment to stathat over HTTP using ez API - the stat and/or you don't have to be pre-registered
public static EzCounter ( string ezkey, string stat, float count ) : void
ezkey string your ezkey (defaults to email address). If you already have a stathat account, use the one associated with it.
stat string the name for your stat
count float the number to increment
return void
Exemplo n.º 1
0
 /// <summary>
 /// Posts a counter increment to stathat over HTTP using ez API - the stat and/or you don't have to be pre-registered
 /// </summary>
 /// <param name="ezkey">your ezkey (defaults to email address).  If you already have a stathat account, use the one associated with it.</param>
 /// <param name="stat">the name for your stat</param>
 /// <param name="count">the number to increment</param>
 /// <param name="replyDelegate">the function you'd like called with the reply from stathat's server</param>
 public static void EzCounter(string ezkey, string stat, int count, ReplyDelegate replyDelegate)
 {
     Post.EzCounter(ezkey, stat, (float)count, replyDelegate);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Posts a counter increment to stathat over HTTP using ez API - the stat and/or you don't have to be pre-registered
 /// </summary>
 /// <param name="ezkey">your ezkey (defaults to email address).  If you already have a stathat account, use the one associated with it.</param>
 /// <param name="stat">the name for your stat</param>
 /// <param name="count">the number to increment</param>
 public static void EzCounter(string ezkey, string stat, int count)
 {
     Post.EzCounter(ezkey, stat, (float)count);
 }