Collectables online, Main hall Join

This commit is contained in:
Sewmina
2022-04-20 03:12:23 +05:30
parent 56a926ec34
commit 3a6cda1a22
76 changed files with 3798 additions and 1632 deletions

View File

@@ -1,4 +1,4 @@
using System.Collections.Generic;
using System;
using UnityEngine;
public class Building : MonoBehaviour
@@ -6,6 +6,7 @@ public class Building : MonoBehaviour
public BuildingData buildingData;
public int curLevel;
public Outline[] outlines;
public DateTime lastCollected;
void OnDrawGizmos() {
Gizmos.color = Color.blue;
@@ -101,10 +102,12 @@ public class BuildingState{
public string id;
public int level;
public Vector3 position;
public DateTime lastCollectedTimestamp;
public BuildingState(string m_id, int m_level, Vector3 m_position){
id = m_id;
level = m_level;
position = m_position;
lastCollectedTimestamp = DBmanager.GetNetworkTime();
}
}