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); }
private void PrintHash(NetworkGameMaster p) { HashProjection proj = new HashProjection(p.ES); p.ES.ApplyProjection(proj, EventStream.AllExistingEvents); Debug.Log(proj.GenerateHashCode()); }