forked from MonoGame/MonoGame
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ContentItem.cs
39 lines (34 loc) · 1.25 KB
/
ContentItem.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
// MonoGame - Copyright (C) The MonoGame Team
// This file is subject to the terms and conditions defined in
// file 'LICENSE.txt', which is part of this source code package.
namespace Microsoft.Xna.Framework.Content.Pipeline
{
/// <summary>
/// Provides properties that define various aspects of content stored using the intermediate file format of the XNA Framework.
/// </summary>
public class ContentItem
{
OpaqueDataDictionary opaqueData = new OpaqueDataDictionary();
/// <summary>
/// Gets or sets the identity of the content item.
/// </summary>
[ContentSerializer(Optional = true)]
public ContentIdentity Identity { get; set; }
/// <summary>
/// Gets or sets the name of the content item.
/// </summary>
[ContentSerializer(Optional = true)]
public string Name { get; set; }
/// <summary>
/// Gets the opaque data of the content item.
/// </summary>
[ContentSerializer(Optional = true)]
public OpaqueDataDictionary OpaqueData { get { return opaqueData; } }
/// <summary>
/// Initializes a new instance of ContentItem.
/// </summary>
public ContentItem()
{
}
}
}