PhotonView Op Code

Options
What event code(s) are being used by a PhotonView?

Specifically, I want to be able to check the current position of a player on the server to deduce if they can realistically be where they claim to be, but otherwise let the message continue on as normal.

Comments

  • vadim
    Options
    I guess that you use Photon Server and going to update server code with positions checks.
    If so, look at PunEvent class in PhotonClasses.cs deployed with PUN. Positions are sent inside SendSerializeReliable event payload. You need look at PUN code where position serialized to find out how to retrieve them on server side.