feat: initial commit - HJHA game server full source
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
This commit is contained in:
43
GameModule/GlobalManager/RoomManager_friend.cs
Normal file
43
GameModule/GlobalManager/RoomManager_friend.cs
Normal file
@ -0,0 +1,43 @@
|
||||
/*
|
||||
* 由SharpDevelop创建。
|
||||
* 用户: Administrator
|
||||
* 日期: 2019-03-08
|
||||
* 时间: 15:09
|
||||
*
|
||||
* 要改变这种模板请点击 工具|选项|代码编写|编辑标准头文件
|
||||
*/
|
||||
using System;
|
||||
using Server.Data;
|
||||
using MrWu.Debug;
|
||||
using GameData;
|
||||
|
||||
namespace Server {
|
||||
/// <summary>
|
||||
/// Description of RoomManager_friend.
|
||||
/// </summary>
|
||||
public class RoomManager_Friend : RoomManager{
|
||||
|
||||
/// <summary>
|
||||
/// 是否是朋友房
|
||||
/// </summary>
|
||||
public override bool isFriend => true;
|
||||
|
||||
/// <summary>
|
||||
/// 构造器
|
||||
/// </summary>
|
||||
/// <param name="id">id</param>
|
||||
/// <param name="config">配置</param>
|
||||
public RoomManager_Friend(int id, Server.Config.CastlesConfig config) : base(id,config) { }
|
||||
|
||||
/// <summary>
|
||||
/// 加入房间
|
||||
/// </summary>
|
||||
/// <param name="pl"></param>
|
||||
/// <param name="tingid"></param>
|
||||
/// <param name="deskid"></param>
|
||||
/// <returns></returns>
|
||||
public override bool InRoom(PlayerDataAsyc pl, int tingid, int deskid = -1) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user