syntax="proto3";
package protos.swordmaster;

message C_ChangeSword {
    string swordId = 1;
}

message S_ChangeSword {
    int32 ec = 1;
    string swordId = 2;
    int64 total_energy = 5;
    int64 current_energy = 6;
}

message C_Attack {
    int32 skills = 1;
}

message S_Attack {
    int32 ec = 1;
    int32 skills = 2;
    string targetId = 3;
    int64 consume = 9;
    int64 profit = 10;
}
