private UserCurrencyCreate ( UUID agentId ) : void | ||
agentId | UUID | |
return | void |
void UserCurrencyCreate(UUID agentId)
{
// Check if this agent has a user account, if not assume its a bot and exit
UserAccount account = m_registry.RequestModuleInterface<IUserAccountService>().GetUserAccount(new List<UUID> { UUID.Zero }, agentId);
if (account != null)
{
GD.Insert(_REALM, new object[] {agentId.ToString(), 0, 0, 0, 0, 0});
}
}