|
Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
| CreditManager (IHttpTrace owner, string name, int initialCredit) | |
| ValueTask< int > | RequestCreditAsync (int amount, CancellationToken cancellationToken) |
| void | AdjustCredit (int amount) |
| void | Dispose () |
Properties | |
| bool | IsCreditAvailable [get] |
| object | SyncObject [get] |
Private Member Functions | |
| int | TryRequestCreditNoLock (int amount) |
Private Attributes | |
| readonly IHttpTrace | _owner |
| readonly string | _name |
| int | _current |
| bool | _disposed |
| CreditWaiter | _waitersTail |
Definition at line 6 of file CreditManager.cs.