12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- //------------------------------------------------------------
- // Game Framework
- // Copyright © 2013-2021 loyalsoft. All rights reserved.
- // Homepage: http://www.game7000.com/
- // Feedback: http://www.game7000.com/
- //------------------------------------------------------------
- namespace UnityGameFramework.Editor.ResourceTools
- {
- public sealed partial class ResourceBuilderController
- {
- private sealed class AssetData
- {
- private readonly string m_Guid;
- private readonly string m_Name;
- private readonly int m_Length;
- private readonly int m_HashCode;
- private readonly string[] m_DependencyAssetNames;
- public AssetData(string guid, string name, int length, int hashCode, string[] dependencyAssetNames)
- {
- m_Guid = guid;
- m_Name = name;
- m_Length = length;
- m_HashCode = hashCode;
- m_DependencyAssetNames = dependencyAssetNames;
- }
- public string Guid
- {
- get
- {
- return m_Guid;
- }
- }
- public string Name
- {
- get
- {
- return m_Name;
- }
- }
- public int Length
- {
- get
- {
- return m_Length;
- }
- }
- public int HashCode
- {
- get
- {
- return m_HashCode;
- }
- }
- public string[] GetDependencyAssetNames()
- {
- return m_DependencyAssetNames;
- }
- }
- }
- }
|