[][src]Function rlbot::parse_framework_args

pub fn parse_framework_args() -> Result<Option<FrameworkArgs>, ()>

Parse the arguments passed by the RLBot framework.

This function returns:

  • Ok(Some(args)) – if the app was launched by the framework.
  • Ok(None) – if the app was not launched by the framework.
  • Err(_) – if it appears the app was launched by the framework, but we could not understand the arguments.