Skip to content

Latest commit

 

History

History
109 lines (83 loc) · 3.83 KB

README.md

File metadata and controls

109 lines (83 loc) · 3.83 KB

WUProtos Build Status

alt text The contents of this repo are a proof of concept and are for educational use onlyalt text

This repository contains the ProtoBuf .proto files needed to decode the Harry Potter: Wizards Unite RPC.

Implemented messages types

Versioning

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

Usage

If you want to figure out the current version in an automated system, use this file.

.current-version

Note: This file will contain pre-release versions too.

Preparation

Current recommended protoc version: "Protocol Buffers v3.8.0".

You can find download links here.

Windows

Be sure to add protoc to your environmental path.

*nix

Ensure that you have the newest version of protoc installed.

OS X

Use homebrew to install protobuf with brew install --devel protobuf.

Compilation

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

alt text //TODO: Need help or test...// alt text

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

Extra information

Libraries

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