diff --git a/proto/BuyResinReq.proto b/proto/BuyResinReq.proto new file mode 100644 index 00000000..868c77e4 --- /dev/null +++ b/proto/BuyResinReq.proto @@ -0,0 +1,10 @@ +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + + +// Name: NIBFJEFHMIM +// CmdId: 630 +message BuyResinReq { +} + diff --git a/proto/BuyResinRsp.proto b/proto/BuyResinRsp.proto new file mode 100644 index 00000000..6f13c89b --- /dev/null +++ b/proto/BuyResinRsp.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + + +// Name: PFLBPGOHFKJ +// CmdId: 687 +message BuyResinRsp { + int32 retcode = 9; + uint32 cur_value = 3; +} + diff --git a/proto/Investigation.proto b/proto/Investigation.proto new file mode 100644 index 00000000..782244c3 --- /dev/null +++ b/proto/Investigation.proto @@ -0,0 +1,21 @@ +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + + +// Name: NFAGLBHALKL +message Investigation { + // Name: DMECJPCEPNH + enum State { + INVALID = 0; + IN_PROGRESS = 1; + COMPLETE = 2; + REWARD_TAKEN = 3; + } + + uint32 id = 2; + State state = 4; + uint32 total_progress = 5; + uint32 progress = 11; +} + diff --git a/proto/InvestigationTarget.proto b/proto/InvestigationTarget.proto new file mode 100644 index 00000000..9d3e2899 --- /dev/null +++ b/proto/InvestigationTarget.proto @@ -0,0 +1,22 @@ +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + + +// Name: EJKIKKJCFKL +message InvestigationTarget { + // Name: PMPLOIOCICM + enum State { + INVALID = 0; + IN_PROGRESS = 1; + COMPLETE = 2; + REWARD_TAKEN = 3; + } + + State state = 6; + uint32 total_progress = 5; + uint32 investigation_id = 7; + uint32 quest_id = 14; + uint32 progress = 1; +} + diff --git a/proto/PlayerInvestigationAllInfoNotify.proto b/proto/PlayerInvestigationAllInfoNotify.proto new file mode 100644 index 00000000..4139fd07 --- /dev/null +++ b/proto/PlayerInvestigationAllInfoNotify.proto @@ -0,0 +1,14 @@ +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +import "Investigation.proto"; +import "InvestigationTarget.proto"; + +// Name: HCPEEIEKMCL +// CmdId: 1911 +message PlayerInvestigationAllInfoNotify { + repeated Investigation investigation_list = 10; + repeated InvestigationTarget investigation_target_list = 12; +} + diff --git a/proto/PlayerInvestigationNotify.proto b/proto/PlayerInvestigationNotify.proto new file mode 100644 index 00000000..943ae92f --- /dev/null +++ b/proto/PlayerInvestigationNotify.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +import "Investigation.proto"; + +// Name: KFLGDLECPAK +// CmdId: 1901 +message PlayerInvestigationNotify { + repeated Investigation investigation_list = 6; +} + diff --git a/proto/PlayerInvestigationTargetNotify.proto b/proto/PlayerInvestigationTargetNotify.proto new file mode 100644 index 00000000..562ecbc3 --- /dev/null +++ b/proto/PlayerInvestigationTargetNotify.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + +import "InvestigationTarget.proto"; + +// Name: MOGCBFKFHDN +// CmdId: 1930 +message PlayerInvestigationTargetNotify { + repeated InvestigationTarget investigation_target_list = 1; +} + diff --git a/proto/TakeInvestigationRewardReq.proto b/proto/TakeInvestigationRewardReq.proto new file mode 100644 index 00000000..058ce057 --- /dev/null +++ b/proto/TakeInvestigationRewardReq.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + + +// Name: ECINNKNDEAB +// CmdId: 1928 +message TakeInvestigationRewardReq { + uint32 id = 14; +} + diff --git a/proto/TakeInvestigationRewardRsp.proto b/proto/TakeInvestigationRewardRsp.proto new file mode 100644 index 00000000..aef7df36 --- /dev/null +++ b/proto/TakeInvestigationRewardRsp.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + + +// Name: MADHMGMOJPM +// CmdId: 1910 +message TakeInvestigationRewardRsp { + uint32 id = 10; + int32 retcode = 6; +} + diff --git a/proto/TakeInvestigationTargetRewardReq.proto b/proto/TakeInvestigationTargetRewardReq.proto new file mode 100644 index 00000000..5d6d6dc0 --- /dev/null +++ b/proto/TakeInvestigationTargetRewardReq.proto @@ -0,0 +1,11 @@ +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + + +// Name: HEBFDFDMOFH +// CmdId: 1926 +message TakeInvestigationTargetRewardReq { + uint32 quest_id = 15; +} + diff --git a/proto/TakeInvestigationTargetRewardRsp.proto b/proto/TakeInvestigationTargetRewardRsp.proto new file mode 100644 index 00000000..faa5250a --- /dev/null +++ b/proto/TakeInvestigationTargetRewardRsp.proto @@ -0,0 +1,12 @@ +syntax = "proto3"; + +option java_package = "emu.grasscutter.net.proto"; + + +// Name: LHAPHELPIHC +// CmdId: 1927 +message TakeInvestigationTargetRewardRsp { + int32 retcode = 6; + uint32 quest_id = 14; +} +