2020-12-15 09:56:03 +00:00
|
|
|
|
namespace QuantumUNET.Messages
|
2020-11-08 14:41:16 +00:00
|
|
|
|
{
|
2020-12-04 09:23:27 +00:00
|
|
|
|
internal class QSBAnimationTriggerMessage : QSBMessageBase
|
2020-12-02 21:23:01 +00:00
|
|
|
|
{
|
2020-12-15 09:56:03 +00:00
|
|
|
|
public QSBNetworkInstanceId netId;
|
2020-12-02 21:23:01 +00:00
|
|
|
|
public int hash;
|
2020-11-08 14:41:16 +00:00
|
|
|
|
|
2020-12-04 09:23:27 +00:00
|
|
|
|
public override void Deserialize(QSBNetworkReader reader)
|
2020-12-02 21:23:01 +00:00
|
|
|
|
{
|
|
|
|
|
netId = reader.ReadNetworkId();
|
|
|
|
|
hash = (int)reader.ReadPackedUInt32();
|
|
|
|
|
}
|
2020-11-08 14:41:16 +00:00
|
|
|
|
|
2020-12-04 09:23:27 +00:00
|
|
|
|
public override void Serialize(QSBNetworkWriter writer)
|
2020-12-02 21:23:01 +00:00
|
|
|
|
{
|
|
|
|
|
writer.Write(netId);
|
|
|
|
|
writer.WritePackedUInt32((uint)hash);
|
|
|
|
|
}
|
|
|
|
|
}
|
2020-11-08 14:41:16 +00:00
|
|
|
|
}
|