Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
ContentRejectionNoCompatibleReader.cs
Go to the documentation of this file.
1
namespace
ReLogic.Content
;
2
3
public
class
ContentRejectionNoCompatibleReader
:
IRejectionReason
4
{
5
private
readonly
string
reason
;
6
7
public
ContentRejectionNoCompatibleReader
(
string
extension,
string
[] supportedExtensions)
8
{
9
reason
=
"Files of type '"
+ extension +
"' cannot be read. Supported extensions are: "
+
string
.Join(
" "
, supportedExtensions);
10
}
11
12
public
string
GetReason
()
13
{
14
return
reason
;
15
}
16
}
ReLogic.Content.ContentRejectionNoCompatibleReader.reason
readonly string reason
Definition
ContentRejectionNoCompatibleReader.cs:5
ReLogic.Content.ContentRejectionNoCompatibleReader.ContentRejectionNoCompatibleReader
ContentRejectionNoCompatibleReader(string extension, string[] supportedExtensions)
Definition
ContentRejectionNoCompatibleReader.cs:7
ReLogic.Content.ContentRejectionNoCompatibleReader.GetReason
string GetReason()
Definition
ContentRejectionNoCompatibleReader.cs:12
ReLogic.Content.ContentRejectionNoCompatibleReader
Definition
ContentRejectionNoCompatibleReader.cs:4
ReLogic.Content.IRejectionReason
Definition
IRejectionReason.cs:4
ReLogic.Content
Definition
IAssetReader.cs:5
source
ReLogic
ReLogic.Content
ContentRejectionNoCompatibleReader.cs
Generated by
1.10.0