Custom Operation on Photon Server not working
I want to add some server logic with the SendOperation() method on the Client. When I use operationCode that already in the OperationCode emum, it works fine, but when I use a custom operationCode, such as 50 or 120, the server refuse the operation and disconnect the client with this error message
How can I get around this, I try to find the code that block the operationCode but I can't.
Is this the way to do it, or there is an other way to do this?
What I want is create a call from client with data, the server handle it and send a response to the client, for example, the client want to purchase something, it send operation and then the server do the logic with the database.