6 major server modules (PdkFriendServer/GlobalSever/ServerCore/GameModule/GameNetModule) + game logic (GameFix/GameDAL/ServerData) + network layer (NetWorkMessage) + data layer (ObjectModel) + utilities (MrWu/Core/Config/CloudAPI/dll) + adapters (zyxAdapter/base) .NET 8.0 C# solution, 16 projects, 958 source files
55 lines
1.2 KiB
C#
55 lines
1.2 KiB
C#
using System;
|
|
using Server.Pack;
|
|
using System.Collections.Generic;
|
|
|
|
namespace Server
|
|
{
|
|
/// <summary>
|
|
/// 游戏单元 描述 全游戏管理 城堡 厅 桌子
|
|
/// </summary>
|
|
public interface IGameUtil : ITimerProcessor, IGameWinMoney
|
|
{
|
|
|
|
/// <summary>
|
|
/// 某个id
|
|
/// </summary>
|
|
int id {
|
|
get;
|
|
}
|
|
|
|
/// <summary>
|
|
/// 是否是朋友房的游戏
|
|
/// </summary>
|
|
bool isFriend {
|
|
get;
|
|
}
|
|
|
|
/// <summary>
|
|
/// 初始化 当要使用桌子之前调用
|
|
/// </summary>
|
|
void Init();
|
|
|
|
/// <summary>
|
|
/// 获取整数类型的值
|
|
/// </summary>
|
|
/// <param name="lx">类型</param>
|
|
/// <returns></returns>
|
|
int GetIntValue(string lx);
|
|
|
|
/// <summary>
|
|
/// 获取字符串类型的值
|
|
/// </summary>
|
|
/// <param name="lx"></param>
|
|
/// <returns></returns>
|
|
string GetStringValue(string lx);
|
|
|
|
/// <summary>
|
|
/// 获取数据
|
|
/// </summary>
|
|
/// <param name="tag"></param>
|
|
/// <returns></returns>
|
|
object GetData(string tag);
|
|
|
|
}
|
|
}
|