matterbridge/vendor/github.com/Philipp15b/go-steam/protocol/steamlang/steamlang.go

18 lines
274 B
Go
Raw Normal View History

2017-06-21 23:00:27 +00:00
/*
Contains code generated from SteamKit's SteamLanguage data.
*/
package steamlang
const (
ProtoMask uint32 = 0x80000000
EMsgMask = ^ProtoMask
)
func NewEMsg(e uint32) EMsg {
return EMsg(e & EMsgMask)
}
func IsProto(e uint32) bool {
return e&ProtoMask > 0
}