public async Task <bool> CheckAsync(BasePacket packet) { if (packet is AchievementPacket p) { return(await CheckAchievement(p)); } Log.Warning("Packet was expected to be 'AchievementPacket' was not correct."); return(false); }
public override async Task <bool> CheckAsync(BasePacket packet) { return(await CheckMessage(packet as MessageEventPacket)); }
public override async Task <bool> CheckAsync(BasePacket packet) { return(await CheckUserUpdate(packet as UserUpdatePacket)); }
public override async Task <bool> CheckAsync(MikiContext context, BasePacket packet) { return(await CheckLevel(packet as LevelPacket)); }
public async Task <bool> CheckAsync(BasePacket packet) { return(await CheckTransaction(packet as TransactionPacket)); }
public override async Task <bool> CheckAsync(BasePacket packet) { return(await CheckAchievement(packet as AchievementPacket)); }
public override async Task <bool> CheckAsync(MikiContext context, BasePacket packet) { return(await CheckCommand(packet as CommandPacket)); }
public override async Task <bool> CheckAsync(MikiContext context, BasePacket packet) { return(await CheckTransaction(packet as TransactionPacket)); }
public async Task <bool> CheckAsync(BasePacket packet) { return(await CheckCommand(packet as CommandPacket)); }
public Task <bool> CheckAsync(BasePacket packet) { return(Task.FromResult(true)); }
public async Task <bool> CheckAsync(BasePacket packet) { return(await CheckLevel(packet as LevelPacket)); }