Metadata
{
"ProjectTemplate": null,
"CsProjName": "",
"Summary": "Timer library like Garry\u0027s Mod for s\u0026box",
"Description": "Timer library like Garry\u0027s Mod for s\u0026box\n\nhttps://github.com/sbox-community/sbox-timer-lib\n\nvoid Timer.Simple( float delay, Action func, bool threaded = false )\nvoid Timer.Create( string id, float delay, int repetitions, Action func, bool threaded = false )\nbool Timer.Exists( string id )\nbool Timer.Remove( string id )\nfloat Timer.TimeLeft( string id )\nint Timer.RepsLeft( string id )\nbool Timer.Adjust( string id, float? delay = null, int? repetitions = null, Action? func = null )\nbool Timer.Pause( string id )\nbool Timer.UnPause( string id )\nbool Timer.Toggle( string id )\nbool Timer.Start( string id )\nbool Timer.Stop( string id )\nDictionary\u003Cstring, Timer\u003E Timer.All()\nvoid Timer.PrintAll()\n\nExample:\nTimer.Simple( 1f, () =\u003E\n{\n ...\n} );\n \nTimer.Create( \u0022identity\u0022, 1f, 10, () =\u003E\n{\n ...\n} );\n\nTimer.Simple( 1f, func, threaded: true );",
"Public": true
}
Files