text: //
  // Copyright (c) 2008-2018 the Urho3D project.
  //
  // Permission is hereby granted, free of charge, to any person obtaining a copy
  // of this software and associated documentation files (the "Software"), to deal
  // in the Software without restriction, including without limitation the rights
  // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  // copies of the Software, and to permit persons to whom the Software is
  // furnished to do so, subject to the following conditions:
  //
  // The above copyright notice and this permission notice shall be included in
  // all copies or substantial portions of the Software.
  //
  // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  // THE SOFTWARE.
  //
  
  #pragma once
  
  namespace Urho3D
  {
  
  /// Client->server: send VariantMap of identity and authentication data.
  static const int MSG_IDENTITY = 0x87;
  /// Client->server: send controls (buttons and mouse movement.)
  static const int MSG_CONTROLS = 0x88;
  /// Client->server: scene has been loaded and client is ready to proceed.
  static const int MSG_SCENELOADED = 0x89;
  /// Client->server: request a package file.
  static const int MSG_REQUESTPACKAGE = 0x8A;
  
  /// Server->client: package file data fragment.
  static const int MSG_PACKAGEDATA = 0x8B;
  /// Server->client: load new scene. In case of empty filename the client should just empty the scene.
  static const int MSG_LOADSCENE = 0x8C;
  /// Server->client: wrong scene checksum, can not participate.
  static const int MSG_SCENECHECKSUMERROR = 0x8D;
  /// Server->client: create new node.
  static const int MSG_CREATENODE = 0x8E;
  /// Server->client: node delta update.
  static const int MSG_NODEDELTAUPDATE = 0x8F;
  /// Server->client: node latest data update.
  static const int MSG_NODELATESTDATA = 0x90;
  /// Server->client: remove node.
  static const int MSG_REMOVENODE = 0x91;
  /// Server->client: create new component.
  static const int MSG_CREATECOMPONENT = 0x92;
  /// Server->client: component delta update.
  static const int MSG_COMPONENTDELTAUPDATE = 0x93;
  /// Server->client: component latest data update.
  static const int MSG_COMPONENTLATESTDATA = 0x94;
  /// Server->client: remove component.
  static const int MSG_REMOVECOMPONENT = 0x95;
  
  /// Client->server and server->client: remote event.
  static const int MSG_REMOTEEVENT = 0x96;
  /// Client->server and server->client: remote node event.
  static const int MSG_REMOTENODEEVENT = 0x97;
  /// Server->client: info about package.
  static const int MSG_PACKAGEINFO = 0x98;
  
  /// Fixed content ID for client controls update.
  static const unsigned CONTROLS_CONTENT_ID = 1;
  /// Package file fragment size.
  static const unsigned PACKAGE_FRAGMENT_SIZE = 1024;
  
  }
  