Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
675 B

  1. //======== Copyright � 2011, Valve Corporation, All rights reserved. ========//
  2. //
  3. // Purpose: Helper functions for protobufs
  4. //
  5. //===========================================================================//
  6. namespace google
  7. {
  8. namespace protobuf
  9. {
  10. class Message;
  11. }
  12. }
  13. // Given two protobuf objects, generate a third object containing only changed fields between the two objects
  14. //bool ProtoBufDeltaMerge( const ::google::protobuf::Message &src, const ::google::protobuf::Message &delta, ::google::protobuf::Message* to );
  15. //bool ProtoBufCalcDelta( const ::google::protobuf::Message &src, const ::google::protobuf::Message &dest, ::google::protobuf::Message *delta );