Formats UO Content (#201)

This commit is contained in:
Kamron Batman 2020-08-27 18:30:38 -07:00 • committed by GitHub
parent 86b7b3aed1
commit ad3775c4d7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3249 changed files with 431083 additions and 440981 deletions

View file

@ -1,35 +1,35 @@
namespace Server.Items
{
public class SpellweavingBook : Spellbook
{
[Constructible]
public SpellweavingBook(ulong content = 0) : base(content, 0x2D50)
public class SpellweavingBook : Spellbook
{
Hue = 0x8A2;
[Constructible]
public SpellweavingBook(ulong content = 0) : base(content, 0x2D50)
{
Hue = 0x8A2;
Layer = Layer.OneHanded;
Layer = Layer.OneHanded;
}
public SpellweavingBook(Serial serial) : base(serial)
{
}
public override SpellbookType SpellbookType => SpellbookType.Arcanist;
public override int BookOffset => 600;
public override int BookCount => 16;
public override void Serialize(IGenericWriter writer)
{
base.Serialize(writer);
writer.WriteEncodedInt(0); // version
}
public override void Deserialize(IGenericReader reader)
{
base.Deserialize(reader);
var version = reader.ReadEncodedInt();
}
}
public SpellweavingBook(Serial serial) : base(serial)
{
}
public override SpellbookType SpellbookType => SpellbookType.Arcanist;
public override int BookOffset => 600;
public override int BookCount => 16;
public override void Serialize(IGenericWriter writer)
{
base.Serialize(writer);
writer.WriteEncodedInt(0); // version
}
public override void Deserialize(IGenericReader reader)
{
base.Deserialize(reader);
int version = reader.ReadEncodedInt();
}
}
}