コード例 #1
0
 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);
 }
コード例 #2
0
 public override async Task <bool> CheckAsync(BasePacket packet)
 {
     return(await CheckMessage(packet as MessageEventPacket));
 }
コード例 #3
0
 public override async Task <bool> CheckAsync(BasePacket packet)
 {
     return(await CheckUserUpdate(packet as UserUpdatePacket));
 }
コード例 #4
0
 public override async Task <bool> CheckAsync(MikiContext context, BasePacket packet)
 {
     return(await CheckLevel(packet as LevelPacket));
 }
コード例 #5
0
 public async Task <bool> CheckAsync(BasePacket packet)
 {
     return(await CheckTransaction(packet as TransactionPacket));
 }
コード例 #6
0
 public override async Task <bool> CheckAsync(BasePacket packet)
 {
     return(await CheckAchievement(packet as AchievementPacket));
 }
コード例 #7
0
 public override async Task <bool> CheckAsync(MikiContext context, BasePacket packet)
 {
     return(await CheckCommand(packet as CommandPacket));
 }
コード例 #8
0
 public override async Task <bool> CheckAsync(MikiContext context, BasePacket packet)
 {
     return(await CheckTransaction(packet as TransactionPacket));
 }
コード例 #9
0
 public async Task <bool> CheckAsync(BasePacket packet)
 {
     return(await CheckCommand(packet as CommandPacket));
 }
コード例 #10
0
 public Task <bool> CheckAsync(BasePacket packet)
 {
     return(Task.FromResult(true));
 }
コード例 #11
0
 public async Task <bool> CheckAsync(BasePacket packet)
 {
     return(await CheckLevel(packet as LevelPacket));
 }