コード例 #1
0
 public override void ClientUpdate(MyTimeSpan clientTimestamp)
 {
     if (IsControlledLocally)
     {
         if (Entity.JetpackRunning)
         {
             SnapshotSync.Update(clientTimestamp, m_ControlledJetPackSettings);
         }
         else
         {
             SnapshotSync.Update(clientTimestamp, m_ControlledSettings);
         }
     }
     else
     {
         SnapshotSync.Update(clientTimestamp, m_Settings);
     }
 }
コード例 #2
0
 public override void ClientUpdate(MyTimeSpan clientTimestamp)
 {
     SnapshotSync.Update(clientTimestamp, m_Settings);
 }