misc generics, tweaks, OCD changes, yadda yadda

This commit is contained in:
mark 2006-06-20 21:33:28 +00:00
parent 5f07f81fe1
commit f9c2f5b04e
17 changed files with 36 additions and 45 deletions

View file

@ -1,9 +1,8 @@
using System;
using System.Collections;
using System.Collections.Generic;
using Server;
using Server.Misc;
using Server.Items;
using Server.Accounting;
using Server.Items;
namespace Server.Misc
{
@ -15,7 +14,7 @@ namespace Server.Misc
public class GiftGiving
{
private static ArrayList m_Givers = new ArrayList();
private static List<GiftGiver> m_Givers = new List<GiftGiver>();
public static void Register( GiftGiver giver )
{
@ -38,7 +37,7 @@ namespace Server.Misc
for ( int i = 0; i < m_Givers.Count; ++i )
{
GiftGiver giver = (GiftGiver) m_Givers[i];
GiftGiver giver = m_Givers[i];
if ( now < giver.Start || now >= giver.Finish )
continue; // not in the correct timefream

View file

@ -1,5 +1,5 @@
using System;
using Server.Items;
using Server;
using Server.Network;
namespace Server.Items

View file

@ -1,5 +1,5 @@
using System;
using Server.Items;
using Server;
using Server.Network;
namespace Server.Items

View file

@ -1,5 +1,5 @@
using System;
using Server.Items;
using Server;
using Server.Network;
namespace Server.Items

View file

@ -1,7 +1,6 @@
using System;
using System.Collections;
using Server;
using Server.Network;
using Server.Items;
using Server.Targeting;
namespace Server.Items

View file

@ -1,7 +1,6 @@
using System;
using System.Collections;
using Server;
using Server.Network;
using Server.Items;
using Server.Targeting;
namespace Server.Items

View file

@ -1,5 +1,5 @@
using System;
using Server.Items;
using Server;
using Server.Network;
namespace Server.Items