How to know ownership in RPC function?

PainGetter
Sat, 13 Nov 2021 07:28:18 +0000
C++

if i run this code on client side

UFUNCTION(Server, Reliable)
void Foo();

void Foo_Implementation(int _someNumber)
{
    _gameState->_someVariable = _someNumber;
}

is that _gameState in function on server Side?

and next time, i run that function on Server side, is that value already changed?

1 post - 1 participant