Minimal API functionality with unit tests, could be used for integration tests with Unity server. For internal testing used RPC_server implementation
Cloud Point RPC
Communication JSON RPC protocol and implementation with Unity Scene.
API Documentation
See API.md for detailed request/response formats.
Development
The project uses Meson build system and C++20.
Dependencies
- Meson, Ninja
- GCC/Clang (C++20 support)
- Git (for subprojects)
Build & Run
meson setup build
meson compile -C build
./build/src/cloud_point_rpc_server config.yaml
Testing
meson test -C build -v
Docker
You can build and run the server using Docker.
1. Build Image
docker build -t cloud-point-rpc .
2. Run Container
The server runs on port 8080 by default (defined in config.yaml inside the image).
Option A: Port Mapping
docker run -p 8080:8080 cloud-point-rpc
Option B: Host Network (For Simplicity/Performance)
docker run --network host cloud-point-rpc
Custom Configuration:
You can mount your own config.yaml to override the default settings:
docker run -p 8080:8080 -v $(pwd)/my_config.yaml:/app/config.yaml cloud-point-rpc
Description
Languages
C++
90.5%
Meson
6.8%
Dockerfile
2%
C
0.7%