private bool insertGroup(Group group) { Debug.WriteLine("group name=" + group.NameProperty, "insertGroup"); Debug.WriteLine("group describe=" + group.DescribeProperty, "insertGroup"); Debug.WriteLine("group OSType=" + group.OSTypeProperty, "insertGroup"); OutObject.outVO(group, "insertGroup"); try { /* * invoke webservice interface * * */ } catch { } finally { } return(true); }
private bool updateGroup(Group group) { OutObject.outVO(group, "updateGroup"); try { /* * * invoke webservice interface * */ return(false); } catch (Exception) { return(true); } finally { } }
private bool updateUser(User user) { OutObject.outVO(user, "updateUser"); try { /* * * invoke webservice interface * */ return(false); } catch (Exception) { return(true); } finally { } }
private bool insertUser(User user) { OutObject.outVO(user, "insertUser"); try { /* * invoke webservice interface * * */ } catch { } finally { } return(true); }
public static GameObject InstantiateS(GameObject prefab, Vector3 position, Quaternion rotation, Transform Parent = null) { GameObject OutObject; if (!poolDictionary.ContainsKey(prefab.GetInstanceID())) { OutObject = Instantiate(prefab, position, rotation); EntityBase entityBase = OutObject.GetComponent <EntityBase>(); PoolComponent poolComponent = entityBase?.GetEntityComponent <PoolComponent>(); if (poolComponent != null) { poolComponent.id = prefab.GetInstanceID(); CreatePoolCell(prefab.GetComponent <EntityBase>(), entityBase, prefab.GetInstanceID(), poolComponent.start_pool_size); } return(OutObject); } else { return(poolDictionary[prefab.GetInstanceID()].GetFromPool(position, rotation, Parent)); } }