-#ifndef REPLICATE_H
-#define REPLICATE_H
+#pragma once
+
#ifndef MENUQC
- #define REPLICATE(...) EVAL(OVERLOAD(REPLICATE, __VA_ARGS__))
+ /**
+ * Replicate a client cvar into a server field
+ *
+ * @param fld The field to replicate into
+ * @param type The field type
+ * @param cvar The cvar name
+ */
+ #define REPLICATE(...) EVAL_REPLICATE(OVERLOAD(REPLICATE, __VA_ARGS__))
+ #define EVAL_REPLICATE(...) __VA_ARGS__
[[accumulate]] void ReplicateVars(entity this, string thisname, int i) {}
#endif
#endif
-#endif