Skip to content

Commit

Permalink
chore: reverted to private
Browse files Browse the repository at this point in the history
  • Loading branch information
momintlh committed Jun 1, 2024
1 parent 4f7b2e8 commit d11b79e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Assets/PlayroomKit/PlayroomKit.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ namespace Playroom
{
public partial class PlayroomKit
{
public static bool isPlayRoomInitialized;
private static bool isPlayRoomInitialized;

/// <summary>
/// Required Mock Mode:
Expand Down Expand Up @@ -826,7 +826,7 @@ private static void SetStateHelper<T>(string key, Dictionary<string, T> values,
SetStateDictionary(key, jsonString, reliable);
}

protected static Dictionary<string, T> ParseJsonToDictionary<T>(string jsonString)
private static Dictionary<string, T> ParseJsonToDictionary<T>(string jsonString)
{
var dictionary = new Dictionary<string, T>();
var jsonNode = JSON.Parse(jsonString);
Expand Down Expand Up @@ -915,15 +915,15 @@ public static bool IsRunningInBrowser()
#endif
}

protected static void MockSetState(string key, object value)
private static void MockSetState(string key, object value)
{
if (MockDictionary.ContainsKey(key))
MockDictionary[key] = value;
else
MockDictionary.Add(key, value);
}

protected static T MockGetState<T>(string key)
private static T MockGetState<T>(string key)
{
if (MockDictionary.TryGetValue(key, out var value) && value is T typedValue)
{
Expand Down

0 comments on commit d11b79e

Please sign in to comment.