示例#1
0
        public static void _WriteStructSyncListTempCoverInfo_None(
            NetworkWriter writer,
            SyncListTempCoverInfo value)
        {
            var count = value.Count;

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

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