IChat.TryGetSendCooldown method
Remaining SERVER-driven send cooldown on channel, from the last send reply’s cooldown end (sends through this service or the game’s own chat box) measured against the framework’s interpolated server clock. Returns false (0 s) when the channel is free or no cooldown has been seen yet — the server is still the authority, so a send can still be refused (watch SendResult for ErrorTooFrequent). Any thread.
public bool TryGetSendCooldown(ChatChannel channel, out double remainingSeconds)| parameter | description |
|---|---|
| channel | Channel to query (Say = the game’s “Current” channel). |
| remainingSeconds | Seconds until the channel accepts a new message; 0 when free. |
See Also
Section titled “See Also”- enum ChatChannel
- interface IChat
- namespace Stellar.Abstractions.Services