internal LiteNetLibSyncList ProcessSyncList(LiteNetLibSyncList syncList, NetDataReader reader)
 {
     if (syncList == null)
     {
         return(null);
     }
     syncList.DeserializeOperation(reader);
     return(syncList);
 }
Ejemplo n.º 2
0
        internal LiteNetLibSyncList ProcessSyncList(LiteNetLibElementInfo info, NetDataReader reader)
        {
            LiteNetLibSyncList syncList = GetSyncList(info);

            if (syncList == null)
            {
                if (Manager.LogError)
                {
                    Debug.LogError("[" + name + "] [" + TypeName + "] cannot process sync list, fieldId [" + info.elementId + "] not found.");
                }
                return(null);
            }
            syncList.DeserializeOperation(reader);
            return(syncList);
        }