Esempio n. 1
0
        public override void CreateHashKey(string gameID, HashKeyID hashKey)
        {
            var data = (HashKeyIDEX)hashKey;

            Debug.Log($"{DefineContain.DebugMapping} Create hash key {gameID}");
            var json = JsonUtility.ToJson(data);

            hashKeyMapping.Child(gameID)
            .SetRawJsonValueAsync(json)
            .ContinueWithOnMainThread(task =>
            {
                if (task.IsCompleted)
                {
                    Debug.Log($"{DefineContain.DebugMapping} Create hash key  is complete");
                }
                else
                {
                    Debug.LogError($"{DefineContain.DebugMapping} Create hash key  is faulted");
                }
            });
        }
 public virtual void CreateHashKey(string gameID, HashKeyID hashKey)
 {
 }