syntax = "proto3";

option csharp_namespace = "MariesWonderland.Proto.Material";

import "proto/data.proto";

package apb.api.material;

service MaterialService {
	rpc Sell (SellRequest) returns (SellResponse);
}

message SellRequest {
	repeated SellPossession materialPossession = 1;
}

message SellPossession {
	int32 materialId = 1;
	int32 count = 2;
}

message SellResponse {
	map<string, apb.api.data.DiffData> diffUserData = 99;
}