public void TMU_Build_ShouldHaveSpecifics() { var node = new CGameCtnMediaClipBuilder().ForTMU().Build(); Assert.NotNull(node.GetChunk <CGameCtnMediaClip.Chunk03079003>()); Assert.NotNull(node.GetChunk <CGameCtnMediaClip.Chunk03079004>()); }
public void TMUF_Build_ShouldHaveSpecifics() { var node = new CGameCtnMediaClipBuilder().ForTMUF() .WithLocalPlayerClipEntIndex(1) .Build(); Assert.NotNull(node.GetChunk <CGameCtnMediaClip.Chunk03079004>()); Assert.NotNull(node.GetChunk <CGameCtnMediaClip.Chunk03079005>()); Assert.NotNull(node.GetChunk <CGameCtnMediaClip.Chunk03079007>()); Assert.Equal(expected: 1, actual: node.LocalPlayerClipEntIndex); }
public void TM2020_Build_ShouldHaveSpecifics() { var node = new CGameCtnMediaClipBuilder().ForTM2020() .WithLocalPlayerClipEntIndex(1) .StopsWhenRespawn() .StopsWhenLeave() .Build(); Assert.NotNull(node.GetChunk <CGameCtnMediaClip.Chunk0307900D>()); Assert.Equal(expected: 1, actual: node.LocalPlayerClipEntIndex); Assert.True(node.StopWhenRespawn); Assert.True(node.StopWhenLeave); }