MCPcopy Create free account
hub / github.com/PlayFab/gsdk / BlockEntityRequest

Class BlockEntityRequest

cpp/cppsdk/include/playfab/PlayFabEntityDataModels.h:417–449  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

415 };
416
417 struct BlockEntityRequest : public PlayFabRequestCommon
418 {
419 EntityKey Entity;
420 EntityKey Group;
421
422 BlockEntityRequest() :
423 PlayFabRequestCommon(),
424 Entity(),
425 Group()
426 {}
427
428 BlockEntityRequest(const BlockEntityRequest& src) :
429 PlayFabRequestCommon(),
430 Entity(src.Entity),
431 Group(src.Group)
432 {}
433
434 ~BlockEntityRequest() { }
435
436 void FromJson(Json::Value& input) override
437 {
438 FromJsonUtilO(input["Entity"], Entity);
439 FromJsonUtilO(input["Group"], Group);
440 }
441
442 Json::Value ToJson() const override
443 {
444 Json::Value output;
445 Json::Value each_Entity; ToJsonUtilO(Entity, each_Entity); output["Entity"] = each_Entity;
446 Json::Value each_Group; ToJsonUtilO(Group, each_Group); output["Group"] = each_Group;
447 return output;
448 }
449 };
450
451 struct ChangeMemberRoleRequest : public PlayFabRequestCommon
452 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected