2821 {
2822
2823 super.OnRPC(sender, rpc_type,ctx);
2824
2825
2826 switch (rpc_type)
2827 {
2828 #ifndef SERVER
2829 case ERPCs.RPC_SOUND_LOCK_ATTACH:
2830 Param2<bool, string> p = new Param2<bool, string>(false, "");
2831
2833 return;
2834
2835 bool play = p.param1;
2836 string soundSet = p.param2;
2837
2838 if (play)
2839 {
2841 {
2843 {
2845 }
2846 }
2847 else
2848 {
2850 }
2851 }
2852 else
2853 {
2855 }
2856
2857 break;
2858 #endif
2859
2860 }
2861
2863 {
2865 }
2866 }
WrittenNoteData GetWrittenNoteData()
ref EffectSound m_LockingSound
proto bool Read(void value_in)
void OnRPC(PlayerIdentity sender, int rpc_type, ParamsReadContext ctx)
vector GetPosition()
Get the world position of the Effect.