RoomService v2.3.1
Loading...
Searching...
No Matches
RoomService.GetCurrentTime Class Reference

Lua function to get the current time.

Member Function Documentation

◆ 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
string

Source Code

1020 {
1021 return DateTime.Now.ToString("HH:mm:ss");
1022 }