备份CatanBuilding瘦身独立工程
This commit is contained in:
64
Assets/Scripts/Services/EmptyMailServices.cs
Normal file
64
Assets/Scripts/Services/EmptyMailServices.cs
Normal file
@@ -0,0 +1,64 @@
|
||||
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
public class EmptyMailService : IInGameMailService
|
||||
{
|
||||
public bool IsUnlock{
|
||||
get{
|
||||
return false;
|
||||
}
|
||||
set{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
public async Task<bool> DelMail(GameMail mail)
|
||||
{
|
||||
await Task.Yield();
|
||||
return true;
|
||||
}
|
||||
|
||||
public async Task<bool> DelMail(GameMail[] mails = null)
|
||||
{
|
||||
await Task.Yield();
|
||||
return true;
|
||||
}
|
||||
|
||||
public async Task FetchMail()
|
||||
{
|
||||
await Task.Yield();
|
||||
}
|
||||
|
||||
public IList<GameMail> GetAllMail()
|
||||
{
|
||||
return new List<GameMail>();
|
||||
}
|
||||
|
||||
public void Init() { }
|
||||
|
||||
public async Task<bool> MarkRead(GameMail mail)
|
||||
{
|
||||
await Task.Yield();
|
||||
return true;
|
||||
}
|
||||
|
||||
public async Task<bool> MarkRead(GameMail[] mails = null)
|
||||
{
|
||||
await Task.Yield();
|
||||
return true;
|
||||
}
|
||||
|
||||
public void Reset() { }
|
||||
|
||||
public async Task<bool> TakeReward(GameMail mail) {
|
||||
await Task.Yield();
|
||||
return false;
|
||||
}
|
||||
|
||||
public async Task<bool> TakeReward(GameMail[] mails = null)
|
||||
{
|
||||
await Task.Yield();
|
||||
return false;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user