Adds style cop (#109)

This commit is contained in:
Kamron Batman 2020-04-26 00:16:02 -07:00 committed by GitHub
parent 3e715bcb60
commit 556a17aba8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
1725 changed files with 33831 additions and 38046 deletions

View file

@ -19,42 +19,18 @@
***************************************************************************/
using System;
using System.Collections.Generic;
namespace Server.Mobiles
{
public interface IMount
{
Mobile Rider{ get; set; }
void OnRiderDamaged(int amount, Mobile from, bool willKill);
}
public interface IMountItem
{
IMount Mount{ get; }
}
}
namespace Server
{
public interface IVendor
{
DateTime LastRestock{ get; set; }
TimeSpan RestockDelay{ get; }
bool OnBuyItems(Mobile from, List<BuyItemResponse> list);
bool OnSellItems(Mobile from, List<SellItemResponse> list);
void Restock();
}
public interface IPoint2D
{
int X{ get; }
int Y{ get; }
int X { get; }
int Y { get; }
}
public interface IPoint3D : IPoint2D
{
int Z{ get; }
int Z { get; }
}
public interface ICarvable
@ -64,7 +40,7 @@ namespace Server
public interface IWeapon
{
int MaxRange{ get; }
int MaxRange { get; }
void OnBeforeSwing(Mobile attacker, Mobile defender);
TimeSpan OnSwing(Mobile attacker, Mobile defender);
void GetStatusDamage(Mobile from, out int min, out int max);
@ -72,12 +48,12 @@ namespace Server
public interface IHued
{
int HuedItemID{ get; }
int HuedItemID { get; }
}
public interface ISpell
{
bool IsCasting{ get; }
bool IsCasting { get; }
void OnCasterHurt();
void OnCasterKilled();
void OnConnectionChanged();
@ -97,17 +73,17 @@ namespace Server
public interface ISpawner
{
bool UnlinkOnTaming{ get; }
Point3D HomeLocation{ get; }
int HomeRange{ get; }
Region Region{ get; }
bool UnlinkOnTaming { get; }
Point3D HomeLocation { get; }
int HomeRange { get; }
Region Region { get; }
void Remove(ISpawnable spawn);
}
public interface ISpawnable : IEntity
{
ISpawner Spawner{ get; set; }
ISpawner Spawner { get; set; }
void OnBeforeSpawn(Point3D location, Map map);
void OnAfterSpawn();
}