MCPcopy Create free account
hub / github.com/OpenDungeons/OpenDungeons / typeString

Method typeString

source/network/ClientNotification.cpp:28–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26}
27
28std::string ClientNotification::typeString(ClientNotificationType type)
29{
30 switch(type)
31 {
32 case ClientNotificationType::hello:
33 return "hello";
34 case ClientNotificationType::levelOK:
35 return "levelOK";
36 case ClientNotificationType::setNick:
37 return "setNick";
38 case ClientNotificationType::chat:
39 return "chat";
40 case ClientNotificationType::readyForSeatConfiguration:
41 return "readyForSeatConfiguration";
42 case ClientNotificationType::seatConfigurationSet:
43 return "seatConfigurationSet";
44 case ClientNotificationType::seatConfigurationRefresh:
45 return "seatConfigurationRefresh";
46 case ClientNotificationType::askEntityPickUp:
47 return "askEntityPickUp";
48 case ClientNotificationType::askHandDrop:
49 return "askHandDrop";
50 case ClientNotificationType::askMarkTiles:
51 return "askMarkTiles";
52 case ClientNotificationType::askBuildRoom:
53 return "askBuildRoom";
54 case ClientNotificationType::askSellRoomTiles:
55 return "askSellRoomTiles";
56 case ClientNotificationType::editorAskDestroyRoomTiles:
57 return "editorAskDestroyRoomTiles";
58 case ClientNotificationType::askBuildTrap:
59 return "askBuildTrap";
60 case ClientNotificationType::askSellTrapTiles:
61 return "askSellTrapTiles";
62 case ClientNotificationType::editorAskDestroyTrapTiles:
63 return "editorAskDestroyTrapTiles";
64 case ClientNotificationType::ackNewTurn:
65 return "ackNewTurn";
66 case ClientNotificationType::askCreatureInfos:
67 return "askCreatureInfos";
68 case ClientNotificationType::askPickupWorker:
69 return "askPickupWorker";
70 case ClientNotificationType::askPickupFighter:
71 return "askPickupFighter";
72 case ClientNotificationType::askSlapEntity:
73 return "askSlapEntity";
74 case ClientNotificationType::askCastSpell:
75 return "askCastSpell";
76 case ClientNotificationType::askSetSkillTree:
77 return "askSetSkillTree";
78 case ClientNotificationType::askSetPlayerSettings:
79 return "askSetPlayerSettings";
80 case ClientNotificationType::askSaveMap:
81 return "askSaveMap";
82 case ClientNotificationType::askExecuteConsoleCommand:
83 return "askExecuteConsoleCommand";
84 case ClientNotificationType::editorAskChangeTiles:
85 return "editorAskChangeTiles";

Callers

nothing calls this directly

Calls 1

toStringFunction · 0.70

Tested by

no test coverage detected