forked from mirror/DotRecast
remove unused function
This commit is contained in:
parent
9e0aa1adfb
commit
6433ce8d95
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue