Ask a Question
Class level static variable
over 2 years ago by Eva Ramirez
If I have a class level static variable in my microservice, is that static value global to all game clients calling the microservice, or is it unique to each client calling the microservice? For example, let's say I have a static class level variable that incremented every time a microservice method is called. If player A (client 1) calls 1 function, and player B (client 2) calls 2 functions, would the value be different for each player, or would it be a global value?