The contents of this repo are a proof of concept and are for educational use only
This repository contains the ProtoBuf .proto
files needed to decode the Harry Potter: Wizards Unite RPC.
We are following semantic versioning for WUProtos. Every version will be mapped to their current Harry Potter: Wizards Unite version.
Version | API | Notes | Extra |
---|---|---|---|
1.0.0.2-beta | 0.8.0-beta | Initial | Protocol Buffers v3.8.0 |
If you want to figure out the current version in an automated system, use this file.
Note: This file will contain pre-release versions too.
Current recommended protoc version: "Protocol Buffers v3.8.0".
You can find download links here.
Be sure to add protoc
to your environmental path.
Ensure that you have the newest version of protoc
installed.
Use homebrew
to install protobuf
with brew install --devel protobuf
.
The compilation creates output specifically for the target language, i.e. respecting naming conventions, etc.
This is an example of how the generated code will be organized:
python compile.py php:
- WUProtos/* -> WUProtos/*.php
python compile.py cpp:
- WUProtos/*-> WUProtos/*.pb.cpp
python compile.py csharp:
- WUProtos/* -> WUProtos/*.g.cs
python compile.py objc:
- WUProtos/* -> WUProtos/*.pbobjc.m
python compile.py python:
- WUProtos/* -> wuprotos/*_pb2.py
python compile.py ruby:
- WUProtos/* -> wuprotos/*.rb
//TODO: Need help or test...//
python compile.py go:
- WUProtos/* -> github.com/furtif/wuprotos/*.pb.go
python compile.py java:
- WUProtos/* -> com/github/furtif/wuprotos/*.java
python compile.py js:
- WUProtos/*-> wuprotos/*.js
python compile.py rust:
- WUProtos/* -> WUProtos/*.rs
python compile.py swift:
- WUProtos/* -> WUProtos/*.swift
- Run
python compile.py --help
for help. - You can find all available languages here https://github.com/google/protobuf.
If you don't want to compile WUProtos but instead use it directly, check out the following repository.
Language | Source | Status |
---|---|---|
Java | https://github.com/hpwizardsunite-dev-contrib/WUProtos-Java | OK |