openlegends-server 0.3.0

OpenLegends Game Server
Documentation
1
2
3
4
5
6
7
8
9
10
11
use crate::Log;
use openlegends_server::api::user::*;

pub fn register(_request: String, log: &Log) -> String {
    log.notice("User registration request".to_string());
    serde_json::to_string(&register::response::Data {
        success: false,
        message: "Feature not implemented yet".to_string(),
    })
    .unwrap() // @TODO handle
}