Exemplo n.º 1
0
        private void HashCheck(int sourcePlayerID)
        {
            HashProjection hasher = new HashProjection(ES);

            ES.ApplyProjection(hasher, EventStream.AllExistingEvents);
            View.RPC("HashCheckReturn", PhotonHelper.GetPlayerByID(sourcePlayerID), PhotonNetwork.player.ID, hasher.GenerateHashCode(), ES.EventCount);
        }
Exemplo n.º 2
0
        private void PrintHash(NetworkGameMaster p)
        {
            HashProjection proj = new HashProjection(p.ES);

            p.ES.ApplyProjection(proj, EventStream.AllExistingEvents);

            Debug.Log(proj.GenerateHashCode());
        }