Lua function to get the current time.
◆ Implementation()
| string RoomService.GetCurrentTime.Implementation |
( |
| ) |
|
|
inlineprivate |
Usage:
Lua function to get the current time.
Definition RoomServiceLuaFunctions.cs:1003
Definition MyPluginInfo.cs:2
- Returns
- The current time in the format HH:mm:ss.
- Return values
-
Source Code
1020 {
1021 return DateTime.Now.ToString("HH:mm:ss");
1022 }