Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion MLAPI-Editor/NetworkedObjectEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public override void OnInspectorGUI()

if (showObservers)
{
HashSet<uint>.Enumerator observerClientIds = networkedObject.GetObservers();
HashSet<ulong>.Enumerator observerClientIds = networkedObject.GetObservers();

EditorGUI.indentLevel += 1;

Expand Down
285 changes: 231 additions & 54 deletions MLAPI-Editor/NetworkingManagerEditor.cs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion MLAPI-Examples/ConvenienceMessagingPing.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public override void NetworkStart()
[ServerRPC(RequireOwnership = false)]
public void PingServer(int number)
{
uint sender = ExecutingRpcSender;
ulong sender = ExecutingRpcSender;

Debug.LogFormat("Got pinged by {0} with the number {1}", sender, number);

Expand Down
6 changes: 3 additions & 3 deletions MLAPI-Examples/ManagerExamples.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace MLAPI_Examples
// Features example calls for things often needed for things like Game managers
public class ManagerExamples : NetworkedBehaviour
{
public NetworkedObject GetPlayerGameObject(uint clientId)
public NetworkedObject GetPlayerGameObject(ulong clientId)
{
return SpawnManager.GetPlayerObject(clientId);
}
Expand All @@ -23,7 +23,7 @@ public NetworkedObject GetLocalPlayerObject()

#if !DISABLE_CRYPTOGRAPHY
// Only runs on server
public byte[] GetAESKeyForClient(uint clientId)
public byte[] GetAESKeyForClient(ulong clientId)
{
return CryptographyHelper.GetClientKey(clientId);
}
Expand All @@ -36,7 +36,7 @@ public byte[] GetAESKeyForServer()
#endif

// Contains player object, owned objects, cryptography keys and more
public NetworkedClient GetClient(uint clientId)
public NetworkedClient GetClient(ulong clientId)
{
return NetworkingManager.Singleton.ConnectedClients[clientId];
}
Expand Down
123 changes: 0 additions & 123 deletions MLAPI-Examples/UnetNetworkingManagerHud.cs

This file was deleted.

Loading