Пример #1
0
 public PoeSistersPuzzle(byte[] record, params int[] p)
     : base(record)
 {
     objectDependencies = p;
     type = Shift.AsByte(Variable, 0xFF00);
     flag = Shift.AsByte(Variable, 0x003F);
 }
Пример #2
0
 public KaeporaGaeboraActor(byte[] record, params int[] p)
     : base(record)
 {
     objectDependencies = p;
     flag = Shift.AsByte(Variable, 0x003F);
     type = Shift.AsByte(Variable, 0x0FC0);
 }
Пример #3
0
 public TorchActor(byte[] record, params int[] p)
     : base(record, p)
 {
     flags      = new SwitchFlag(Variable, 0x3F);
     type       = Shift.AsByte(Variable, 0xFC00);
     torchCount = Shift.AsByte(Variable, 0x03C0);
 }
Пример #4
0
 public PoeSistersTorch(byte[] record, params int[] p)
     : base(record)
 {
     objectDependencies = p;
     color = Shift.AsByte(Variable, 0xFF00);
     flag  = Shift.AsByte(Variable, 0x003F);
 }
Пример #5
0
 public ChestActor(byte[] record, params int[] p)
     : base(record, p)
 {
     chestType  = Shift.AsByte(Variable, 0xF000);
     rewardItem = Shift.AsByte(Variable, 0x0FE0); //(byte)((Variable & 0xFF0) >> 5);
     chestFlag  = Shift.AsByte(Variable, 0x001F);
     sceneFlag  = Shift.AsByte(rotation.z, 0x003F);
 }
Пример #6
0
 public OcarinaPlaySpotActor(byte[] record, params int[] p)
     : base(record)
 {
     objectDependencies = p;
     flag = Shift.AsByte(Variable, 0x003F);
     song = Shift.AsByte(Variable, 0x03C0);
     type = Shift.AsByte(Variable, 0x1C00);
 }
Пример #7
0
 public NaviInfospotActor(byte[] record, params int[] p)
     : base(record)
 {
     objectDependencies = p;
     naviIcon           = Shift.AsBool(Variable, 0x8000);
     flag   = new SwitchFlag(Variable, 0x3F00);
     dialog = Shift.AsByte(Variable, 0x00FF);
 }
Пример #8
0
 public TimerActor(byte[] record, params int[] p)
     : base(record)
 {
     objectDependencies = p;
     flag      = (byte)((Variable & 0xFC00) >> 10);
     timerSecs = (Variable & 0x3FF);
     isTimer   = (timerSecs != 0x3FF);
 }
Пример #9
0
 public CheckSpotActor(byte[] record, params int[] p)
     : base(record)
 {
     objectDependencies = p;
     type   = Shift.AsByte(Variable, 0xC000);
     dialog = Shift.AsByte(Variable, 0x3FC0);
     flag   = Shift.AsByte(Variable, 0x003F);
 }
Пример #10
0
 public BasicSwitchActor(byte[] record, params int[] p)
     : base(record)
 {
     objectDependencies = p;
     type       = Shift.AsByte(Variable, 0x000F);
     frozen     = Shift.AsBool(Variable, 0x0080);
     unknown    = Shift.AsBool(Variable, 0x0040);
     blueSwitch = Shift.AsBool(Variable, 0x0020);
     toggle     = Shift.AsBool(Variable, 0x0010);
     flag       = Shift.AsByte(Variable, 0x3F00);
 }
Пример #11
0
 public TransitionPlaneActor(byte[] record)
     : base(record)
 {
     flag = Shift.AsByte(Variable, 0x003F);
     type = Shift.AsUInt16(Variable, 0xFFC0);
 }
Пример #12
0
 public LiftingDoorActor(byte[] record)
     : base(record)
 {
     flags = Shift.AsByte(Variable, 0x003F);
     type  = Shift.AsByte(Variable, 0x0FC0);
 }
Пример #13
0
 public WolfosActor(byte[] record, params int[] p)
     : base(record)
 {
     objectDependencies = p;
     flag = Shift.AsByte(Variable, 0x3F00);
 }
Пример #14
0
 public ClearBlockActor(byte[] record, params int[] p)
     : base(record)
 {
     objectDependencies = p;
     flag = new SwitchFlag(Variable, 0x3F00);
 }
Пример #15
0
 public SpiritTempleChainPlatformActor(byte[] record, params int[] p)
     : base(record)
 {
     objectDependencies = p;
     flags = Shift.AsByte(Variable, 0x3F);
 }
Пример #16
0
 public StandardDoorActor(byte[] record)
     : base(record)
 {
     flag   = Shift.AsByte(Variable, 0x003F);
     locked = Shift.AsBool(Variable, 0x80);
 }