diff options
author | Wim <wim@42.be> | 2017-06-22 01:00:27 +0200 |
---|---|---|
committer | Wim <wim@42.be> | 2017-06-22 01:00:27 +0200 |
commit | 1f914618538920db4bfec7b106ee97038b157c9b (patch) | |
tree | 6bd0ab107fe1673dbacdf9dfd10004289cd7bfab /vendor/github.com/Philipp15b/go-steam/protocol/doc.go | |
parent | 1f9874102aaca09ce5e0289beff376c307b8c57b (diff) | |
download | matterbridge-msglm-1f914618538920db4bfec7b106ee97038b157c9b.tar.gz matterbridge-msglm-1f914618538920db4bfec7b106ee97038b157c9b.tar.bz2 matterbridge-msglm-1f914618538920db4bfec7b106ee97038b157c9b.zip |
Add vendor (steam)
Diffstat (limited to 'vendor/github.com/Philipp15b/go-steam/protocol/doc.go')
-rw-r--r-- | vendor/github.com/Philipp15b/go-steam/protocol/doc.go | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/vendor/github.com/Philipp15b/go-steam/protocol/doc.go b/vendor/github.com/Philipp15b/go-steam/protocol/doc.go new file mode 100644 index 00000000..5096a7d7 --- /dev/null +++ b/vendor/github.com/Philipp15b/go-steam/protocol/doc.go @@ -0,0 +1,18 @@ +/* +This package includes some basics for the Steam protocol. It defines basic interfaces that are used throughout go-steam: +There is IMsg, which is extended by IClientMsg (sent after logging in) and abstracts over +the outgoing message types. Both interfaces are implemented by ClientMsgProtobuf and ClientMsg. +Msg is like ClientMsg, but it is used for sending messages before logging in. + +There is also the concept of a Packet: This is a type for incoming messages where only +the header is deserialized. It therefore only contains EMsg data, job information and the remaining data. +Its contents can then be read via the Read* methods which read data into a MessageBody - a type which is Serializable and +has an EMsg. + +In addition, there are extra types for communication with the Game Coordinator (GC) included in the gamecoordinator sub-package. +For outgoing messages the IGCMsg interface is used which is implemented by GCMsgProtobuf and GCMsg. +Incoming messages are of the GCPacket type and are read like regular Packets. + +The actual messages and enums are in the sub-packages steamlang and protobuf, generated from the SteamKit data. +*/ +package protocol |