public void PredictDelta(uint tick, ref __GHOST_NAME__SnapshotData baseline1, ref __GHOST_NAME__SnapshotData baseline2)
    {
        var predictor = new GhostDeltaPredictor(tick, this.tick, baseline1.tick, baseline2.tick);

        #region __GHOST_PREDICT__
        #endregion
    }
    public void PredictDelta(uint tick, ref GameModeSnapshotData baseline1, ref GameModeSnapshotData baseline2)
    {
        var predictor = new GhostDeltaPredictor(tick, this.tick, baseline1.tick, baseline2.tick);

        GameModeDatagameTimerSeconds = predictor.PredictInt(GameModeDatagameTimerSeconds, baseline1.GameModeDatagameTimerSeconds, baseline2.GameModeDatagameTimerSeconds);
        GameModeDatateamScore0       = predictor.PredictInt(GameModeDatateamScore0, baseline1.GameModeDatateamScore0, baseline2.GameModeDatateamScore0);
        GameModeDatateamScore1       = predictor.PredictInt(GameModeDatateamScore1, baseline1.GameModeDatateamScore1, baseline2.GameModeDatateamScore1);
    }
Example #3
0
    public void PredictDelta(uint tick, ref GameInfoSnapshotData baseline1, ref GameInfoSnapshotData baseline2)
    {
        var predictor = new GhostDeltaPredictor(tick, this.tick, baseline1.tick, baseline2.tick);

        GameInfoComponentSizeX = predictor.PredictInt(GameInfoComponentSizeX, baseline1.GameInfoComponentSizeX, baseline2.GameInfoComponentSizeX);
        GameInfoComponentSizeY = predictor.PredictInt(GameInfoComponentSizeY, baseline1.GameInfoComponentSizeY, baseline2.GameInfoComponentSizeY);
        GameInfoComponentId    = predictor.PredictInt(GameInfoComponentId, baseline1.GameInfoComponentId, baseline2.GameInfoComponentId);
    }
Example #4
0
    public void PredictDelta(uint tick, ref RepPlayerSnapshotData baseline1, ref RepPlayerSnapshotData baseline2)
    {
        var predictor = new GhostDeltaPredictor(tick, this.tick, baseline1.tick, baseline2.tick);

        TranslationValueX = predictor.PredictInt(TranslationValueX, baseline1.TranslationValueX, baseline2.TranslationValueX);
        TranslationValueY = predictor.PredictInt(TranslationValueY, baseline1.TranslationValueY, baseline2.TranslationValueY);
        TranslationValueZ = predictor.PredictInt(TranslationValueZ, baseline1.TranslationValueZ, baseline2.TranslationValueZ);
    }
Example #5
0
    public void PredictDelta(uint tick, ref AsteroidSnapshotData baseline1, ref AsteroidSnapshotData baseline2)
    {
        var predictor = new GhostDeltaPredictor(tick, this.tick, baseline1.tick, baseline2.tick);

        RotationValue     = predictor.PredictInt(RotationValue, baseline1.RotationValue, baseline2.RotationValue);
        TranslationValueX = predictor.PredictInt(TranslationValueX, baseline1.TranslationValueX, baseline2.TranslationValueX);
        TranslationValueY = predictor.PredictInt(TranslationValueY, baseline1.TranslationValueY, baseline2.TranslationValueY);
    }
Example #6
0
        public void PredictDelta(uint tick, ref GhostSnapshotData baseline1, ref GhostSnapshotData baseline2)
        {
            var predictor = new GhostDeltaPredictor(tick, this.tick, baseline1.tick, baseline2.tick);

            #region __GHOST_PREDICT__
            snapshot.__GHOST_FIELD_NAME__ = (uint)predictor.PredictInt((int)snapshot.__GHOST_FIELD_NAME__, (int)baseline1.__GHOST_FIELD_NAME__, (int)baseline2.__GHOST_FIELD_NAME__);
            #endregion
        }
Example #7
0
    public void PredictDelta(uint tick, ref GhostSnapshotData baseline1, ref GhostSnapshotData baseline2)
    {
        var predictor = new GhostDeltaPredictor(tick, this.tick, baseline1.tick, baseline2.tick);

        #region __GHOST_PREDICT__
        __GHOST_FIELD_NAME__X = predictor.PredictInt(__GHOST_FIELD_NAME__X, baseline1.__GHOST_FIELD_NAME__X, baseline2.__GHOST_FIELD_NAME__X);
        __GHOST_FIELD_NAME__Y = predictor.PredictInt(__GHOST_FIELD_NAME__Y, baseline1.__GHOST_FIELD_NAME__Y, baseline2.__GHOST_FIELD_NAME__Y);
        #endregion
    }
Example #8
0
    public void PredictDelta(uint tick, ref ShipSnapshotData baseline1, ref ShipSnapshotData baseline2)
    {
        var predictor = new GhostDeltaPredictor(tick, this.tick, baseline1.tick,
                                                baseline2.tick);

        posX = predictor.PredictInt(posX, baseline1.posX, baseline2.posX);
        posY = predictor.PredictInt(posY, baseline1.posY, baseline2.posY);
        rot  = predictor.PredictInt(rot, baseline1.rot, baseline2.rot);
    }
    public void PredictDelta(uint tick, ref BulletSnapshotData baseline1, ref BulletSnapshotData baseline2)
    {
        var predictor = new GhostDeltaPredictor(tick, this.tick, baseline1.tick, baseline2.tick);

        PlayerIdComponentDataPlayerId = predictor.PredictInt(PlayerIdComponentDataPlayerId, baseline1.PlayerIdComponentDataPlayerId, baseline2.PlayerIdComponentDataPlayerId);
        RotationValue     = predictor.PredictInt(RotationValue, baseline1.RotationValue, baseline2.RotationValue);
        TranslationValueX = predictor.PredictInt(TranslationValueX, baseline1.TranslationValueX, baseline2.TranslationValueX);
        TranslationValueY = predictor.PredictInt(TranslationValueY, baseline1.TranslationValueY, baseline2.TranslationValueY);
    }
Example #10
0
    public void PredictDelta(uint tick, ref CubeSnapshotData baseline1, ref CubeSnapshotData baseline2)
    {
        var predictor = new GhostDeltaPredictor(tick, this.tick, baseline1.tick, baseline2.tick);

        MovableCharacterComponentPlayerId = predictor.PredictInt(MovableCharacterComponentPlayerId, baseline1.MovableCharacterComponentPlayerId, baseline2.MovableCharacterComponentPlayerId);
        PlayerDatahealth  = predictor.PredictInt(PlayerDatahealth, baseline1.PlayerDatahealth, baseline2.PlayerDatahealth);
        TranslationValueX = predictor.PredictInt(TranslationValueX, baseline1.TranslationValueX, baseline2.TranslationValueX);
        TranslationValueY = predictor.PredictInt(TranslationValueY, baseline1.TranslationValueY, baseline2.TranslationValueY);
        TranslationValueZ = predictor.PredictInt(TranslationValueZ, baseline1.TranslationValueZ, baseline2.TranslationValueZ);
    }
    public void PredictDelta(uint tick, ref ExtraBlockSnapshotData baseline1, ref ExtraBlockSnapshotData baseline2)
    {
        var predictor = new GhostDeltaPredictor(tick, this.tick, baseline1.tick, baseline2.tick);

        RotationValueX    = predictor.PredictInt(RotationValueX, baseline1.RotationValueX, baseline2.RotationValueX);
        RotationValueY    = predictor.PredictInt(RotationValueY, baseline1.RotationValueY, baseline2.RotationValueY);
        RotationValueZ    = predictor.PredictInt(RotationValueZ, baseline1.RotationValueZ, baseline2.RotationValueZ);
        RotationValueW    = predictor.PredictInt(RotationValueW, baseline1.RotationValueW, baseline2.RotationValueW);
        TranslationValueX = predictor.PredictInt(TranslationValueX, baseline1.TranslationValueX, baseline2.TranslationValueX);
        TranslationValueY = predictor.PredictInt(TranslationValueY, baseline1.TranslationValueY, baseline2.TranslationValueY);
        TranslationValueZ = predictor.PredictInt(TranslationValueZ, baseline1.TranslationValueZ, baseline2.TranslationValueZ);
    }
Example #12
0
    public void PredictDelta(uint tick, ref RepCubeSnapshotData baseline1, ref RepCubeSnapshotData baseline2)
    {
        var predictor = new GhostDeltaPredictor(tick, this.tick, baseline1.tick, baseline2.tick);

        RepCubeComponentDatanetworkId = predictor.PredictInt(RepCubeComponentDatanetworkId, baseline1.RepCubeComponentDatanetworkId, baseline2.RepCubeComponentDatanetworkId);
        RepCubeComponentDatapositionX = predictor.PredictInt(RepCubeComponentDatapositionX, baseline1.RepCubeComponentDatapositionX, baseline2.RepCubeComponentDatapositionX);
        RepCubeComponentDatapositionY = predictor.PredictInt(RepCubeComponentDatapositionY, baseline1.RepCubeComponentDatapositionY, baseline2.RepCubeComponentDatapositionY);
        RepCubeComponentDatapositionZ = predictor.PredictInt(RepCubeComponentDatapositionZ, baseline1.RepCubeComponentDatapositionZ, baseline2.RepCubeComponentDatapositionZ);
        RepCubeComponentDatacolorX    = predictor.PredictInt(RepCubeComponentDatacolorX, baseline1.RepCubeComponentDatacolorX, baseline2.RepCubeComponentDatacolorX);
        RepCubeComponentDatacolorY    = predictor.PredictInt(RepCubeComponentDatacolorY, baseline1.RepCubeComponentDatacolorY, baseline2.RepCubeComponentDatacolorY);
        RepCubeComponentDatacolorZ    = predictor.PredictInt(RepCubeComponentDatacolorZ, baseline1.RepCubeComponentDatacolorZ, baseline2.RepCubeComponentDatacolorZ);
    }
Example #13
0
    public void PredictDelta(uint tick, ref ItemSnapshotData baseline1, ref ItemSnapshotData baseline2)
    {
        var predictor = new GhostDeltaPredictor(tick, this.tick, baseline1.tick, baseline2.tick);

        PrefabCreatorNameId = (uint)predictor.PredictInt((int)PrefabCreatorNameId, (int)baseline1.PrefabCreatorNameId, (int)baseline2.PrefabCreatorNameId);
        RotationValueX      = predictor.PredictInt(RotationValueX, baseline1.RotationValueX, baseline2.RotationValueX);
        RotationValueY      = predictor.PredictInt(RotationValueY, baseline1.RotationValueY, baseline2.RotationValueY);
        RotationValueZ      = predictor.PredictInt(RotationValueZ, baseline1.RotationValueZ, baseline2.RotationValueZ);
        RotationValueW      = predictor.PredictInt(RotationValueW, baseline1.RotationValueW, baseline2.RotationValueW);
        TranslationValueX   = predictor.PredictInt(TranslationValueX, baseline1.TranslationValueX, baseline2.TranslationValueX);
        TranslationValueY   = predictor.PredictInt(TranslationValueY, baseline1.TranslationValueY, baseline2.TranslationValueY);
        TranslationValueZ   = predictor.PredictInt(TranslationValueZ, baseline1.TranslationValueZ, baseline2.TranslationValueZ);
    }
Example #14
0
    public void PredictDelta(uint tick, ref ProjectileSnapshotData baseline1, ref ProjectileSnapshotData baseline2)
    {
        var predictor = new GhostDeltaPredictor(tick, this.tick, baseline1.tick, baseline2.tick);

        ActiveComponentIsActive = (uint)predictor.PredictInt((int)ActiveComponentIsActive, (int)baseline1.ActiveComponentIsActive, (int)baseline2.ActiveComponentIsActive);
        RotationValueX          = predictor.PredictInt(RotationValueX, baseline1.RotationValueX, baseline2.RotationValueX);
        RotationValueY          = predictor.PredictInt(RotationValueY, baseline1.RotationValueY, baseline2.RotationValueY);
        RotationValueZ          = predictor.PredictInt(RotationValueZ, baseline1.RotationValueZ, baseline2.RotationValueZ);
        RotationValueW          = predictor.PredictInt(RotationValueW, baseline1.RotationValueW, baseline2.RotationValueW);
        TranslationValueX       = predictor.PredictInt(TranslationValueX, baseline1.TranslationValueX, baseline2.TranslationValueX);
        TranslationValueY       = predictor.PredictInt(TranslationValueY, baseline1.TranslationValueY, baseline2.TranslationValueY);
        TranslationValueZ       = predictor.PredictInt(TranslationValueZ, baseline1.TranslationValueZ, baseline2.TranslationValueZ);
    }
Example #15
0
    public void PredictDelta(uint tick, ref GhostTypeIndex1TestSnapshotData baseline1, ref GhostTypeIndex1TestSnapshotData baseline2)
    {
        var predictor = new GhostDeltaPredictor(tick, this.tick, baseline1.tick, baseline2.tick);

        GhostTypeIndexValue = predictor.PredictInt(GhostTypeIndexValue, baseline1.GhostTypeIndexValue, baseline2.GhostTypeIndexValue);
        RotationValueX      = predictor.PredictInt(RotationValueX, baseline1.RotationValueX, baseline2.RotationValueX);
        RotationValueY      = predictor.PredictInt(RotationValueY, baseline1.RotationValueY, baseline2.RotationValueY);
        RotationValueZ      = predictor.PredictInt(RotationValueZ, baseline1.RotationValueZ, baseline2.RotationValueZ);
        RotationValueW      = predictor.PredictInt(RotationValueW, baseline1.RotationValueW, baseline2.RotationValueW);
        TranslationValueX   = predictor.PredictInt(TranslationValueX, baseline1.TranslationValueX, baseline2.TranslationValueX);
        TranslationValueY   = predictor.PredictInt(TranslationValueY, baseline1.TranslationValueY, baseline2.TranslationValueY);
        TranslationValueZ   = predictor.PredictInt(TranslationValueZ, baseline1.TranslationValueZ, baseline2.TranslationValueZ);
    }
Example #16
0
    public void PredictDelta(uint tick, ref LagCompensationTestPlayerSnapshotData baseline1, ref LagCompensationTestPlayerSnapshotData baseline2)
    {
        var predictor = new GhostDeltaPredictor(tick, this.tick, baseline1.tick, baseline2.tick);

        LagCompensationTestPlayerOwner = predictor.PredictInt(LagCompensationTestPlayerOwner, baseline1.LagCompensationTestPlayerOwner, baseline2.LagCompensationTestPlayerOwner);
        RotationValueX    = predictor.PredictInt(RotationValueX, baseline1.RotationValueX, baseline2.RotationValueX);
        RotationValueY    = predictor.PredictInt(RotationValueY, baseline1.RotationValueY, baseline2.RotationValueY);
        RotationValueZ    = predictor.PredictInt(RotationValueZ, baseline1.RotationValueZ, baseline2.RotationValueZ);
        RotationValueW    = predictor.PredictInt(RotationValueW, baseline1.RotationValueW, baseline2.RotationValueW);
        TranslationValueX = predictor.PredictInt(TranslationValueX, baseline1.TranslationValueX, baseline2.TranslationValueX);
        TranslationValueY = predictor.PredictInt(TranslationValueY, baseline1.TranslationValueY, baseline2.TranslationValueY);
        TranslationValueZ = predictor.PredictInt(TranslationValueZ, baseline1.TranslationValueZ, baseline2.TranslationValueZ);
    }
Example #17
0
    public void PredictDelta(uint tick, ref SphereSnapshotData baseline1, ref SphereSnapshotData baseline2)
    {
        var predictor = new GhostDeltaPredictor(tick, this.tick, baseline1.tick, baseline2.tick);

        MovablePlayerComponentPlayerId = predictor.PredictInt(MovablePlayerComponentPlayerId, baseline1.MovablePlayerComponentPlayerId, baseline2.MovablePlayerComponentPlayerId);
        RotationValueX    = predictor.PredictInt(RotationValueX, baseline1.RotationValueX, baseline2.RotationValueX);
        RotationValueY    = predictor.PredictInt(RotationValueY, baseline1.RotationValueY, baseline2.RotationValueY);
        RotationValueZ    = predictor.PredictInt(RotationValueZ, baseline1.RotationValueZ, baseline2.RotationValueZ);
        RotationValueW    = predictor.PredictInt(RotationValueW, baseline1.RotationValueW, baseline2.RotationValueW);
        TranslationValueX = predictor.PredictInt(TranslationValueX, baseline1.TranslationValueX, baseline2.TranslationValueX);
        TranslationValueY = predictor.PredictInt(TranslationValueY, baseline1.TranslationValueY, baseline2.TranslationValueY);
        TranslationValueZ = predictor.PredictInt(TranslationValueZ, baseline1.TranslationValueZ, baseline2.TranslationValueZ);
    }
    public void PredictDelta(uint tick, ref PaddleOtherSideSnapshotData baseline1, ref PaddleOtherSideSnapshotData baseline2)
    {
        var predictor = new GhostDeltaPredictor(tick, this.tick, baseline1.tick, baseline2.tick);

        PaddleMoveableComponentPlayerId = predictor.PredictInt(PaddleMoveableComponentPlayerId, baseline1.PaddleMoveableComponentPlayerId, baseline2.PaddleMoveableComponentPlayerId);
        RotationValueX    = predictor.PredictInt(RotationValueX, baseline1.RotationValueX, baseline2.RotationValueX);
        RotationValueY    = predictor.PredictInt(RotationValueY, baseline1.RotationValueY, baseline2.RotationValueY);
        RotationValueZ    = predictor.PredictInt(RotationValueZ, baseline1.RotationValueZ, baseline2.RotationValueZ);
        RotationValueW    = predictor.PredictInt(RotationValueW, baseline1.RotationValueW, baseline2.RotationValueW);
        TranslationValueX = predictor.PredictInt(TranslationValueX, baseline1.TranslationValueX, baseline2.TranslationValueX);
        TranslationValueY = predictor.PredictInt(TranslationValueY, baseline1.TranslationValueY, baseline2.TranslationValueY);
        TranslationValueZ = predictor.PredictInt(TranslationValueZ, baseline1.TranslationValueZ, baseline2.TranslationValueZ);
    }
Example #19
0
    public void PredictDelta(uint tick, ref ProjectileSnapshotData baseline1, ref ProjectileSnapshotData baseline2)
    {
        var predictor = new GhostDeltaPredictor(tick, this.tick, baseline1.tick, baseline2.tick);

        LifeTimeComponentValue = predictor.PredictInt(LifeTimeComponentValue, baseline1.LifeTimeComponentValue, baseline2.LifeTimeComponentValue);
        SpeedComponentValue    = predictor.PredictInt(SpeedComponentValue, baseline1.SpeedComponentValue, baseline2.SpeedComponentValue);
        RotationValueX         = predictor.PredictInt(RotationValueX, baseline1.RotationValueX, baseline2.RotationValueX);
        RotationValueY         = predictor.PredictInt(RotationValueY, baseline1.RotationValueY, baseline2.RotationValueY);
        RotationValueZ         = predictor.PredictInt(RotationValueZ, baseline1.RotationValueZ, baseline2.RotationValueZ);
        RotationValueW         = predictor.PredictInt(RotationValueW, baseline1.RotationValueW, baseline2.RotationValueW);
        TranslationValueX      = predictor.PredictInt(TranslationValueX, baseline1.TranslationValueX, baseline2.TranslationValueX);
        TranslationValueY      = predictor.PredictInt(TranslationValueY, baseline1.TranslationValueY, baseline2.TranslationValueY);
        TranslationValueZ      = predictor.PredictInt(TranslationValueZ, baseline1.TranslationValueZ, baseline2.TranslationValueZ);
    }
    public void PredictDelta(uint tick, ref VoxelGridSnapshotData baseline1, ref VoxelGridSnapshotData baseline2)
    {
        var predictor = new GhostDeltaPredictor(tick, this.tick, baseline1.tick, baseline2.tick);

        ChunkComponentx   = predictor.PredictInt(ChunkComponentx, baseline1.ChunkComponentx, baseline2.ChunkComponentx);
        ChunkComponenty   = predictor.PredictInt(ChunkComponenty, baseline1.ChunkComponenty, baseline2.ChunkComponenty);
        RotationValueX    = predictor.PredictInt(RotationValueX, baseline1.RotationValueX, baseline2.RotationValueX);
        RotationValueY    = predictor.PredictInt(RotationValueY, baseline1.RotationValueY, baseline2.RotationValueY);
        RotationValueZ    = predictor.PredictInt(RotationValueZ, baseline1.RotationValueZ, baseline2.RotationValueZ);
        RotationValueW    = predictor.PredictInt(RotationValueW, baseline1.RotationValueW, baseline2.RotationValueW);
        TranslationValueX = predictor.PredictInt(TranslationValueX, baseline1.TranslationValueX, baseline2.TranslationValueX);
        TranslationValueY = predictor.PredictInt(TranslationValueY, baseline1.TranslationValueY, baseline2.TranslationValueY);
        TranslationValueZ = predictor.PredictInt(TranslationValueZ, baseline1.TranslationValueZ, baseline2.TranslationValueZ);
    }
    public void PredictDelta(uint tick, ref TeleporterSnapshotData baseline1, ref TeleporterSnapshotData baseline2)
    {
        var predictor = new GhostDeltaPredictor(tick, this.tick, baseline1.tick, baseline2.tick);

        TeleporterPresentationDataeffectTick = predictor.PredictInt(TeleporterPresentationDataeffectTick, baseline1.TeleporterPresentationDataeffectTick, baseline2.TeleporterPresentationDataeffectTick);
        TranslationValueX       = predictor.PredictInt(TranslationValueX, baseline1.TranslationValueX, baseline2.TranslationValueX);
        TranslationValueY       = predictor.PredictInt(TranslationValueY, baseline1.TranslationValueY, baseline2.TranslationValueY);
        TranslationValueZ       = predictor.PredictInt(TranslationValueZ, baseline1.TranslationValueZ, baseline2.TranslationValueZ);
        Child0TranslationValueX = predictor.PredictInt(Child0TranslationValueX, baseline1.Child0TranslationValueX, baseline2.Child0TranslationValueX);
        Child0TranslationValueY = predictor.PredictInt(Child0TranslationValueY, baseline1.Child0TranslationValueY, baseline2.Child0TranslationValueY);
        Child0TranslationValueZ = predictor.PredictInt(Child0TranslationValueZ, baseline1.Child0TranslationValueZ, baseline2.Child0TranslationValueZ);
        Child1TranslationValueX = predictor.PredictInt(Child1TranslationValueX, baseline1.Child1TranslationValueX, baseline2.Child1TranslationValueX);
        Child1TranslationValueY = predictor.PredictInt(Child1TranslationValueY, baseline1.Child1TranslationValueY, baseline2.Child1TranslationValueY);
        Child1TranslationValueZ = predictor.PredictInt(Child1TranslationValueZ, baseline1.Child1TranslationValueZ, baseline2.Child1TranslationValueZ);
    }
    public void PredictDelta(uint tick, ref NetCodePlayModeTestGhostObjectSnapshotData baseline1,
                             ref NetCodePlayModeTestGhostObjectSnapshotData baseline2)
    {
        GhostDeltaPredictor predictor = new GhostDeltaPredictor(tick, this.tick, baseline1.tick, baseline2.tick);

        RotationValueX    = predictor.PredictInt(RotationValueX, baseline1.RotationValueX, baseline2.RotationValueX);
        RotationValueY    = predictor.PredictInt(RotationValueY, baseline1.RotationValueY, baseline2.RotationValueY);
        RotationValueZ    = predictor.PredictInt(RotationValueZ, baseline1.RotationValueZ, baseline2.RotationValueZ);
        RotationValueW    = predictor.PredictInt(RotationValueW, baseline1.RotationValueW, baseline2.RotationValueW);
        TranslationValueX =
            predictor.PredictInt(TranslationValueX, baseline1.TranslationValueX, baseline2.TranslationValueX);
        TranslationValueY =
            predictor.PredictInt(TranslationValueY, baseline1.TranslationValueY, baseline2.TranslationValueY);
        TranslationValueZ =
            predictor.PredictInt(TranslationValueZ, baseline1.TranslationValueZ, baseline2.TranslationValueZ);
    }
Example #23
0
    public void PredictDelta(uint tick, ref Tree_1SnapshotData baseline1, ref Tree_1SnapshotData baseline2)
    {
        var predictor = new GhostDeltaPredictor(tick, this.tick, baseline1.tick, baseline2.tick);

        RotationValueX          = predictor.PredictInt(RotationValueX, baseline1.RotationValueX, baseline2.RotationValueX);
        RotationValueY          = predictor.PredictInt(RotationValueY, baseline1.RotationValueY, baseline2.RotationValueY);
        RotationValueZ          = predictor.PredictInt(RotationValueZ, baseline1.RotationValueZ, baseline2.RotationValueZ);
        RotationValueW          = predictor.PredictInt(RotationValueW, baseline1.RotationValueW, baseline2.RotationValueW);
        TranslationValueX       = predictor.PredictInt(TranslationValueX, baseline1.TranslationValueX, baseline2.TranslationValueX);
        TranslationValueY       = predictor.PredictInt(TranslationValueY, baseline1.TranslationValueY, baseline2.TranslationValueY);
        TranslationValueZ       = predictor.PredictInt(TranslationValueZ, baseline1.TranslationValueZ, baseline2.TranslationValueZ);
        Child0RotationValueX    = predictor.PredictInt(Child0RotationValueX, baseline1.Child0RotationValueX, baseline2.Child0RotationValueX);
        Child0RotationValueY    = predictor.PredictInt(Child0RotationValueY, baseline1.Child0RotationValueY, baseline2.Child0RotationValueY);
        Child0RotationValueZ    = predictor.PredictInt(Child0RotationValueZ, baseline1.Child0RotationValueZ, baseline2.Child0RotationValueZ);
        Child0RotationValueW    = predictor.PredictInt(Child0RotationValueW, baseline1.Child0RotationValueW, baseline2.Child0RotationValueW);
        Child0TranslationValueX = predictor.PredictInt(Child0TranslationValueX, baseline1.Child0TranslationValueX, baseline2.Child0TranslationValueX);
        Child0TranslationValueY = predictor.PredictInt(Child0TranslationValueY, baseline1.Child0TranslationValueY, baseline2.Child0TranslationValueY);
        Child0TranslationValueZ = predictor.PredictInt(Child0TranslationValueZ, baseline1.Child0TranslationValueZ, baseline2.Child0TranslationValueZ);
        Child1RotationValueX    = predictor.PredictInt(Child1RotationValueX, baseline1.Child1RotationValueX, baseline2.Child1RotationValueX);
        Child1RotationValueY    = predictor.PredictInt(Child1RotationValueY, baseline1.Child1RotationValueY, baseline2.Child1RotationValueY);
        Child1RotationValueZ    = predictor.PredictInt(Child1RotationValueZ, baseline1.Child1RotationValueZ, baseline2.Child1RotationValueZ);
        Child1RotationValueW    = predictor.PredictInt(Child1RotationValueW, baseline1.Child1RotationValueW, baseline2.Child1RotationValueW);
        Child1TranslationValueX = predictor.PredictInt(Child1TranslationValueX, baseline1.Child1TranslationValueX, baseline2.Child1TranslationValueX);
        Child1TranslationValueY = predictor.PredictInt(Child1TranslationValueY, baseline1.Child1TranslationValueY, baseline2.Child1TranslationValueY);
        Child1TranslationValueZ = predictor.PredictInt(Child1TranslationValueZ, baseline1.Child1TranslationValueZ, baseline2.Child1TranslationValueZ);
        Child2RotationValueX    = predictor.PredictInt(Child2RotationValueX, baseline1.Child2RotationValueX, baseline2.Child2RotationValueX);
        Child2RotationValueY    = predictor.PredictInt(Child2RotationValueY, baseline1.Child2RotationValueY, baseline2.Child2RotationValueY);
        Child2RotationValueZ    = predictor.PredictInt(Child2RotationValueZ, baseline1.Child2RotationValueZ, baseline2.Child2RotationValueZ);
        Child2RotationValueW    = predictor.PredictInt(Child2RotationValueW, baseline1.Child2RotationValueW, baseline2.Child2RotationValueW);
        Child2TranslationValueX = predictor.PredictInt(Child2TranslationValueX, baseline1.Child2TranslationValueX, baseline2.Child2TranslationValueX);
        Child2TranslationValueY = predictor.PredictInt(Child2TranslationValueY, baseline1.Child2TranslationValueY, baseline2.Child2TranslationValueY);
        Child2TranslationValueZ = predictor.PredictInt(Child2TranslationValueZ, baseline1.Child2TranslationValueZ, baseline2.Child2TranslationValueZ);
        Child3RotationValueX    = predictor.PredictInt(Child3RotationValueX, baseline1.Child3RotationValueX, baseline2.Child3RotationValueX);
        Child3RotationValueY    = predictor.PredictInt(Child3RotationValueY, baseline1.Child3RotationValueY, baseline2.Child3RotationValueY);
        Child3RotationValueZ    = predictor.PredictInt(Child3RotationValueZ, baseline1.Child3RotationValueZ, baseline2.Child3RotationValueZ);
        Child3RotationValueW    = predictor.PredictInt(Child3RotationValueW, baseline1.Child3RotationValueW, baseline2.Child3RotationValueW);
        Child3TranslationValueX = predictor.PredictInt(Child3TranslationValueX, baseline1.Child3TranslationValueX, baseline2.Child3TranslationValueX);
        Child3TranslationValueY = predictor.PredictInt(Child3TranslationValueY, baseline1.Child3TranslationValueY, baseline2.Child3TranslationValueY);
        Child3TranslationValueZ = predictor.PredictInt(Child3TranslationValueZ, baseline1.Child3TranslationValueZ, baseline2.Child3TranslationValueZ);
        Child4RotationValueX    = predictor.PredictInt(Child4RotationValueX, baseline1.Child4RotationValueX, baseline2.Child4RotationValueX);
        Child4RotationValueY    = predictor.PredictInt(Child4RotationValueY, baseline1.Child4RotationValueY, baseline2.Child4RotationValueY);
        Child4RotationValueZ    = predictor.PredictInt(Child4RotationValueZ, baseline1.Child4RotationValueZ, baseline2.Child4RotationValueZ);
        Child4RotationValueW    = predictor.PredictInt(Child4RotationValueW, baseline1.Child4RotationValueW, baseline2.Child4RotationValueW);
        Child4TranslationValueX = predictor.PredictInt(Child4TranslationValueX, baseline1.Child4TranslationValueX, baseline2.Child4TranslationValueX);
        Child4TranslationValueY = predictor.PredictInt(Child4TranslationValueY, baseline1.Child4TranslationValueY, baseline2.Child4TranslationValueY);
        Child4TranslationValueZ = predictor.PredictInt(Child4TranslationValueZ, baseline1.Child4TranslationValueZ, baseline2.Child4TranslationValueZ);
    }
Example #24
0
    public void PredictDelta(uint tick, ref CarStubSnapshotData baseline1, ref CarStubSnapshotData baseline2)
    {
        var predictor = new GhostDeltaPredictor(tick, this.tick, baseline1.tick, baseline2.tick);

        HealthComponentHealth = predictor.PredictInt(HealthComponentHealth, baseline1.HealthComponentHealth, baseline2.HealthComponentHealth);
        ProgressionComponentCrossedCheckpoints = (uint)predictor.PredictInt((int)ProgressionComponentCrossedCheckpoints, (int)baseline1.ProgressionComponentCrossedCheckpoints, (int)baseline2.ProgressionComponentCrossedCheckpoints);
        SynchronizedCarComponentPlayerId       = predictor.PredictInt(SynchronizedCarComponentPlayerId, baseline1.SynchronizedCarComponentPlayerId, baseline2.SynchronizedCarComponentPlayerId);
        SynchronizedCarComponentSteerAngle     = predictor.PredictInt(SynchronizedCarComponentSteerAngle, baseline1.SynchronizedCarComponentSteerAngle, baseline2.SynchronizedCarComponentSteerAngle);
        SynchronizedCarComponentIsShieldActive = (uint)predictor.PredictInt((int)SynchronizedCarComponentIsShieldActive, (int)baseline1.SynchronizedCarComponentIsShieldActive, (int)baseline2.SynchronizedCarComponentIsShieldActive);
        RotationValueX    = predictor.PredictInt(RotationValueX, baseline1.RotationValueX, baseline2.RotationValueX);
        RotationValueY    = predictor.PredictInt(RotationValueY, baseline1.RotationValueY, baseline2.RotationValueY);
        RotationValueZ    = predictor.PredictInt(RotationValueZ, baseline1.RotationValueZ, baseline2.RotationValueZ);
        RotationValueW    = predictor.PredictInt(RotationValueW, baseline1.RotationValueW, baseline2.RotationValueW);
        TranslationValueX = predictor.PredictInt(TranslationValueX, baseline1.TranslationValueX, baseline2.TranslationValueX);
        TranslationValueY = predictor.PredictInt(TranslationValueY, baseline1.TranslationValueY, baseline2.TranslationValueY);
        TranslationValueZ = predictor.PredictInt(TranslationValueZ, baseline1.TranslationValueZ, baseline2.TranslationValueZ);
    }
    public void PredictDelta(uint tick, ref BArcherSnapshotData baseline1, ref BArcherSnapshotData baseline2)
    {
        var predictor = new GhostDeltaPredictor(tick, this.tick, baseline1.tick, baseline2.tick);

        HealthValue                  = predictor.PredictInt(HealthValue, baseline1.HealthValue, baseline2.HealthValue);
        PlayerUnitPlayerId           = predictor.PredictInt(PlayerUnitPlayerId, baseline1.PlayerUnitPlayerId, baseline2.PlayerUnitPlayerId);
        PlayerUnitUnitId             = predictor.PredictInt(PlayerUnitUnitId, baseline1.PlayerUnitUnitId, baseline2.PlayerUnitUnitId);
        UnitSelectionStateIsSelected = (uint)predictor.PredictInt((int)UnitSelectionStateIsSelected, (int)baseline1.UnitSelectionStateIsSelected, (int)baseline2.UnitSelectionStateIsSelected);
        RotationValueX               = predictor.PredictInt(RotationValueX, baseline1.RotationValueX, baseline2.RotationValueX);
        RotationValueY               = predictor.PredictInt(RotationValueY, baseline1.RotationValueY, baseline2.RotationValueY);
        RotationValueZ               = predictor.PredictInt(RotationValueZ, baseline1.RotationValueZ, baseline2.RotationValueZ);
        RotationValueW               = predictor.PredictInt(RotationValueW, baseline1.RotationValueW, baseline2.RotationValueW);
        TranslationValueX            = predictor.PredictInt(TranslationValueX, baseline1.TranslationValueX, baseline2.TranslationValueX);
        TranslationValueY            = predictor.PredictInt(TranslationValueY, baseline1.TranslationValueY, baseline2.TranslationValueY);
        TranslationValueZ            = predictor.PredictInt(TranslationValueZ, baseline1.TranslationValueZ, baseline2.TranslationValueZ);
        Child0RotationValueX         = predictor.PredictInt(Child0RotationValueX, baseline1.Child0RotationValueX, baseline2.Child0RotationValueX);
        Child0RotationValueY         = predictor.PredictInt(Child0RotationValueY, baseline1.Child0RotationValueY, baseline2.Child0RotationValueY);
        Child0RotationValueZ         = predictor.PredictInt(Child0RotationValueZ, baseline1.Child0RotationValueZ, baseline2.Child0RotationValueZ);
        Child0RotationValueW         = predictor.PredictInt(Child0RotationValueW, baseline1.Child0RotationValueW, baseline2.Child0RotationValueW);
        Child0TranslationValueX      = predictor.PredictInt(Child0TranslationValueX, baseline1.Child0TranslationValueX, baseline2.Child0TranslationValueX);
        Child0TranslationValueY      = predictor.PredictInt(Child0TranslationValueY, baseline1.Child0TranslationValueY, baseline2.Child0TranslationValueY);
        Child0TranslationValueZ      = predictor.PredictInt(Child0TranslationValueZ, baseline1.Child0TranslationValueZ, baseline2.Child0TranslationValueZ);
        Child1RotationValueX         = predictor.PredictInt(Child1RotationValueX, baseline1.Child1RotationValueX, baseline2.Child1RotationValueX);
        Child1RotationValueY         = predictor.PredictInt(Child1RotationValueY, baseline1.Child1RotationValueY, baseline2.Child1RotationValueY);
        Child1RotationValueZ         = predictor.PredictInt(Child1RotationValueZ, baseline1.Child1RotationValueZ, baseline2.Child1RotationValueZ);
        Child1RotationValueW         = predictor.PredictInt(Child1RotationValueW, baseline1.Child1RotationValueW, baseline2.Child1RotationValueW);
        Child1TranslationValueX      = predictor.PredictInt(Child1TranslationValueX, baseline1.Child1TranslationValueX, baseline2.Child1TranslationValueX);
        Child1TranslationValueY      = predictor.PredictInt(Child1TranslationValueY, baseline1.Child1TranslationValueY, baseline2.Child1TranslationValueY);
        Child1TranslationValueZ      = predictor.PredictInt(Child1TranslationValueZ, baseline1.Child1TranslationValueZ, baseline2.Child1TranslationValueZ);
        Child2RotationValueX         = predictor.PredictInt(Child2RotationValueX, baseline1.Child2RotationValueX, baseline2.Child2RotationValueX);
        Child2RotationValueY         = predictor.PredictInt(Child2RotationValueY, baseline1.Child2RotationValueY, baseline2.Child2RotationValueY);
        Child2RotationValueZ         = predictor.PredictInt(Child2RotationValueZ, baseline1.Child2RotationValueZ, baseline2.Child2RotationValueZ);
        Child2RotationValueW         = predictor.PredictInt(Child2RotationValueW, baseline1.Child2RotationValueW, baseline2.Child2RotationValueW);
        Child2TranslationValueX      = predictor.PredictInt(Child2TranslationValueX, baseline1.Child2TranslationValueX, baseline2.Child2TranslationValueX);
        Child2TranslationValueY      = predictor.PredictInt(Child2TranslationValueY, baseline1.Child2TranslationValueY, baseline2.Child2TranslationValueY);
        Child2TranslationValueZ      = predictor.PredictInt(Child2TranslationValueZ, baseline1.Child2TranslationValueZ, baseline2.Child2TranslationValueZ);
        Child3RotationValueX         = predictor.PredictInt(Child3RotationValueX, baseline1.Child3RotationValueX, baseline2.Child3RotationValueX);
        Child3RotationValueY         = predictor.PredictInt(Child3RotationValueY, baseline1.Child3RotationValueY, baseline2.Child3RotationValueY);
        Child3RotationValueZ         = predictor.PredictInt(Child3RotationValueZ, baseline1.Child3RotationValueZ, baseline2.Child3RotationValueZ);
        Child3RotationValueW         = predictor.PredictInt(Child3RotationValueW, baseline1.Child3RotationValueW, baseline2.Child3RotationValueW);
        Child3TranslationValueX      = predictor.PredictInt(Child3TranslationValueX, baseline1.Child3TranslationValueX, baseline2.Child3TranslationValueX);
        Child3TranslationValueY      = predictor.PredictInt(Child3TranslationValueY, baseline1.Child3TranslationValueY, baseline2.Child3TranslationValueY);
        Child3TranslationValueZ      = predictor.PredictInt(Child3TranslationValueZ, baseline1.Child3TranslationValueZ, baseline2.Child3TranslationValueZ);
    }
Example #26
0
    public void PredictDelta(uint tick, ref PilotSnapshotData baseline1, ref PilotSnapshotData baseline2)
    {
        var predictor = new GhostDeltaPredictor(tick, this.tick, baseline1.tick, baseline2.tick);

        PilotDataPlayerId = predictor.PredictInt(PilotDataPlayerId, baseline1.PilotDataPlayerId, baseline2.PilotDataPlayerId);
        PilotMovementSystemDatavelocityX    = predictor.PredictInt(PilotMovementSystemDatavelocityX, baseline1.PilotMovementSystemDatavelocityX, baseline2.PilotMovementSystemDatavelocityX);
        PilotMovementSystemDatavelocityY    = predictor.PredictInt(PilotMovementSystemDatavelocityY, baseline1.PilotMovementSystemDatavelocityY, baseline2.PilotMovementSystemDatavelocityY);
        PilotMovementSystemDatavelocityZ    = predictor.PredictInt(PilotMovementSystemDatavelocityZ, baseline1.PilotMovementSystemDatavelocityZ, baseline2.PilotMovementSystemDatavelocityZ);
        PilotMovementSystemDataonGround     = (uint)predictor.PredictInt((int)PilotMovementSystemDataonGround, (int)baseline1.PilotMovementSystemDataonGround, (int)baseline2.PilotMovementSystemDataonGround);
        PilotMovementSystemDatajumpCooldown = (uint)predictor.PredictInt((int)PilotMovementSystemDatajumpCooldown, (int)baseline1.PilotMovementSystemDatajumpCooldown, (int)baseline2.PilotMovementSystemDatajumpCooldown);
        PilotMovementSystemDatamovementMode = predictor.PredictInt(PilotMovementSystemDatamovementMode, baseline1.PilotMovementSystemDatamovementMode, baseline2.PilotMovementSystemDatamovementMode);
        RotationValueX    = predictor.PredictInt(RotationValueX, baseline1.RotationValueX, baseline2.RotationValueX);
        RotationValueY    = predictor.PredictInt(RotationValueY, baseline1.RotationValueY, baseline2.RotationValueY);
        RotationValueZ    = predictor.PredictInt(RotationValueZ, baseline1.RotationValueZ, baseline2.RotationValueZ);
        RotationValueW    = predictor.PredictInt(RotationValueW, baseline1.RotationValueW, baseline2.RotationValueW);
        TranslationValueX = predictor.PredictInt(TranslationValueX, baseline1.TranslationValueX, baseline2.TranslationValueX);
        TranslationValueY = predictor.PredictInt(TranslationValueY, baseline1.TranslationValueY, baseline2.TranslationValueY);
        TranslationValueZ = predictor.PredictInt(TranslationValueZ, baseline1.TranslationValueZ, baseline2.TranslationValueZ);
    }
Example #27
0
    public void PredictDelta(uint tick, ref PlayerStateSnapshotData baseline1, ref PlayerStateSnapshotData baseline2)
    {
        var predictor = new GhostDeltaPredictor(tick, this.tick, baseline1.tick, baseline2.tick);

        PlayerStateplayerId  = predictor.PredictInt(PlayerStateplayerId, baseline1.PlayerStateplayerId, baseline2.PlayerStateplayerId);
        PlayerStateteamIndex = predictor.PredictInt(PlayerStateteamIndex, baseline1.PlayerStateteamIndex, baseline2.PlayerStateteamIndex);
        PlayerStatescore     = predictor.PredictInt(PlayerStatescore, baseline1.PlayerStatescore, baseline2.PlayerStatescore);
        PlayerStategameModeSystemInitialized = (uint)predictor.PredictInt((int)PlayerStategameModeSystemInitialized, (int)baseline1.PlayerStategameModeSystemInitialized, (int)baseline2.PlayerStategameModeSystemInitialized);
        PlayerStatedisplayCountDown          = (uint)predictor.PredictInt((int)PlayerStatedisplayCountDown, (int)baseline1.PlayerStatedisplayCountDown, (int)baseline2.PlayerStatedisplayCountDown);
        PlayerStatecountDown          = predictor.PredictInt(PlayerStatecountDown, baseline1.PlayerStatecountDown, baseline2.PlayerStatecountDown);
        PlayerStatedisplayScoreBoard  = (uint)predictor.PredictInt((int)PlayerStatedisplayScoreBoard, (int)baseline1.PlayerStatedisplayScoreBoard, (int)baseline2.PlayerStatedisplayScoreBoard);
        PlayerStatedisplayGameScore   = (uint)predictor.PredictInt((int)PlayerStatedisplayGameScore, (int)baseline1.PlayerStatedisplayGameScore, (int)baseline2.PlayerStatedisplayGameScore);
        PlayerStatedisplayGameResult  = (uint)predictor.PredictInt((int)PlayerStatedisplayGameResult, (int)baseline1.PlayerStatedisplayGameResult, (int)baseline2.PlayerStatedisplayGameResult);
        PlayerStatedisplayGoal        = (uint)predictor.PredictInt((int)PlayerStatedisplayGoal, (int)baseline1.PlayerStatedisplayGoal, (int)baseline2.PlayerStatedisplayGoal);
        PlayerStategoalPositionX      = predictor.PredictInt(PlayerStategoalPositionX, baseline1.PlayerStategoalPositionX, baseline2.PlayerStategoalPositionX);
        PlayerStategoalPositionY      = predictor.PredictInt(PlayerStategoalPositionY, baseline1.PlayerStategoalPositionY, baseline2.PlayerStategoalPositionY);
        PlayerStategoalPositionZ      = predictor.PredictInt(PlayerStategoalPositionZ, baseline1.PlayerStategoalPositionZ, baseline2.PlayerStategoalPositionZ);
        PlayerStategoalDefendersColor = (uint)predictor.PredictInt((int)PlayerStategoalDefendersColor, (int)baseline1.PlayerStategoalDefendersColor, (int)baseline2.PlayerStategoalDefendersColor);
        PlayerStategoalAttackersColor = (uint)predictor.PredictInt((int)PlayerStategoalAttackersColor, (int)baseline1.PlayerStategoalAttackersColor, (int)baseline2.PlayerStategoalAttackersColor);
        PlayerStategoalAttackers      = (uint)predictor.PredictInt((int)PlayerStategoalAttackers, (int)baseline1.PlayerStategoalAttackers, (int)baseline2.PlayerStategoalAttackers);
        PlayerStategoalDefenders      = (uint)predictor.PredictInt((int)PlayerStategoalDefenders, (int)baseline1.PlayerStategoalDefenders, (int)baseline2.PlayerStategoalDefenders);
        PlayerStategoalCompletion     = predictor.PredictInt(PlayerStategoalCompletion, baseline1.PlayerStategoalCompletion, baseline2.PlayerStategoalCompletion);
    }
Example #28
0
    public void PredictDelta(uint tick, ref Weapon_TerraformerSnapshotData baseline1, ref Weapon_TerraformerSnapshotData baseline2)
    {
        var predictor = new GhostDeltaPredictor(tick, this.tick, baseline1.tick, baseline2.tick);

        ItemInputStateowner                                  = predictor.PredictInt(ItemInputStateowner, baseline1.ItemInputStateowner, baseline2.ItemInputStateowner);
        ItemInputStateslot                                   = (uint)predictor.PredictInt((int)ItemInputStateslot, (int)baseline1.ItemInputStateslot, (int)baseline2.ItemInputStateslot);
        ItemInputStateplayerId                               = predictor.PredictInt(ItemInputStateplayerId, baseline1.ItemInputStateplayerId, baseline2.ItemInputStateplayerId);
        Child0AbilityAbilityActionaction                     = predictor.PredictInt(Child0AbilityAbilityActionaction, baseline1.Child0AbilityAbilityActionaction, baseline2.Child0AbilityAbilityActionaction);
        Child0AbilityAbilityActionactionStartTick            = predictor.PredictInt(Child0AbilityAbilityActionactionStartTick, baseline1.Child0AbilityAbilityActionactionStartTick, baseline2.Child0AbilityAbilityActionactionStartTick);
        Child0AbilityAbilityControlbehaviorState             = predictor.PredictInt(Child0AbilityAbilityControlbehaviorState, baseline1.Child0AbilityAbilityControlbehaviorState, baseline2.Child0AbilityAbilityControlbehaviorState);
        Child0AbilityAbilityControlrequestDeactivate         = (uint)predictor.PredictInt((int)Child0AbilityAbilityControlrequestDeactivate, (int)baseline1.Child0AbilityAbilityControlrequestDeactivate, (int)baseline2.Child0AbilityAbilityControlrequestDeactivate);
        Child0AbilityAutoRifleInterpolatedStatefireTick      = predictor.PredictInt(Child0AbilityAutoRifleInterpolatedStatefireTick, baseline1.Child0AbilityAutoRifleInterpolatedStatefireTick, baseline2.Child0AbilityAutoRifleInterpolatedStatefireTick);
        Child0AbilityAutoRifleInterpolatedStatefireEndPosX   = predictor.PredictInt(Child0AbilityAutoRifleInterpolatedStatefireEndPosX, baseline1.Child0AbilityAutoRifleInterpolatedStatefireEndPosX, baseline2.Child0AbilityAutoRifleInterpolatedStatefireEndPosX);
        Child0AbilityAutoRifleInterpolatedStatefireEndPosY   = predictor.PredictInt(Child0AbilityAutoRifleInterpolatedStatefireEndPosY, baseline1.Child0AbilityAutoRifleInterpolatedStatefireEndPosY, baseline2.Child0AbilityAutoRifleInterpolatedStatefireEndPosY);
        Child0AbilityAutoRifleInterpolatedStatefireEndPosZ   = predictor.PredictInt(Child0AbilityAutoRifleInterpolatedStatefireEndPosZ, baseline1.Child0AbilityAutoRifleInterpolatedStatefireEndPosZ, baseline2.Child0AbilityAutoRifleInterpolatedStatefireEndPosZ);
        Child0AbilityAutoRifleInterpolatedStateimpactType    = predictor.PredictInt(Child0AbilityAutoRifleInterpolatedStateimpactType, baseline1.Child0AbilityAutoRifleInterpolatedStateimpactType, baseline2.Child0AbilityAutoRifleInterpolatedStateimpactType);
        Child0AbilityAutoRifleInterpolatedStateimpactNormalX = predictor.PredictInt(Child0AbilityAutoRifleInterpolatedStateimpactNormalX, baseline1.Child0AbilityAutoRifleInterpolatedStateimpactNormalX, baseline2.Child0AbilityAutoRifleInterpolatedStateimpactNormalX);
        Child0AbilityAutoRifleInterpolatedStateimpactNormalY = predictor.PredictInt(Child0AbilityAutoRifleInterpolatedStateimpactNormalY, baseline1.Child0AbilityAutoRifleInterpolatedStateimpactNormalY, baseline2.Child0AbilityAutoRifleInterpolatedStateimpactNormalY);
        Child0AbilityAutoRifleInterpolatedStateimpactNormalZ = predictor.PredictInt(Child0AbilityAutoRifleInterpolatedStateimpactNormalZ, baseline1.Child0AbilityAutoRifleInterpolatedStateimpactNormalZ, baseline2.Child0AbilityAutoRifleInterpolatedStateimpactNormalZ);
        Child0AbilityAutoRiflePredictedStateaction           = predictor.PredictInt(Child0AbilityAutoRiflePredictedStateaction, baseline1.Child0AbilityAutoRiflePredictedStateaction, baseline2.Child0AbilityAutoRiflePredictedStateaction);
        Child0AbilityAutoRiflePredictedStatephaseStartTick   = predictor.PredictInt(Child0AbilityAutoRiflePredictedStatephaseStartTick, baseline1.Child0AbilityAutoRiflePredictedStatephaseStartTick, baseline2.Child0AbilityAutoRiflePredictedStatephaseStartTick);
        Child0AbilityAutoRiflePredictedStateammoInClip       = predictor.PredictInt(Child0AbilityAutoRiflePredictedStateammoInClip, baseline1.Child0AbilityAutoRiflePredictedStateammoInClip, baseline2.Child0AbilityAutoRiflePredictedStateammoInClip);
        Child0AbilityAutoRiflePredictedStateCOF              = predictor.PredictInt(Child0AbilityAutoRiflePredictedStateCOF, baseline1.Child0AbilityAutoRiflePredictedStateCOF, baseline2.Child0AbilityAutoRiflePredictedStateCOF);
    }
 public void PredictDelta(uint tick, ref LobbyConnectionGhostSnapshotData baseline1, ref LobbyConnectionGhostSnapshotData baseline2)
 {
     var predictor = new GhostDeltaPredictor(tick, this.tick, baseline1.tick, baseline2.tick);
 }
    public void PredictDelta(uint tick, ref LagPlayerSnapshotData baseline1, ref LagPlayerSnapshotData baseline2)
    {
        var predictor = new GhostDeltaPredictor(tick, this.tick, baseline1.tick, baseline2.tick);

        LagPlayerplayerId = predictor.PredictInt(LagPlayerplayerId, baseline1.LagPlayerplayerId, baseline2.LagPlayerplayerId);
    }