@@ -21,7 +21,7 @@ public class RpcProxyMessageTesting : NetcodeIntegrationTest
2121 {
2222 protected override int NumberOfClients => 2 ;
2323
24- private List < RpcProxyTest > m_ProxyTestInstances = new List < RpcProxyTest > ( ) ;
24+ private List < RpcProxyText > m_ProxyTestInstances = new List < RpcProxyText > ( ) ;
2525
2626 private StringBuilder m_ValidationLogger = new StringBuilder ( ) ;
2727
@@ -42,7 +42,7 @@ protected override IEnumerator OnSetup()
4242
4343 protected override void OnCreatePlayerPrefab ( )
4444 {
45- m_PlayerPrefab . AddComponent < RpcProxyTest > ( ) ;
45+ m_PlayerPrefab . AddComponent < RpcProxyText > ( ) ;
4646 base . OnCreatePlayerPrefab ( ) ;
4747 }
4848
@@ -72,7 +72,7 @@ private bool ValidateRpcProxyRpcs()
7272 {
7373 m_ValidationLogger . AppendLine ( $ "Client-{ networkManager . LocalClientId } does not have a cloned instance for Player-{ proxy . OwnerClientId } !") ;
7474 }
75- var clonedPlayer = networkManager . SpawnManager . SpawnedObjects [ proxy . NetworkObjectId ] . GetComponent < RpcProxyTest > ( ) ;
75+ var clonedPlayer = networkManager . SpawnManager . SpawnedObjects [ proxy . NetworkObjectId ] . GetComponent < RpcProxyText > ( ) ;
7676 // For each cloned player, each client should receive 1 RPC call per cloned player instance.
7777 // Example (With 3 clients including session owner):
7878 // Client-1 (SO): Sends to NotAuthority
@@ -98,7 +98,7 @@ public IEnumerator ProxyDoesNotInvokeOnSender()
9898 {
9999 foreach ( var client in m_NetworkManagers )
100100 {
101- m_ProxyTestInstances . Add ( client . LocalClient . PlayerObject . GetComponent < RpcProxyTest > ( ) ) ;
101+ m_ProxyTestInstances . Add ( client . LocalClient . PlayerObject . GetComponent < RpcProxyText > ( ) ) ;
102102 }
103103
104104 foreach ( var clientProxyTest in m_ProxyTestInstances )
@@ -110,7 +110,7 @@ public IEnumerator ProxyDoesNotInvokeOnSender()
110110 AssertOnTimeout ( m_ValidationLogger . ToString ( ) ) ;
111111 }
112112
113- public class RpcProxyTest : NetworkBehaviour
113+ public class RpcProxyText : NetworkBehaviour
114114 {
115115 public List < ulong > ReceivedRpc = new List < ulong > ( ) ;
116116
0 commit comments