forked from hunterzonewu/unity-decompiled
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSyncListStruct`1.cs
More file actions
41 lines (36 loc) · 1.04 KB
/
SyncListStruct`1.cs
File metadata and controls
41 lines (36 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
// Decompiled with JetBrains decompiler
// Type: UnityEngine.Networking.SyncListStruct`1
// Assembly: UnityEngine.Networking, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: 8B34E19C-EF53-416E-AE36-35C45BAFD2DE
// Assembly location: C:\Users\Blake\sandbox\unity\test-project\Library\UnityAssemblies\UnityEngine.Networking.dll
namespace UnityEngine.Networking
{
/// <summary>
/// <para>This class is used for lists of structs that are synchronized from the server to clients.</para>
/// </summary>
public class SyncListStruct<T> : SyncList<T> where T : struct
{
public ushort Count
{
get
{
return (ushort) base.Count;
}
}
public new void AddInternal(T item)
{
base.AddInternal(item);
}
protected override void SerializeItem(NetworkWriter writer, T item)
{
}
protected override T DeserializeItem(NetworkReader reader)
{
return default (T);
}
public T GetItem(int i)
{
return this[i];
}
}
}