GetOffset() публичный статический Метод

public static GetOffset ( DoorFacing facing ) : Point3D
facing DoorFacing
Результат Point3D
Пример #1
0
 public GargishPrisonDoor(DoorFacing facing)
     : base(0x5142 + GetIdOffset(facing), 0x5143 + GetIdOffset(facing), 0xF0, 0xEF, BaseDoor.GetOffset(facing))
 {
 }
Пример #2
0
 public MediumWoodDoor(DoorFacing facing) : base(0x6B5 + (2 * (int)facing), 0x6B6 + (2 * (int)facing), 0xEA, 0xF1, BaseDoor.GetOffset(facing))
 {
 }
Пример #3
0
 public LightWoodDoor(DoorFacing facing) : base(0x6D5 + (2 * (int)facing), 0x6D6 + (2 * (int)facing), 0xEA, 0xF1, BaseDoor.GetOffset(facing))
 {
 }
Пример #4
0
 public BarredMetalDoor2(DoorFacing facing) : base(0x1FED + (2 * (int)facing), 0x1FEE + (2 * (int)facing), 0xEC, 0xF3, BaseDoor.GetOffset(facing))
 {
 }
Пример #5
0
 public DarkWoodDoor(DoorFacing facing) : base(0x6A5 + (2 * (int)facing), 0x6A6 + (2 * (int)facing), 0xEA, 0xF1, BaseDoor.GetOffset(facing))
 {
 }
Пример #6
0
 public GenericHouseDoor(DoorFacing facing, int baseItemID, int openedSound, int closedSound, bool autoAdjust)
     : base(facing, baseItemID + (autoAdjust ? (2 * (int)facing) : 0), baseItemID + 1 + (autoAdjust ? (2 * (int)facing) : 0), openedSound, closedSound, BaseDoor.GetOffset(facing))
 {
 }
Пример #7
0
 public DarkWoodGate(DoorFacing facing) : base(0x866 + (2 * (int)facing), 0x867 + (2 * (int)facing), 0xEB, 0xF2, BaseDoor.GetOffset(facing))
 {
 }
Пример #8
0
 public DungeonDoor(DoorFacing facing) : base(0x675 + (2 * (int)facing), 0x676 + (2 * (int)facing), 0xEC, 0xF3, BaseDoor.GetOffset(facing))
 {
     Name = "a dungeon door";
 }
Пример #9
0
 public GuardianDoor(DoorFacing facing) : base(0x675 + (2 * (int)facing), 0x676 + (2 * (int)facing), 0xEC, 0xF3, BaseDoor.GetOffset(facing))
 {
     Movable = false;
     m_Face  = facing;
     m_Item  = new InternalItem(m_Face + 1, this);
     Link    = m_Item;
 }
Пример #10
0
 public IronGate(DoorFacing facing) : base(0x824 + (2 * (int)facing), 0x825 + (2 * (int)facing), 0xEC, 0xF3, BaseDoor.GetOffset(facing))
 {
 }
Пример #11
0
 public LightWoodGate(DoorFacing facing) : base(0x839 + (2 * (int)facing), 0x83A + (2 * (int)facing), 0xEB, 0xF2, BaseDoor.GetOffset(facing))
 {
 }
Пример #12
0
 public SpaceDoorSouth(DoorFacing facing) : base(0x3B2, 0x35AC, 0x55E, 0x55E, BaseDoor.GetOffset(DoorFacing.SouthSW))
 {
 }
Пример #13
0
 public SpaceDoorEast(DoorFacing facing) : base(0x3B1, 0x35AB, 0x55E, 0x55E, BaseDoor.GetOffset(DoorFacing.WestSS))
 {
 }
Пример #14
0
 public GuardedMetalDoor(DoorFacing facing) : base(0x675 + (2 * (int)facing), 0x676 + (2 * (int)facing), 0xEC, 0xF3, BaseDoor.GetOffset(facing))
 {
 }
Пример #15
0
 public GenericHouseDoor(DoorFacing facing, int baseItemID, int openedSound, int closedSound) : base(facing, baseItemID + (2 * (int)facing), baseItemID + 1 + (2 * (int)facing), openedSound, closedSound, BaseDoor.GetOffset(facing))
 {
 }
Пример #16
0
 public InternalItem(DoorFacing facing, GuardianDoor item) : base(0x675 + (2 * (int)facing), 0x676 + (2 * (int)facing), 0xEC, 0xF3, BaseDoor.GetOffset(facing))
 {
     Movable = false;
     m_Face  = facing;
     m_Item  = item;
     Link    = m_Item;
 }
Пример #17
0
 public MetalHouseDoor(DoorFacing facing)
     : base(facing, 0x675 + (2 * (int)facing), 0x676 + (2 * (int)facing), 0xEC, 0xF3, BaseDoor.GetOffset(facing))
 {
 }
Пример #18
0
 public CraftableStoneHouseDoor(DoorType type, DoorFacing facing)
     : base(facing, 0x324 + (2 * (int)facing), 0x325 + (2 * (int)facing), 0xED, 0xF4, BaseDoor.GetOffset(facing))
 {
     this.Type = type;
     Movable   = true;
 }
Пример #19
0
 public FenceGate(DoorFacing facing) : base(0x866 + (2 * (int)facing), 0x867 + (2 * (int)facing), 0xEB, 0xF2, BaseDoor.GetOffset(facing))
 {
     Weight  = 50.0;
     Movable = true;
 }
Пример #20
0
 public SecretLightWoodDoor(DoorFacing facing) : base(0x344 + (2 * (int)facing), 0x345 + (2 * (int)facing), 0xED, 0xF4, BaseDoor.GetOffset(facing))
 {
 }
Пример #21
0
 public BarredMetalDoor(DoorFacing facing) : base(0x685 + (2 * (int)facing), 0x686 + (2 * (int)facing), 0xEC, 0xF3, BaseDoor.GetOffset(facing))
 {
 }
Пример #22
0
 public SecretDungeonDoor(DoorFacing facing) : base(0x314 + (2 * (int)facing), 0x315 + (2 * (int)facing), 0xED, 0xF4, BaseDoor.GetOffset(facing))
 {
 }
Пример #23
0
 public RattanDoor(DoorFacing facing) : base(0x695 + (2 * (int)facing), 0x696 + (2 * (int)facing), 0xEB, 0xF2, BaseDoor.GetOffset(facing))
 {
 }
Пример #24
0
 public SecretStoneDoor2(DoorFacing facing) : base(0x324 + (2 * (int)facing), 0x325 + (2 * (int)facing), 0xED, 0xF4, BaseDoor.GetOffset(facing))
 {
 }
Пример #25
0
 public IronGateShort(DoorFacing facing) : base(0x84c + (2 * (int)facing), 0x84d + (2 * (int)facing), 0xEC, 0xF3, BaseDoor.GetOffset(facing))
 {
 }
Пример #26
0
 public SecretStoneDoor1(DoorFacing facing) : base(0xE8 + (2 * (int)facing), 0xE9 + (2 * (int)facing), 0xED, 0xF4, BaseDoor.GetOffset(facing))
 {
 }
Пример #27
0
 public MetalDoor2(DoorFacing facing) : base(0x6C5 + (2 * (int)facing), 0x6C6 + (2 * (int)facing), 0xEC, 0xF3, BaseDoor.GetOffset(facing))
 {
 }
Пример #28
0
 public SecretWoodenDoor(DoorFacing facing) : base(0x334 + (2 * (int)facing), 0x335 + (2 * (int)facing), 0xED, 0xF4, BaseDoor.GetOffset(facing))
 {
 }
Пример #29
0
 public StrongWoodDoor(DoorFacing facing) : base(0x6E5 + (2 * (int)facing), 0x6E6 + (2 * (int)facing), 0xEA, 0xF1, BaseDoor.GetOffset(facing))
 {
 }
Пример #30
0
 public GargishBentasDoor(DoorFacing facing)
     : base(0x50D0 + GetIdOffset(facing), 0x50D1 + GetIdOffset(facing), 0xEA, 0xF1, BaseDoor.GetOffset(facing))
 {
 }