mysimulation/server/FSO.Server.Database/DA/Inbox/IInbox.cs

16 lines
433 B
C#
Raw Permalink Normal View History

using System;
using System.Collections.Generic;
namespace FSO.Server.Database.DA.Inbox
{
public interface IInbox
{
List<DbInboxMsg> GetMessages(uint avatarID);
List<DbInboxMsg> GetMessagesAfter(uint avatarID, DateTime after);
DbInboxMsg Get(int msgID);
int CreateMessage(DbInboxMsg msg);
bool DeleteMessage(int msgID, uint avatarID);
bool DeleteMessage(int msgID);
}
}