// Token: 0x06002C07 RID: 11271 RVA: 0x0012E9EC File Offset: 0x0012CBEC
        public void PeopleTaskAchieve()
        {
            int   index = Random.Range(0, this.peopleList.Count);
            Human human = this.peopleList[index];

            Human_Mod_GraduateSchool.getins().Custom_Message(0u, "任务完成:" + human.player.host.name + "不是凶手", "");
        }
Example #2
0
 private void Awake()
 {
     PostProcessLayer[] componentsInChildren = base.GetComponentsInChildren <PostProcessLayer>();
     for (int i = 0; i < componentsInChildren.Length; i++)
     {
         componentsInChildren[i].enabled = true;
     }
     base.gameObject.AddComponent <Gui_mono>();
     Human_Mod_GraduateSchool.getins().Human_mod_Init();
 }
 // Token: 0x06002C05 RID: 11269 RVA: 0x0012E870 File Offset: 0x0012CA70
 public void CkPlayer()
 {
     for (int i = 0; i < this.playerList.Count; i++)
     {
         string arg;
         if (this.playerList[i].human.killerGameVo.issurvive)
         {
             arg = "存活";
         }
         else
         {
             arg = "倒地";
         }
         Human_Mod_GraduateSchool.getins().Custom_Message(0u, string.Format("编号:{0}  名字:{1}   是否存活:{2}", this.playerList[i].human.killerGameVo.id, this.playerList[i].human.player.host.name, arg), "");
     }
 }
Example #4
0
	private void OnReceiveChatServer(NetHost client, NetStream stream)
		{
			uint clientId = stream.ReadNetId();
			string nick = stream.ReadString();
			string text = stream.ReadString();
			if (text.ToLower().Substring(0, 4).Equals("toup") || text.ToLower().Substring(0, 4).Equals("kill"))
			{
				Human_Mod_GraduateSchool.getins().Init_Client_mod(client, text);
				return;
			}
			NetChat.OnReceive(clientId, nick, text);
			for (int i = 0; i < this.readyclients.Count; i++)
			{
				if (this.readyclients[i] != client)
				{
					this.SendReliable(this.readyclients[i], stream);
				}
			}
			Human_Mod_GraduateSchool.getins().Init_Client_mod(client, text);
		}