generator

command
v3.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 14, 2023 License: BSD-3-Clause Imports: 12 Imported by: 0

README

Generator for steamlang and protobuf

We generate Go code from SteamKit protocol descriptors, namely steamlang files and protocol buffer files.

Dependencies

  1. Get SteamKit submodule: git submodule update --init --recursive.

  2. Install protoc, the protocol buffer compiler.

    ✗ protoc --version
    libprotoc 3.17.1
    
  3. Install protoc-gen-go: go get google.golang.org/protobuf/cmd/protoc-gen-go

    ✗ protoc-gen-go --version
    protoc-gen-go v1.27.1
    
  4. Install the .NET Core SDK (3.1 or later).

Execute generator

Execute go run generator.go clean proto steamlang to clean build files, then build protocol buffer files and then build steamlang files.

Documentation

Overview

This program generates the protobuf and SteamLanguage files from the SteamKit data.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL