void ServerTimeCallback(ServerTimeReply reply) { if (reply.Success) { Debug.Log("Server time: " + reply.time.Value.ToString()); } else { Debug.Log("Fetching user market users failed"); } }
public ServerTimeReply ServerTime(ServerTimeRequest r) { return(ServerTimeReply.CreateSuccess(DateTime.UtcNow.DateTimeUtcToString())); }