You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
1.5 KiB
43 lines
1.5 KiB
using System;
|
|
using System.Collections.Generic;
|
|
|
|
using Sog;
|
|
using ProtoCSStruct;
|
|
using LitJson;
|
|
using SimpleHttpServer;
|
|
|
|
namespace PlayerOp
|
|
{
|
|
public abstract class DBOperator
|
|
{
|
|
public abstract void Dispose();
|
|
|
|
public abstract void KeepAlive();
|
|
|
|
public abstract bool SaveExchangeCodeRecordData(ref ExchangeRecordConfigure data);
|
|
|
|
public abstract bool QueryExchangeCodeRecord(int groupId, int codeId, int index, long uid, string code);
|
|
|
|
public abstract bool UpdateExchangeCodeRecord(int groupId, int codeId, int index, long uid, string code);
|
|
|
|
public abstract bool QueryCommonExchangeCodeRecord(int codeId, long uid);
|
|
|
|
public abstract bool UpdateCommonExchangeCodeRecord(int codeId, long uid);
|
|
|
|
public abstract bool SelectUserExchangCount(int codeId, long uid, int maxCount);
|
|
|
|
public abstract bool QueryExchangeCode(string codeString, out int codeId, out int maxCount, out int type, ref ExchangeContent exchangeContent, out CSErrCode errCode);
|
|
|
|
public abstract bool SaveExchangeCodeData(ref ExchangeConfigure data, out int codeId);
|
|
|
|
public abstract bool UpdateExchangeCodeData(ref ExchangeConfigure data);
|
|
|
|
public abstract bool SelectExchangeCode(ref SSExchangeCodeQueryDbRes req);
|
|
|
|
public abstract bool SelectExchangCount(out int count);
|
|
|
|
public abstract bool UpdateExchangCount(int codeId, int num);
|
|
|
|
public abstract bool UpdateExchangStatus(int codeId, int status);
|
|
}
|
|
}
|
|
|