示例#1
0
// Member Functions
    
    // public:


	public override void InstanceNetworkVars(CNetworkViewRegistrar _cRegistrar)
	{
		m_cParentViewId = _cRegistrar.CreateNetworkVar<CNetworkViewId>(OnNetworkVarSync, null);
        
        _cRegistrar.RegisterRpc(this, "RemoteSetPosition");
        _cRegistrar.RegisterRpc(this, "RemoteSetRotation");
        _cRegistrar.RegisterRpc(this, "RemoteSetScale");
        _cRegistrar.RegisterRpc(this, "RemoteSetRigidBodyMass");
	}
示例#2
0
// Member Methods


    public override void InstanceNetworkVars(CNetworkViewRegistrar _cRegistrar)
    {
        m_sNetworkedPlayerName = _cRegistrar.CreateNetworkVar <string>(OnNetworkVarSync, "");

        _cRegistrar.RegisterRpc(this, "RegisterPlayerName");
        _cRegistrar.RegisterRpc(this, "UnregisterPlayerName");
        _cRegistrar.RegisterRpc(this, "RegisterPlayerActor");
        _cRegistrar.RegisterRpc(this, "UnregisterPlayerActor");
    }
示例#3
0
 // Member Methods
 public override void InstanceNetworkVars(CNetworkViewRegistrar _cRegistrar)
 {
     _cRegistrar.RegisterRpc(this, "InvokeOnClick");
     _cRegistrar.RegisterRpc(this, "InvokeOnDoubleClick");
     _cRegistrar.RegisterRpc(this, "InvokeOnPress");
     _cRegistrar.RegisterRpc(this, "InvokeOnSelect");
     _cRegistrar.RegisterRpc(this, "InvokeOnHover");
     _cRegistrar.RegisterRpc(this, "InvokeOnDrag");
     _cRegistrar.RegisterRpc(this, "InvokeOnDragStart");
     _cRegistrar.RegisterRpc(this, "InvokeOnDragEnd");
     _cRegistrar.RegisterRpc(this, "InvokeOnScroll");
 }
示例#4
0
// Member Delegates & Events


// Member Properties


// Member Methods


    public override void InstanceNetworkVars(CNetworkViewRegistrar _cRegistrar)
    {
        _cRegistrar.RegisterRpc(this, "StartMuzzleFlash");
    }
示例#5
0
 public override void InstanceNetworkVars(CNetworkViewRegistrar _cRegistrar)
 {
     _cRegistrar.RegisterRpc(this, "ReceivePlayerMessage");
 }
示例#6
0
// Member Methods


    public override void InstanceNetworkVars(CNetworkViewRegistrar _cRegistrar)
    {
        _cRegistrar.RegisterRpc(this, "SetShipNetworkViewId");
    }
 public override void InstanceNetworkVars(CNetworkViewRegistrar _cRegistrar)
 {
     _cRegistrar.RegisterRpc(this, "CreateHitParticles");
 }
示例#8
0
// Member Methods


    public override void InstanceNetworkVars(CNetworkViewRegistrar _cRegistrar)
    {
        // Empty
        _cRegistrar.RegisterRpc(this, "NotifyDownloadingInitialGameStateComplete");
    }
示例#9
0
// Member Functions

    // public:


    public override void InstanceNetworkVars(CNetworkViewRegistrar _cRegistrar)
    {
        _cRegistrar.RegisterRpc(this, "CreateLocalObject");
        _cRegistrar.RegisterRpc(this, "DestroyLocalObject");
    }
示例#10
0
// Member Methods


	public override void InstanceNetworkVars(CNetworkViewRegistrar _cRegistrar)
	{
		m_sNetworkedPlayerName = _cRegistrar.CreateNetworkVar<string>(OnNetworkVarSync, "");

        _cRegistrar.RegisterRpc(this, "RegisterPlayerName");
        _cRegistrar.RegisterRpc(this, "UnregisterPlayerName");
        _cRegistrar.RegisterRpc(this, "RegisterPlayerActor");
        _cRegistrar.RegisterRpc(this, "UnregisterPlayerActor");
	}
示例#11
0
// Member Functions

    // public:


    public override void InstanceNetworkVars(CNetworkViewRegistrar _cRegistrar)
    {
        _cRegistrar.RegisterRpc(this, "CreateLocalObject");
        _cRegistrar.RegisterRpc(this, "DestroyLocalObject");
    }
示例#12
0
文件: CGameShips.cs 项目: nulhax/VOID
// Member Methods


	public override void InstanceNetworkVars(CNetworkViewRegistrar _cRegistrar)
	{
        _cRegistrar.RegisterRpc(this, "SetShipNetworkViewId");
	}
示例#13
0
	public override void InstanceNetworkVars(CNetworkViewRegistrar _cRegistrar)
	{
        _cRegistrar.RegisterRpc(this, "CreateHitParticles");
	}
示例#14
0
文件: CGameChat.cs 项目: nulhax/VOID
 public override void InstanceNetworkVars(CNetworkViewRegistrar _cRegistrar)
 {
     _cRegistrar.RegisterRpc(this, "ReceivePlayerMessage");
 }
示例#15
0
// Member Delegates & Events


// Member Properties


// Member Methods


	public override void InstanceNetworkVars(CNetworkViewRegistrar _cRegistrar)
	{
		_cRegistrar.RegisterRpc(this, "StartMuzzleFlash");
	}
示例#16
0
// Member Delegates & Events


// Member Properties


// Member Methods


    public override void InstanceNetworkVars(CNetworkViewRegistrar _cRegistrar)
    {
        m_bAmmo = _cRegistrar.CreateNetworkVar <byte>(OnNetworkVarSync, m_bAmmoCapacity);

        _cRegistrar.RegisterRpc(this, "ExecuteShootEffect");
    }
示例#17
0
// Member Methods


	public override void InstanceNetworkVars(CNetworkViewRegistrar _cRegistrar)
	{
		// Empty
        _cRegistrar.RegisterRpc(this, "NotifyDownloadingInitialGameStateComplete");
	}