Skip to content

Commit

Permalink
add version in readme and remove retract directive
Browse files Browse the repository at this point in the history
  • Loading branch information
Tommy PAGEARD committed Aug 13, 2021
1 parent ec49c06 commit 76a140d
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
7 changes: 7 additions & 0 deletions client.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,18 +65,25 @@ func NewClient() *Client {
events: make(chan interface{}, 3),
writeBuf: new(bytes.Buffer),
}

client.Auth = &Auth{client: client}
client.RegisterPacketHandler(client.Auth)

client.Social = newSocial(client)
client.RegisterPacketHandler(client.Social)

client.Web = &Web{client: client}
client.RegisterPacketHandler(client.Web)

client.Notifications = newNotifications(client)
client.RegisterPacketHandler(client.Notifications)

client.Trading = &Trading{client: client}
client.RegisterPacketHandler(client.Trading)

client.GC = newGC(client)
client.RegisterPacketHandler(client.GC)

return client
}

Expand Down
12 changes: 12 additions & 0 deletions generator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,19 @@ We generate Go code from SteamKit protocol descriptors, namely `steamlang` files
## Dependencies
1. Get SteamKit submodule: `git submodule update --init --recursive`.
2. Install [`protoc`](https://developers.google.com/protocol-buffers/docs/downloads), the protocol buffer compiler.

```
✗ protoc --version
libprotoc 3.17.1
```
3. Install `proco-gen-go`: `go get google.golang.org/protobuf/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
Expand Down
2 changes: 0 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,3 @@ require (
github.com/davecgh/go-spew v1.1.1
google.golang.org/protobuf v1.27.1
)

retract v3.0.0

0 comments on commit 76a140d

Please sign in to comment.