I\'m converting a C++ program to C#, but this part has me confused. What does return *this mean?
template< EDemoCommands msgType, typename PB_OBJECT_TYPE
this means pointer to the object, so *this is an object. So you are returning an object ie, *this returns a reference to the object.
this
*this