// 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"); }
// 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"); }
// 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"); }
// Member Delegates & Events // Member Properties // Member Methods public override void InstanceNetworkVars(CNetworkViewRegistrar _cRegistrar) { _cRegistrar.RegisterRpc(this, "StartMuzzleFlash"); }
public override void InstanceNetworkVars(CNetworkViewRegistrar _cRegistrar) { _cRegistrar.RegisterRpc(this, "ReceivePlayerMessage"); }
// Member Methods public override void InstanceNetworkVars(CNetworkViewRegistrar _cRegistrar) { _cRegistrar.RegisterRpc(this, "SetShipNetworkViewId"); }
public override void InstanceNetworkVars(CNetworkViewRegistrar _cRegistrar) { _cRegistrar.RegisterRpc(this, "CreateHitParticles"); }
// Member Methods public override void InstanceNetworkVars(CNetworkViewRegistrar _cRegistrar) { // Empty _cRegistrar.RegisterRpc(this, "NotifyDownloadingInitialGameStateComplete"); }
// Member Functions // public: public override void InstanceNetworkVars(CNetworkViewRegistrar _cRegistrar) { _cRegistrar.RegisterRpc(this, "CreateLocalObject"); _cRegistrar.RegisterRpc(this, "DestroyLocalObject"); }
// 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"); }
// 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"); }