| 1228 | } |
| 1229 | |
| 1230 | static void CPE_ChangeModel(cc_uint8* data) { |
| 1231 | struct Entity* e; |
| 1232 | EntityID id = data[0]; |
| 1233 | cc_string model = UNSAFE_GetString(data + 1); |
| 1234 | |
| 1235 | e = Entities.List[id]; |
| 1236 | if (e) Entity_SetModel(e, &model); |
| 1237 | } |
| 1238 | |
| 1239 | static void CPE_EnvSetMapAppearance(cc_uint8* data) { |
| 1240 | cc_string url = UNSAFE_GetString(data); |
nothing calls this directly
no test coverage detected