public CSectorDataResource(CR2WFile cr2w) : base(cr2w) { box0 = new CFloat(cr2w) { Name = "box0", Type = "Float" }; box1 = new CFloat(cr2w) { Name = "box1", Type = "Float" }; box2 = new CFloat(cr2w) { Name = "box2", Type = "Float" }; box3 = new CFloat(cr2w) { Name = "box3", Type = "Float" }; box4 = new CFloat(cr2w) { Name = "box4", Type = "Float" }; box5 = new CFloat(cr2w) { Name = "box5", Type = "Float" }; pathHash = new CString(cr2w) { Name = "pathHash" }; }
public CSectorDataResource(CR2WFile cr2w, CVariable parent, string name) : base(cr2w, parent, name) { box0 = new CFloat(cr2w, this, nameof(box0)) { IsSerialized = true }; box1 = new CFloat(cr2w, this, nameof(box1)) { IsSerialized = true }; box2 = new CFloat(cr2w, this, nameof(box2)) { IsSerialized = true }; box3 = new CFloat(cr2w, this, nameof(box3)) { IsSerialized = true }; box4 = new CFloat(cr2w, this, nameof(box4)) { IsSerialized = true }; box5 = new CFloat(cr2w, this, nameof(box5)) { IsSerialized = true }; pathHash = new CString(cr2w, this, nameof(pathHash)) { IsSerialized = true }; }