GameEntity(九)—— InviteOtherPlayer
来源:互联网 发布:python buffer对象 编辑:程序博客网 时间:2024/05/18 00:50
目录为:Assets/Scripts/GameEntity/目录下
InviteOtherPlayer.cs
邀请好友类
using UnityEngine;using System.Collections;using System;using System.Collections.Generic;//邀请好友public class InviteOtherPlayer{ //static private static InviteOtherPlayer instance = null; public static InviteOtherPlayer Instance { get { if (instance == null) { instance = new InviteOtherPlayer (); } return instance; } } public UInt64 RoomID { private set; get; } public string PassWord { private set; get; } public string NiceName { private set; get; } public int Length { private set; get; } public void SetInvitation(UInt64 roomID, string passWord, int length, string niceName) { Length = length; RoomID = roomID; PassWord = passWord; NiceName = niceName; }}
阅读全文
0 0
- GameEntity(九)—— InviteOtherPlayer
- GameEntity(一) —— CampType
- GameEntity(二)—— EntityType
- GameEntity(三)—— EntityStrategyHelper
- GameEntity(四)—— Ientity
- GameEntity(五)—— INpc
- GameEntity(六)—— IChat
- GameEntity(七)—— Friend
- GameEntity(八)—— FriendManager
- GameEntity(十)—— Mail
- GameEntity(十一)—— Iplayer
- GameEntity&Component
- GameEntity & Component
- ENet(九)——
- (九)链表—单链表
- (九)数据结构—栈
- JavaScript FAQ(九)——Ajax
- babyos (九) —— 显示bitmap
- QT之qss教程- QPushButton
- 获取指定名称DLL
- DLL导出函数名称改编的解决方法
- 使用freemarker生成word,步骤详解并奉上源代码
- tensorflow之非线性方程
- GameEntity(九)—— InviteOtherPlayer
- Leetcode||49. Group Anagrams
- 基础判断网络
- 数据库里程(2):数据库的隔离机制
- 水经注地图发布服务中间件的适用范围
- Core Animation实战六(专用图层)
- java http请求数据 未完待续
- error LNK2001: 无法解析的外部符号 _GUID_DEVCLASS_ADB
- Java Web开发Session超时设置