Skip to content

test: adding a multi-instance test checking NetworkShow and NetworkHide on lists of objects#1036

Merged
jeffreyrainy merged 2 commits intodevelopfrom
test/network-show-network-hide-list
Aug 10, 2021
Merged

test: adding a multi-instance test checking NetworkShow and NetworkHide on lists of objects#1036
jeffreyrainy merged 2 commits intodevelopfrom
test/network-show-network-hide-list

Conversation

@jeffreyrainy
Copy link
Copy Markdown
Contributor

@MFatihMAR this test is meant to catch the error you pointed out in this other PR :-)

Comment on lines +8 to +16
public class NetworkShowHideTest : NetworkBehaviour
{

}

public class ShowHideObject : NetworkBehaviour
{

}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

move these inside the namespace too below?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(and using Unity.Netcode; above would be unnecessary)

Copy link
Copy Markdown
Contributor

@0xFA11 0xFA11 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

some nits but looks good to me, thank you! 🚀

@jeffreyrainy jeffreyrainy enabled auto-merge (squash) August 10, 2021 13:25
@jeffreyrainy jeffreyrainy merged commit dce2e54 into develop Aug 10, 2021
@jeffreyrainy jeffreyrainy deleted the test/network-show-network-hide-list branch August 10, 2021 15:05
SamuelBellomo added a commit that referenced this pull request Aug 11, 2021
…nsform

* develop: (32 commits)
  refactor: calling networkShow(NetworkObject) code in networkshow(List<NetworkObject>) (#1028)
  feat: snapshot. MTT-685 MTT-822 (#1021)
  test: adding a multi-instance test checking NetworkShow and NetworkHide on lists of objects (#1036)
  fix: corrected NetworkVariable WriteField/WriteDelta/ReadField/ReadDelta dropping the last byte if unaligned. (#1008)
  chore: run standards check over solution files (#1027)
  chore: replace MLAPI with Netcode in Markdown files (#1025)
  fix!: added plainly-callable Add() method to NetworkSet [MTT-1005] (#1022)
  fix: fixing incorrect merge done as part of commit 85842ee (#1023)
  chore: cleanup/upgrade serialized scenes (#1020)
  chore: replace MLAPI with Netcode in C# source files (#1019)
  test: add network collections, struct and class tests MTT-936 (#1000)
  test: add buildtests to test build pipeline on target platforms (#1018)
  chore: rename MLAPI types to Netcode (#1017)
  chore!: rename asmdefs, change top-level namespaces (#1015)
  Replacing community NetworkManagerHUD with a simpler implementation (#993)
  test: network prefab pools and INetworkPrefabInstanceHandler (#1004)
  fix: do not expose Runtime internals to TestProject.ManualTests asmdef (#1014)
  refactor: snapshot. merge preparation. Removing old acks, removing unused varia… (#1013)
  chore!: per-asmdef namespaces instead of per-folder (#1009)
  feat: snapshot. ground work, preparing depedencies. No impact on code behaviour (#1012)
  ...

# Conflicts:
#	com.unity.multiplayer.mlapi/Prototyping/NetworkTransform.cs
#	com.unity.multiplayer.mlapi/Runtime/Messaging/InternalMessageHandler.cs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants