aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/nim/nim_aoc.cpp
blob: 27137a2bc0b5f1ab4e68e4e2278834c45736356b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// Copyright 2014 Citra Emulator Project
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.

#include "common/archives.h"
#include "core/hle/service/nim/nim_aoc.h"

SERIALIZE_EXPORT_IMPL(Service::NIM::NIM_AOC)

namespace Service::NIM {

NIM_AOC::NIM_AOC() : ServiceFramework("nim:aoc", 2) {
    const FunctionInfo functions[] = {
        // clang-format off
        {0x0003, nullptr, "SetApplicationId"},
        {0x0004, nullptr, "SetTin"},
        {0x0009, nullptr, "ListContentSetsEx"},
        {0x0018, nullptr, "GetBalance"},
        {0x001D, nullptr, "GetCustomerSupportCode"},
        {0x0021, nullptr, "Initialize"},
        {0x0024, nullptr, "CalculateContentsRequiredSize"},
        {0x0025, nullptr, "RefreshServerTime"},
        // clang-format on
    };
    RegisterHandlers(functions);
}

NIM_AOC::~NIM_AOC() = default;

} // namespace Service::NIM