Beispiel #1
0
            public BizSwan.SyncSettings GetNativeSettings()
            {
                var ret = new BizSwan.SyncSettings
                {
                    color       = Color,
                    userealtime = UseRealTime,
                    sex         = Gender,
                    language    = Language,
                    blood       = BloodType
                };

                ret.SetName(Name);
                ret.bday        = (uint)BirthDate.Day;
                ret.bmonth      = (uint)BirthDate.Month;
                ret.byear       = (uint)BirthDate.Year;
                ret.initialtime = (ulong)((InitialTime - new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc)).TotalSeconds);
                return(ret);
            }
Beispiel #2
0
			public BizSwan.SyncSettings GetNativeSettings()
			{
				var ret = new BizSwan.SyncSettings
				{
					color = Color,
					userealtime = UseRealTime,
					sex = Gender,
					language = Language,
					blood = BloodType
				};
				ret.SetName(Name);
				ret.bday = (uint)BirthDate.Day;
				ret.bmonth = (uint)BirthDate.Month;
				ret.byear = (uint)BirthDate.Year;
				ret.initialtime = (ulong)((InitialTime - new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc)).TotalSeconds);
				return ret;
			}