internal static void ForwardMessage(string name, byte[] data)
 {
     if (s_Inited)
     {
         if (null != name && null != data)
         {
             CenterHubApi.SendByName(s_WorldId, name, data, data.Length);
         }
     }
 }
 internal static void SendNodeMessage(string name, JsonMessage msg)
 {
     if (s_Inited)
     {
         byte[] data = BuildNodeMessage(msg);
         if (null != name && null != data)
         {
             CenterHubApi.SendByName(s_WorldId, name, data, data.Length);
         }
     }
 }
        public bool Forward(string dest_name, byte[] data)
        {
            bool ret = false;

            if (null != data)
            {
                if (world_id_ == 0)
                {
                    ret = CenterClientApi.SendByName(dest_name, data, data.Length);
                }
                else
                {
                    ret = CenterHubApi.SendByName(world_id_, dest_name, data, data.Length);
                }
            }
            return(ret);
        }