示例#1
0
 private void SharedState_ModeChanged(object sender, EliteSharedState.ModeChangedEventArgs e)
 {
     if (e.Mode == EliteSharedState.Mode.Travel)
     {
         Controller.SetLights(new SwscLight[] { SwscLight.Button2 });
     }
     if (e.Mode == EliteSharedState.Mode.Fighting)
     {
         Controller.SetLights(new SwscLight[] { SwscLight.Button1 });
     }
     if (e.Mode == EliteSharedState.Mode.Mining)
     {
         Controller.SetLights(new SwscLight[] { SwscLight.Button3 });
     }
 }
 private void SharedState_ModeChanged(object sender, EliteSharedState.ModeChangedEventArgs e)
 {
 }