26 lines
513 B
C#
26 lines
513 B
C#
using Oculus.Platform.Models;
|
|
|
|
namespace Oculus.Platform
|
|
{
|
|
public static class LanguagePack
|
|
{
|
|
public static Request<AssetDetails> GetCurrent()
|
|
{
|
|
if (Core.IsInitialized())
|
|
{
|
|
return new Request<AssetDetails>(CAPI.ovr_LanguagePack_GetCurrent());
|
|
}
|
|
return null;
|
|
}
|
|
|
|
public static Request<AssetFileDownloadResult> SetCurrent(string tag)
|
|
{
|
|
if (Core.IsInitialized())
|
|
{
|
|
return new Request<AssetFileDownloadResult>(CAPI.ovr_LanguagePack_SetCurrent(tag));
|
|
}
|
|
return null;
|
|
}
|
|
}
|
|
}
|