class UToolNetSync

Overview

#include <ToolNetSync.h>

class UToolNetSync: public UActorComponent
{
public:
    // fields

    bool Activated;
    bool IsToolActive = false;
    float LastSentTime = -100.0f;
    float LastSentDeactiveTime = -100.0f;
    AActor* Tool;
    UGestureHands* GetstureHands;

    // methods

    void ActivateTool(int ViewID);
    void DeActivateTool(int ViewID);
    virtual void BeginPlay();
    void ChangeActive(bool Value);
    void ChangeActiveTool(bool Value, int ViewID);
};

Detailed Documentation

Fields

bool Activated

Activated Tool by network

Methods

void ActivateTool(int ViewID)

Activate Tool network callback. This function is set by networkManager

void DeActivateTool(int ViewID)

Deativate Tool network callback. This function is set by networkManager