Fixed some incorrect sizing on network messages.

This commit is contained in:
Cekis
2021-11-07 21:53:51 -05:00
parent 05e9202dbf
commit 6725ce7696
7 changed files with 8 additions and 8 deletions
@@ -42,7 +42,7 @@ private:
Archive::AutoVariable<unsigned char> serverType;
Archive::AutoVariable<std::string> commandLine;
Archive::AutoVariable<std::string> clusterName;
Archive::AutoVariable<long> currentEpochTime;
Archive::AutoVariable<uint32_t> currentEpochTime;
};
//-----------------------------------------------------------------------
@@ -1680,7 +1680,7 @@ jboolean JNICALL ScriptMethodsCombatNamespace::doCombatResults(JNIEnv *env, jobj
if (!ClientCombatManagerSupport::doesCombatActionNameExist(TemporaryCrcString(animationString.c_str(), true)))
{
WARNING(true, ("doCombatResults(): caller passed in unsupported combat action name [%s]! Continuing to send combat action. Call stack follows in stdout.", animationString.c_str()));
DEBUG_WARNING(true, ("doCombatResults(): caller passed in unsupported combat action name [%s]! Continuing to send combat action. Call stack follows in stdout.", animationString.c_str()));
// @todo make this go to the log rather than stdout; otherwise, we're going to have to do a lot more work to see this info.
JavaLibrary::printJavaStack();
}
@@ -24,7 +24,7 @@ private:
SystemAssignedProcessId & operator = (const SystemAssignedProcessId & rhs);
SystemAssignedProcessId(const SystemAssignedProcessId & source);
Archive::AutoVariable<unsigned long> m_id;
Archive::AutoVariable<uint32_t> m_id;
};
//-----------------------------------------------------------------------
@@ -25,8 +25,8 @@ private:
GalaxyLoopTimesResponse & operator = (const GalaxyLoopTimesResponse & rhs);
GalaxyLoopTimesResponse(const GalaxyLoopTimesResponse & source);
Archive::AutoVariable<unsigned long> currentFrameMilliseconds;
Archive::AutoVariable<unsigned long> lastFrameMilliseconds;
Archive::AutoVariable<uint32_t> currentFrameMilliseconds;
Archive::AutoVariable<uint32_t> lastFrameMilliseconds;
};
//-----------------------------------------------------------------------
@@ -45,7 +45,7 @@ private:
Archive::AutoVariable<float> m_coneLength;
Archive::AutoVariable<float> m_coneAngle;
Archive::AutoVariable<float> m_slopeAngle;
Archive::AutoVariable<unsigned long> m_expireTime;
Archive::AutoVariable<uint32_t> m_expireTime;
};
//-----------------------------------------------------------------------
@@ -28,7 +28,7 @@ public:
private:
Archive::AutoVariable<unsigned int> m_processId;
Archive::AutoVariable<unsigned long> m_frameTime;
Archive::AutoVariable<uint32_t> m_frameTime;
Archive::AutoVariable<std::string> m_profilerData;
FrameEndMessage();
@@ -43,7 +43,7 @@ public:
private:
GameNetworkMessage();
Archive::AutoVariable<unsigned long> cmd;
Archive::AutoVariable<uint32_t> cmd;
};
// ======================================================================