1 | import { IBetMatch, BasketballMatchImpl, BasketballEventState, PartitionKey } from '@jayesol/jayeson.lib.record';
|
2 | import * as proto from './protobuf_bundle';
|
3 | import { ICodec, EncodeAction, CodecHelper } from './codec';
|
4 | export declare class BasketballCodec implements ICodec {
|
5 | private codecHelper;
|
6 | constructor(codecHelper?: CodecHelper);
|
7 | decodeMatch(input: proto.BaseMatch[], pool: string[], action: EncodeAction, key: PartitionKey): BasketballMatchImpl[];
|
8 | decodeEvent(input: proto.BaseEvent[], pool: string[], action: EncodeAction, key: PartitionKey): IBetMatch[];
|
9 | decodeRecord(input: proto.BaseRecord[], pool: string[], action: EncodeAction, key: PartitionKey): BasketballMatchImpl[];
|
10 | decodeState(matchId: string, eventId: string, state: proto.IBaseEventState, pool: string[], action: EncodeAction, key: PartitionKey, time?: number): BasketballEventState;
|
11 | }
|