chore: Use var everywhere (#2294)
This commit is contained in:
parent
0b34cc4417
commit
ebaf104935
267 changed files with 873 additions and 873 deletions
|
|
@ -11,7 +11,7 @@ namespace Server.Tests.Network
|
|||
[Fact]
|
||||
public void TestContainerDisplay()
|
||||
{
|
||||
Serial serial = (Serial)0x1024;
|
||||
var serial = (Serial)0x1024;
|
||||
ushort gumpId = 100;
|
||||
|
||||
var expected = new ContainerDisplay(serial, gumpId).Compile();
|
||||
|
|
@ -26,7 +26,7 @@ namespace Server.Tests.Network
|
|||
[Fact]
|
||||
public void TestContainerDisplayHS()
|
||||
{
|
||||
Serial serial = (Serial)0x1024;
|
||||
var serial = (Serial)0x1024;
|
||||
ushort gumpId = 100;
|
||||
|
||||
var expected = new ContainerDisplayHS(serial, gumpId).Compile();
|
||||
|
|
@ -42,7 +42,7 @@ namespace Server.Tests.Network
|
|||
[Fact]
|
||||
public void TestDisplaySpellbook()
|
||||
{
|
||||
Serial serial = (Serial)0x1024;
|
||||
var serial = (Serial)0x1024;
|
||||
|
||||
var expected = new DisplaySpellbook(serial).Compile();
|
||||
|
||||
|
|
@ -56,7 +56,7 @@ namespace Server.Tests.Network
|
|||
[Fact]
|
||||
public void TestDisplaySpellbookHS()
|
||||
{
|
||||
Serial serial = (Serial)0x1024;
|
||||
var serial = (Serial)0x1024;
|
||||
|
||||
var expected = new DisplaySpellbookHS(serial).Compile();
|
||||
|
||||
|
|
@ -71,11 +71,11 @@ namespace Server.Tests.Network
|
|||
[Fact]
|
||||
public void TestNewSpellbookContent()
|
||||
{
|
||||
Serial serial = (Serial)0x1024;
|
||||
var serial = (Serial)0x1024;
|
||||
ushort graphic = 100;
|
||||
ushort offset = 10;
|
||||
ulong content = 0x123456789ABCDEF0;
|
||||
bool opl = ObjectPropertyList.Enabled;
|
||||
var opl = ObjectPropertyList.Enabled;
|
||||
|
||||
var expected = new NewSpellbookContent(serial, graphic, offset, content).Compile();
|
||||
|
||||
|
|
@ -92,7 +92,7 @@ namespace Server.Tests.Network
|
|||
[Fact]
|
||||
public void TestSpellbookContent()
|
||||
{
|
||||
Serial serial = (Serial)0x1024;
|
||||
var serial = (Serial)0x1024;
|
||||
ushort offset = 10;
|
||||
ushort graphic = 100;
|
||||
ulong content = 0x123456789ABCDEF0;
|
||||
|
|
@ -109,7 +109,7 @@ namespace Server.Tests.Network
|
|||
[Fact]
|
||||
public void TestSpellbookContent6017()
|
||||
{
|
||||
Serial serial = (Serial)0x1024;
|
||||
var serial = (Serial)0x1024;
|
||||
ushort offset = 10;
|
||||
ushort graphic = 100;
|
||||
ulong content = 0x123456789ABCDEF0;
|
||||
|
|
@ -127,7 +127,7 @@ namespace Server.Tests.Network
|
|||
[Fact]
|
||||
public void TestContainerContentUpdate()
|
||||
{
|
||||
Serial serial = (Serial)0x1024;
|
||||
var serial = (Serial)0x1024;
|
||||
var item = new Item(serial);
|
||||
|
||||
var expected = new ContainerContentUpdate(item).Compile();
|
||||
|
|
@ -142,7 +142,7 @@ namespace Server.Tests.Network
|
|||
[Fact]
|
||||
public void TestContainerContentUpdate6017()
|
||||
{
|
||||
Serial serial = (Serial)0x1024;
|
||||
var serial = (Serial)0x1024;
|
||||
var item = new Item(serial);
|
||||
|
||||
var expected = new ContainerContentUpdate6017(item).Compile();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue