Reorganizes Project (#41)

This commit is contained in:
Kamron Batman 2019-08-02 18:13:40 -07:00 committed by GitHub
parent 08bf44af9a
commit 3614a66aee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3499 changed files with 79 additions and 55 deletions

View file

@ -0,0 +1,28 @@
namespace Server.Items
{
public abstract class BaseWall : Item
{
public BaseWall(int itemID) : base(itemID)
{
Movable = false;
}
public BaseWall(Serial serial) : base(serial)
{
}
public override void Serialize(GenericWriter writer)
{
base.Serialize(writer);
writer.Write(0); // version
}
public override void Deserialize(GenericReader reader)
{
base.Deserialize(reader);
int version = reader.ReadInt();
}
}
}

View file

@ -0,0 +1,52 @@
namespace Server.Items
{
public enum DarkWoodWallTypes
{
Corner,
SouthWall,
EastWall,
CornerPost,
EastDoorFrame,
SouthDoorFrame,
WestDoorFrame,
NorthDoorFrame,
SouthWindow,
EastWindow,
CornerMedium,
EastWallMedium,
SouthWallMedium,
CornerPostMedium,
CornerShort,
EastWallShort,
SouthWallShort,
CornerPostShort,
SouthWallVShort,
EastWallVShort
}
public class DarkWoodWall : BaseWall
{
[Constructible]
public DarkWoodWall(DarkWoodWallTypes type) : base(0x0006 + (int)type)
{
}
public DarkWoodWall(Serial serial) : base(serial)
{
}
public override void Serialize(GenericWriter writer)
{
base.Serialize(writer);
writer.Write(0); // version
}
public override void Deserialize(GenericReader reader)
{
base.Deserialize(reader);
int version = reader.ReadInt();
}
}
}

View file

@ -0,0 +1,62 @@
/****************************************
* NAME : Thick Gray Stone Wall *
* SCRIPT : ThickGrayStoneWall.cs *
* VERSION : v1.00 *
* CREATOR : Mans Sjoberg (Allmight) *
* CREATED : 10-07.2002 *
* **************************************/
namespace Server.Items
{
public enum ThickGrayStoneWallTypes
{
WestArch,
NorthArch,
SouthArchTop,
EastArchTop,
EastArch,
SouthArch,
Wall1,
Wall2,
Wall3,
SouthWindow,
Wall4,
EastWindow,
WestArch2,
NorthArch2,
SouthArchTop2,
EastArchTop2,
EastArch2,
SouthArch2,
SWArchEdge2,
SouthWindow2,
NEArchEdge2,
EastWindow2
}
public class ThickGrayStoneWall : BaseWall
{
[Constructible]
public ThickGrayStoneWall(ThickGrayStoneWallTypes type) : base(0x007A + (int)type)
{
}
public ThickGrayStoneWall(Serial serial) : base(serial)
{
}
public override void Serialize(GenericWriter writer)
{
base.Serialize(writer);
writer.Write(0); // version
}
public override void Deserialize(GenericReader reader)
{
base.Deserialize(reader);
int version = reader.ReadInt();
}
}
}

View file

@ -0,0 +1,68 @@
namespace Server.Items
{
public enum ThinBrickWallTypes
{
Corner,
SouthWall,
EastWall,
CornerPost,
EastDoorFrame,
SouthDoorFrame,
WestDoorFrame,
NorthDoorFrame,
SouthWindow,
EastWindow,
CornerMedium,
SouthWallMedium,
EastWallMedium,
CornerPostMedium,
CornerShort,
SouthWallShort,
EastWallShort,
CornerPostShort,
CornerArch,
SouthArch,
WestArch,
EastArch,
NorthArch,
SouthCenterArchTall,
EastCenterArchTall,
EastCornerArchTall,
SouthCornerArchTall,
SouthCornerArch,
EastCornerArch,
SouthCenterArch,
EastCenterArch,
CornerVVShort,
SouthWallVVShort,
EastWallVVShort,
SouthWallVShort,
EastWallVShort
}
public class ThinBrickWall : BaseWall
{
[Constructible]
public ThinBrickWall(ThinBrickWallTypes type) : base(0x0033 + (int)type)
{
}
public ThinBrickWall(Serial serial) : base(serial)
{
}
public override void Serialize(GenericWriter writer)
{
base.Serialize(writer);
writer.Write(0); // version
}
public override void Deserialize(GenericReader reader)
{
base.Deserialize(reader);
int version = reader.ReadInt();
}
}
}

View file

@ -0,0 +1,57 @@
namespace Server.Items
{
public enum ThinStoneWallTypes
{
Corner,
EastWall,
SouthWall,
CornerPost,
EastDoorFrame,
SouthDoorFrame,
NorthDoorFrame,
WestDoorFrame,
SouthWindow,
EastWindow,
CornerMedium,
SouthWallMedium,
EastWallMedium,
CornerPostMedium,
CornerArch,
EastArch,
SouthArch,
NorthArch,
WestArch,
CornerShort,
EastWallShort,
SouthWallShort,
CornerPostShort,
SouthWallShort2,
EastWallShort2
}
public class ThinStoneWall : BaseWall
{
[Constructible]
public ThinStoneWall(ThinStoneWallTypes type) : base(0x001A + (int)type)
{
}
public ThinStoneWall(Serial serial) : base(serial)
{
}
public override void Serialize(GenericWriter writer)
{
base.Serialize(writer);
writer.Write(0); // version
}
public override void Deserialize(GenericReader reader)
{
base.Deserialize(reader);
int version = reader.ReadInt();
}
}
}

View file

@ -0,0 +1,75 @@
/****************************************
* NAME : White Stone Wall *
* SCRIPT : WhiteStoneWall.cs *
* VERSION : v1.00 *
* CREATOR : Mans Sjoberg (Allmight) *
* CREATED : 10-07.2002 *
* **************************************/
namespace Server.Items
{
public enum WhiteStoneWallTypes
{
EastWall,
SouthWall,
SECorner,
NWCornerPost,
EastArrowLoop,
SouthArrowLoop,
EastWindow,
SouthWindow,
SouthWallMedium,
EastWallMedium,
SECornerMedium,
NWCornerPostMedium,
SouthWallShort,
EastWallShort,
SECornerShort,
NWCornerPostShort,
NECornerPostShort,
SWCornerPostShort,
SouthWallVShort,
EastWallVShort,
SECornerVShort,
NWCornerPostVShort,
SECornerArch,
SouthArch,
WestArch,
EastArch,
NorthArch,
EastBattlement,
SECornerBattlement,
SouthBattlement,
NECornerBattlement,
SWCornerBattlement,
Column,
SouthWallVVShort,
EastWallVVShort
}
public class WhiteStoneWall : BaseWall
{
[Constructible]
public WhiteStoneWall(WhiteStoneWallTypes type) : base(0x0057 + (int)type)
{
}
public WhiteStoneWall(Serial serial) : base(serial)
{
}
public override void Serialize(GenericWriter writer)
{
base.Serialize(writer);
writer.Write(0); // version
}
public override void Deserialize(GenericReader reader)
{
base.Deserialize(reader);
int version = reader.ReadInt();
}
}
}