private void outfitChangeComplete(SetOutfitOperation operation, HttpResponse httpResponse)
    {
        SignedResponse <PlayerOutfitDetails> responseBody = operation.ResponseBody;

        clubPenguinClient.GameServer.SetOutfit(responseBody);
        Service.Get <EventDispatcher>().DispatchEvent(default(PlayerStateServiceEvents.PlayerOutfitSaved));
    }
Пример #2
0
    public APICall <SetOutfitOperation> SetOutfit(PlayerOutfit outfit)
    {
        SetOutfitOperation operation = new SetOutfitOperation(outfit);

        return(new APICall <SetOutfitOperation>(clubPenguinClient, operation));
    }
 private void outfitChangeError(SetOutfitOperation operation, HttpResponse httpResponse)
 {
     Service.Get <EventDispatcher>().DispatchEvent(default(PlayerStateServiceErrors.PlayerOutfitChangeError));
 }