Timer Library
sbox Community sbox Community Library update 3y ago

Timer Library

Timer library like Garry's Mod for s&box

favorite4favorites
thumb_up3upvotes
hard_drive 0 MB folder 2 files build Engine v10 history Last update 1149d ago
open_in_new View on sbox.game

About This Package

About Timer Library

Timer library like Garry's Mod for s&box

Visit Github page for usage

https://github.com/sbox-community/sbox-timer-lib

Thumbnail icon from Vecteezy.com

Media

No usage statistics available
This package may be new or not widely used yet. Usage data becomes available as more users install and play with the package.
Package ID: sboxcommunity.timer_library
Created: 2023-05-18 17:11 UTC
Updated: 2023-05-18 17:11 UTC
Type: library
Public: Yes
Version: 17567
files: 2
Size: 0.0 MB
Engine Version: 10
Asset Version ID: 17567
Version Created: 2023-05-18 17:11 UTC
Hash: 1325657764193924084
Manifest: Open manifest
Project Template:
Cs Proj Name:
Summary: Timer library like Garry's Mod for s&box
Description: Timer library like Garry's Mod for s&box https://github.com/sbox-community/sbox-timer-lib void Timer.Simple( float delay, Action func, bool threaded = false ) void Timer.Create( string id, float delay, int repetitions, Action func, bool threaded = false ) bool Timer.Exists( string id ) bool Timer.Remove( string id ) float Timer.TimeLeft( string id ) int Timer.RepsLeft( string id ) bool Timer.Adjust( string id, float? delay = null, int? repetitions = null, Action? func = null ) bool Timer.Pause( string id ) bool Timer.UnPause( string id ) bool Timer.Toggle( string id ) bool Timer.Start( string id ) bool Timer.Stop( string id ) Dictionary<string, Timer> Timer.All() void Timer.PrintAll() Example: Timer.Simple( 1f, () => { ... } ); Timer.Create( "identity", 1f, 10, () => { ... } ); Timer.Simple( 1f, func, threaded: true );
Public: true
new_releases Latest Update May 18, 2023
Initial
tag v17567 folder 2 files hard_drive 0.0 MB build Engine v10
17567 May 18, 2023
Initial
folder 2 files hard_drive 17.06 KB build Engine v10