mysimulation/server/FSO.Server.Database/DA/GlobalCooldowns/IGlobalCooldowns.cs

15 lines
539 B
C#
Raw Permalink Normal View History

using System.Collections.Generic;
namespace FSO.Server.Database.DA.GlobalCooldowns
{
public interface IGlobalCooldowns
{
DbGlobalCooldowns Get(uint objguid, uint avatarid, bool useAccount, uint category);
List<DbGlobalCooldowns> GetAllByObj(uint objguid);
List<DbGlobalCooldowns> GetAllByAvatar(uint avatarid);
List<DbGlobalCooldowns> GetAllByObjectAndAvatar(uint objguid, uint avatarid);
bool Create(DbGlobalCooldowns cooldown);
bool Update(DbGlobalCooldowns cooldown);
}
}