remove unused function

This commit is contained in:
ikpil 2023-06-20 00:33:41 +09:00
parent 9e0aa1adfb
commit 6433ce8d95
1 changed files with 0 additions and 10 deletions

View File

@ -27,11 +27,6 @@ namespace DotRecast.Detour.QueryResults
return new Result<T>(result, DtStatus.DT_SUCCSESS, null); return new Result<T>(result, DtStatus.DT_SUCCSESS, null);
} }
public static Result<T> Failure<T>()
{
return new Result<T>(default, DtStatus.DT_FAILURE, null);
}
public static Result<T> InvalidParam<T>() public static Result<T> InvalidParam<T>()
{ {
return new Result<T>(default, DtStatus.DT_FAILURE | DtStatus.DT_INVALID_PARAM, null); return new Result<T>(default, DtStatus.DT_FAILURE | DtStatus.DT_INVALID_PARAM, null);
@ -47,11 +42,6 @@ namespace DotRecast.Detour.QueryResults
return new Result<T>(result, DtStatus.DT_FAILURE, null); return new Result<T>(result, DtStatus.DT_FAILURE, null);
} }
public static Result<T> Of<T>(DtStatus status, string message)
{
return new Result<T>(default, status, message);
}
public static Result<T> Of<T>(DtStatus status, T result) public static Result<T> Of<T>(DtStatus status, T result)
{ {
return new Result<T>(result, status, null); return new Result<T>(result, status, null);