| 29 | } |
| 30 | |
| 31 | std::string ServerNotification::typeString(ServerNotificationType type) |
| 32 | { |
| 33 | switch(type) |
| 34 | { |
| 35 | case ServerNotificationType::loadLevel: |
| 36 | return "loadLevel"; |
| 37 | case ServerNotificationType::pickNick: |
| 38 | return "pickNick"; |
| 39 | case ServerNotificationType::addPlayers: |
| 40 | return "addPlayers"; |
| 41 | case ServerNotificationType::removePlayers: |
| 42 | return "removePlayers"; |
| 43 | case ServerNotificationType::startGameMode: |
| 44 | return "startGameMode"; |
| 45 | case ServerNotificationType::newMap: |
| 46 | return "newMap"; |
| 47 | case ServerNotificationType::addClass: |
| 48 | return "addClass"; |
| 49 | case ServerNotificationType::clientAccepted: |
| 50 | return "clientAccepted"; |
| 51 | case ServerNotificationType::clientRejected: |
| 52 | return "clientRejected"; |
| 53 | case ServerNotificationType::seatConfigurationRefresh: |
| 54 | return "seatConfigurationRefresh"; |
| 55 | case ServerNotificationType::playerConfigChange: |
| 56 | return "playerConfigChange"; |
| 57 | case ServerNotificationType::chat: |
| 58 | return "chat"; |
| 59 | case ServerNotificationType::chatServer: |
| 60 | return "chatServer"; |
| 61 | case ServerNotificationType::turnStarted: |
| 62 | return "turnStarted"; |
| 63 | case ServerNotificationType::animatedObjectSetWalkPath: |
| 64 | return "animatedObjectSetWalkPath"; |
| 65 | case ServerNotificationType::setObjectAnimationState: |
| 66 | return "setObjectAnimationState"; |
| 67 | case ServerNotificationType::entityPickedUp: |
| 68 | return "entityPickedUp"; |
| 69 | case ServerNotificationType::entityDropped: |
| 70 | return "entityDropped"; |
| 71 | case ServerNotificationType::entitySlapped: |
| 72 | return "entitySlapped"; |
| 73 | case ServerNotificationType::addEntity: |
| 74 | return "addEntity"; |
| 75 | case ServerNotificationType::removeEntity: |
| 76 | return "removeEntity"; |
| 77 | case ServerNotificationType::entitiesRefresh: |
| 78 | return "entitiesRefresh"; |
| 79 | case ServerNotificationType::playerFighting: |
| 80 | return "playerFighting"; |
| 81 | case ServerNotificationType::playerNoMoreFighting: |
| 82 | return "playerNoMoreFighting"; |
| 83 | case ServerNotificationType::refreshPlayerSeat: |
| 84 | return "refreshPlayerSeat"; |
| 85 | case ServerNotificationType::setEntityOpacity: |
| 86 | return "setEntityOpacity"; |
| 87 | case ServerNotificationType::playSpatialSound: |
| 88 | return "playSpatialSound"; |
nothing calls this directly
no test coverage detected