syntax = "proto3";
package proto;

option go_package = "/csproto";

enum GLOBAL_EFFECT_STAMINA_REDUCE_INDEX {
    GESR_INDEX_GLOBAL_VAR_TYPE = 0;
    GESR_INDEX_DAILY_MAX_COUNT = 1;
    GESR_INDEX_REDUCE_AMOUNT = 2;
    GESR_INDEX_MAX = 3;
}
message SCD_GLOBAL_EFFECT {
    int32 effect_type = 1;
    repeated int32 effect_values = 2;
    uint32 chapter_id = 3;
    int64 end_time = 4;
    int32 source_type = 5;
    string sub_source_type = 6;
    string effect_id = 7;
}
message SC_GLOBAL_EFFECT_SYNC_ALL {
    repeated SCD_GLOBAL_EFFECT global_effects = 1;
}
message SC_GLOBAL_EFFECT_MODIFY_SYNC {
    int32 effect_type = 1;
    SCD_GLOBAL_EFFECT effect_info = 2;
    bool is_delete = 3;
}
