You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Add get_distribution_name() and get_version() to OS
supports: LinuxBSD, Windows, macOS, iOS, Android, UWP Co-authored-by: bruvzg
This commit is contained in:
@@ -194,6 +194,14 @@ String OS_Unix::get_name() const {
|
||||
return "Unix";
|
||||
}
|
||||
|
||||
String OS_Unix::get_distribution_name() const {
|
||||
return "";
|
||||
}
|
||||
|
||||
String OS_Unix::get_version() const {
|
||||
return "";
|
||||
}
|
||||
|
||||
double OS_Unix::get_unix_time() const {
|
||||
struct timeval tv_now;
|
||||
gettimeofday(&tv_now, nullptr);
|
||||
|
||||
Reference in New Issue
Block a user