MCPcopy Create free account
hub / github.com/ddnet/ddnet / Write

Method Write

src/game/server/player.cpp:1024–1030  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1022}
1023
1024void CPlayer::CCameraInfo::Write(const CNetMsg_Cl_CameraInfo *Msg)
1025{
1026 m_HasCameraInfo = true;
1027 m_Zoom = Msg->m_Zoom / 1000.0f;
1028 m_Deadzone = Msg->m_Deadzone;
1029 m_FollowFactor = Msg->m_FollowFactor;
1030}
1031
1032void CPlayer::CCameraInfo::Reset()
1033{

Callers 7

OnNewSnapshotMethod · 0.45
OnPredictMethod · 0.45
OnTickMethod · 0.45
TickDeferredMethod · 0.45
SnapCharacterMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected