public void InteractionUpdate(Interaction interact)
        {
            int[] arr_inter = new int[NUMBER_OF_INTERACTION_FIELDS];
            arr_inter[0] = seq;
            arr_inter[1] = session_id;
            arr_inter[2] = (int)client_id;
            arr_inter[3] = interact.sourceEntity_id;
            arr_inter[4] = interact.targetEntity_id;
            arr_inter[5] = (int)interact.interactionType;
            arr_inter[6] = 1; // dirty bit

#if UNITY_WEBGL && !UNITY_EDITOR
            SocketIOSendInteraction(arr_inter, arr_inter.Length);
#else
            SocketSim.SocketIOSendInteraction(arr_inter, arr_inter.Length);
#endif
        }