summaryrefslogtreecommitdiff
path: root/Runtime/Network/PackStateSpecialized.h
diff options
context:
space:
mode:
Diffstat (limited to 'Runtime/Network/PackStateSpecialized.h')
-rw-r--r--Runtime/Network/PackStateSpecialized.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/Runtime/Network/PackStateSpecialized.h b/Runtime/Network/PackStateSpecialized.h
new file mode 100644
index 0000000..93e066e
--- /dev/null
+++ b/Runtime/Network/PackStateSpecialized.h
@@ -0,0 +1,23 @@
+#pragma once
+
+#include "Configuration/UnityConfigure.h"
+
+#if ENABLE_NETWORK
+
+class BitstreamPacker;
+class Rigidbody;
+class MonoBehaviour;
+class Transform;
+class Animation;
+struct NetworkMessageInfo;
+
+bool SerializeRigidbody (Rigidbody& rigidbody, BitstreamPacker& packer);
+
+void UnpackTransform (Transform& transform, BitstreamPacker& packer);
+bool PackTransform (Transform& transform, BitstreamPacker& packer);
+
+bool SerializeAnimation (Animation& animation, BitstreamPacker& packer);
+
+bool SerializeMono (MonoBehaviour& mono, BitstreamPacker& deltaState, NetworkMessageInfo& timeStamp);
+
+#endif \ No newline at end of file