예제 #1
0
bool EntityReplica::QueryRemoteConstruction(Connection_RM3 *sourceConnection)
{
#ifdef SERVER
    return QueryRemoteConstruction_ServerConstruction(sourceConnection, true);
#else
    return QueryRemoteConstruction_ServerConstruction(sourceConnection, false);
#endif
}
	bool GameObjectReplica::QueryRemoteConstruction(RakNet::Connection_RM3 *sourceConnection) {
		if(getReplicationRule()->isValid())	{
			return SLBaseClass::QueryRemoteConstruction(sourceConnection);
		}
		return QueryRemoteConstruction_ServerConstruction(sourceConnection, getTopology() == SERVER);
	}
예제 #3
0
bool ServerCreatedServerReplica::QueryRemoteConstruction(RakNet::Connection_RM3* sourceConnection)
{
    return QueryRemoteConstruction_ServerConstruction(sourceConnection, !G_IsClient);
}
bool NetworkObjectBase::QueryRemoteConstruction( RakNet::Connection_RM3* sourceConnection )
{
    return QueryRemoteConstruction_ServerConstruction(sourceConnection, NETWORK->IsHost());
}