Exemplo n.º 1
0
 public CSectorDataObject(CR2WFile cr2w)
     : base(cr2w)
 {
     type = new CUInt8(cr2w)
     {
         Name = "type", Type = "UInt8"
     };
     flags = new CUInt8(cr2w)
     {
         Name = "flags", Type = "UInt8"
     };
     radius = new CUInt16(cr2w)
     {
         Name = "radius", Type = "UInt16"
     };
     offset = new CUInt64(cr2w)
     {
         Name = "offset", Type = "UInt64"
     };
     positionX = new CFloat(cr2w)
     {
         Name = "positionX", Type = "Float"
     };
     positionY = new CFloat(cr2w)
     {
         Name = "positionY", Type = "Float"
     };
     positionZ = new CFloat(cr2w)
     {
         Name = "positionZ", Type = "Float"
     };
 }
Exemplo n.º 2
0
 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"
     };
     patchHash = new CUInt64(cr2w)
     {
         Name = "patchHash", Type = "UInt64"
     };
 }