Demo entry 6347249

py

   

Submitted by anonymous on Feb 14, 2017 at 04:28
Language: Objective-C. Code size: 1.3 kB.

- (void)recivedContent:(NSArray *)dataArr {
    BOOL shouldUpDateTableView = NO;
    for (int i = 0; i < dataArr.count; i++) {
        ChatContentModel *item = (ChatContentModel *)[dataArr objectAtIndex:i];
        SendContentAction curAction = item.action;
        switch (curAction) {
            case ContentActionFavorite:

            }
            case ContentActionLiveEnd:
            {
            }
            case ContentActionQuit:
            {                
                break;
            }
            case ContentActionForceEnd:
            {
                break;
            }
            case ContentActionChat:
            case ContentActionJoin:
            {
                break;
            }
            case ContentActionDoubleLive:
            {
                break;
            }
            case ContentActionOperation://收到了运维系统消息
                
                break;
            case ContentActionAnimation:
                break;
            case ContentActionWatchLive:
                break;
            case ContentActionGiftAnimation:{
                break;
            case ContentActionRunMode:{
            }
                break;
            default:
            {
                break;
            }
        }
    }
}

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).