Example #1
0
        public static void _WriteStructSyncListVisionProviderInfo_None(
            NetworkWriter writer,
            SyncListVisionProviderInfo value)
        {
            var count = value.Count;

            writer.Write(count);
            for (ushort index = 0; (int)index < (int)count; ++index)
            {
                value.SerializeItem(writer, value.GetItem(index));
            }
        }
Example #2
0
        public static void _ReadStructSyncListVisionProviderInfo_None(
            NetworkReader reader,
            SyncListVisionProviderInfo instance)
        {
            var num = reader.ReadUInt16();

            instance.Clear();
            for (ushort index = 0; (int)index < (int)num; ++index)
            {
                instance.AddInternal(instance.DeserializeItem(reader));
            }
        }