Class CallManager
- Namespace
- S1API.PhoneCalls
- Assembly
- S1API.dll
Provides a safe queuing layer on top of the game's CallManager. Multiple pending calls are stored and dispatched to the game one at a time.
public static class CallManager
- Inheritance
-
CallManager
- Inherited Members
Properties
PendingCount
Number of calls currently pending in the S1API queue (excluding the game's active/queued call).
public static int PendingCount { get; }
Property Value
Methods
ClearPendingQueue()
Clears all pending S1API-queued calls. Does not affect the game's current queued/active call.
public static void ClearPendingQueue()
QueueCall(PhoneCallDefinition)
Enqueue a phone call to be played. If the game's queue is empty, this will be forwarded immediately; otherwise it will be held until the current call completes.
public static void QueueCall(PhoneCallDefinition phoneCallDefinition)
Parameters
phoneCallDefinitionPhoneCallDefinition