FunGame-Core/Interface/Example.cs
2023-03-31 20:34:40 +08:00

24 lines
719 B
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

namespace Milimoe.FunGame.Core.Interface
{
/**
* 接口需要在FunGame.Implement项目中创建新的类实现
* namespace必须是Milimoe.FunGame.Core.Implement文件夹位置随意
* 参考:
* using Milimoe.FunGame.Core.Interface;
namespace Milimoe.FunGame.Core.Implement
{
public class IClientImpl : IClient
{
public string RemoteServerIP()
{
// 此处修改连接远程服务器IP
string serverIP = "127.0.0.1";
string serverPort = "22222";
return serverIP + ":" + serverPort;
}
}
}
*/
}