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);
 }
Example #2
0
 public override async Task <bool> CheckAsync(BasePacket packet)
 {
     return(await CheckMessage(packet as MessageEventPacket));
 }
Example #3
0
 public override async Task <bool> CheckAsync(BasePacket packet)
 {
     return(await CheckUserUpdate(packet as UserUpdatePacket));
 }
Example #4
0
 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));
 }
Example #6
0
 public override async Task <bool> CheckAsync(BasePacket packet)
 {
     return(await CheckAchievement(packet as AchievementPacket));
 }
Example #7
0
 public override async Task <bool> CheckAsync(MikiContext context, BasePacket packet)
 {
     return(await CheckCommand(packet as CommandPacket));
 }
Example #8
0
 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));
 }
Example #11
0
 public async Task <bool> CheckAsync(BasePacket packet)
 {
     return(await CheckLevel(packet as LevelPacket));
 }