Release 0.1.0

This commit is contained in:
xeon
2026-02-02 20:53:22 +03:00
commit 25660300dd
152 changed files with 882089 additions and 0 deletions

59
proto/pb/cs_weapon.proto Normal file
View File

@@ -0,0 +1,59 @@
syntax = "proto3";
package proto;
option go_package = "/csproto";
message CS_WEAPON_PUTON {
uint64 charid = 1;
uint64 weaponid = 2;
}
message SC_WEAPON_PUTON {
uint64 charid = 1;
uint64 weaponid = 2;
uint64 offweaponid = 3;
uint64 put_off_charid = 4;
}
message CS_WEAPON_BREAKTHROUGH {
uint64 weaponid = 1;
}
message SC_WEAPON_BREAKTHROUGH {
uint64 weaponid = 1;
uint32 breakthrough_lv = 2;
}
message CS_WEAPON_REFINE_UPGRADE {
uint64 weaponid = 1;
uint32 upgrade_refine_lv = 2;
repeated uint64 cost_weapon_ids = 3;
map<string, uint64> cost_weapon_potential_up_items = 4;
}
message SC_WEAPON_REFINE_UPGRADE {
uint64 weaponid = 1;
uint32 refine_lv = 2;
}
message CS_WEAPON_ADD_EXP {
uint64 weaponid = 1;
map<string, uint64> cost_item_id2count = 2;
repeated uint64 cost_weapon_ids = 3;
}
message SC_WEAPON_ADD_EXP {
uint64 weaponid = 1;
uint64 new_exp = 2;
uint32 weapon_lv = 3;
}
message CS_WEAPON_ATTACH_GEM {
uint64 weaponid = 1;
uint64 gemid = 2;
}
message SC_WEAPON_ATTACH_GEM {
uint64 weaponid = 1;
uint64 gemid = 2;
uint64 detach_gemid = 3;
uint64 detach_gem_weaponid = 4;
}
message CS_WEAPON_DETACH_GEM {
uint64 weaponid = 1;
}
message SC_WEAPON_DETACH_GEM {
uint64 weaponid = 1;
uint64 detach_gemid = 2;
}