forked from hunterzonewu/unity-decompiled
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAnimationTriggerMessage.cs
More file actions
26 lines (23 loc) · 881 Bytes
/
Copy pathAnimationTriggerMessage.cs
File metadata and controls
26 lines (23 loc) · 881 Bytes
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
// Decompiled with JetBrains decompiler
// Type: UnityEngine.Networking.NetworkSystem.AnimationTriggerMessage
// 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.NetworkSystem
{
internal class AnimationTriggerMessage : MessageBase
{
public NetworkInstanceId netId;
public int hash;
public override void Deserialize(NetworkReader reader)
{
this.netId = reader.ReadNetworkId();
this.hash = (int) reader.ReadPackedUInt32();
}
public override void Serialize(NetworkWriter writer)
{
writer.Write(this.netId);
writer.WritePackedUInt32((uint) this.hash);
}
}
}