MsgUtil

open class MsgUtil

Author

lngtr

Since

2018-02-21

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun getGCMsg(msg: Int): Int
Strips off the protobuf message flag and returns an EMsg.
Link copied to clipboard
open fun getMsg(msg: Int): EMsg
Strips off the protobuf message flag and returns an EMsg.
Link copied to clipboard
open fun isProtoBuf(msg: Int): Boolean
Determines whether message is protobuf flagged.
Link copied to clipboard
open fun makeGCMsg(msg: Int, protobuf: Boolean): Int
Crafts an EMsg, flagging it if required.
Link copied to clipboard
open fun makeMsg(msg: Int, protobuf: Boolean): Int
Crafts an EMsg, flagging it if required.