#W# Initial Commit: Avatars Conquest
This commit is contained in:
commit
8eae46895e
7512 changed files with 416187 additions and 0 deletions
77
Scripts/Items/Construction/Walls/WhiteStoneWall.cs
Normal file
77
Scripts/Items/Construction/Walls/WhiteStoneWall.cs
Normal file
|
|
@ -0,0 +1,77 @@
|
|||
/****************************************
|
||||
* NAME : White Stone Wall *
|
||||
* SCRIPT : WhiteStoneWall.cs *
|
||||
* VERSION : v1.00 *
|
||||
* CREATOR : Mans Sjoberg (Allmight) *
|
||||
* CREATED : 10-07.2002 *
|
||||
* **************************************/
|
||||
|
||||
using System;
|
||||
|
||||
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
|
||||
{
|
||||
[Constructable]
|
||||
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( (int) 0 ); // version
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue