public AResourceConnection(IResourceKey childKey, string path, ResourceDataActions childActions) { this.absolutePath = path; this.originalChildKey = childKey; this.childDataActions = childActions; this.isChildDDS = ResourceGraph.IsDDS(childKey.ResourceType); this.isChildThum = ResourceGraph.IsThum(childKey.ResourceType); }
public DefaultKinHelper(uint resourceType, string name) : base(name) { this.resourceType = resourceType; if (string.IsNullOrWhiteSpace(name)) { try { this.kinName = s3pi.Extensions.ExtList.Ext[resourceType][0]; } catch { this.kinName = string.Concat("0x", resourceType.ToString("X8")); } if (string.IsNullOrWhiteSpace(this.kinName)) { this.kinName = string.Concat("0x", resourceType.ToString("X8")); } } this.isKinDDS = ResourceGraph.IsDDS(resourceType); this.isKinThum = ResourceGraph.IsThum(resourceType); }