* I want to commit too!

This commit is contained in:
lbsa71
2007-07-13 18:01:44 +00:00
parent 3f6c4e6187
commit a076369fa3
4 changed files with 5 additions and 27 deletions

View File

@@ -52,7 +52,6 @@ namespace SimpleApp
client.SendChatMessage("Ready.", 1, pos, "System", LLUUID.Zero );
};
client.OnRequestWearables += SendWearables;
client.OnAddPrim += AddNewPrim;
client.OnUpdatePrimGroupPosition += this.UpdatePrimPosition;
client.OnRequestMapBlocks += this.RequestMapBlocks;
@@ -60,21 +59,9 @@ namespace SimpleApp
client.OnGrapUpdate += this.MoveObject;
client.OnNameFromUUIDRequest += this.commsManager.HandleUUIDNameRequest;
client.OnCompleteMovementToRegion += delegate()
{
client.MoveAgentIntoRegion(m_regInfo, pos, LLVector3.Zero );
};
client.OnCompleteMovementToRegion += delegate()
{
client.SendAvatarData(m_regInfo.RegionHandle, client.FirstName,
client.LastName, client.AgentId, 0,
pos, null);
client.SendChatMessage("Welcome to My World.", 1, pos, "System", LLUUID.Zero );
};
client.SendRegionHandshake(m_regInfo);
@@ -83,11 +70,6 @@ namespace SimpleApp
}
private void SendWearables( IClientAPI client )
{
client.SendWearables( AvatarWearable.DefaultWearables );
}
#endregion
}
}

View File

@@ -68,9 +68,9 @@ namespace SimpleApp
PrimitiveBaseShape shape = PrimitiveBaseShape.DefaultBox();
shape.Scale = new LLVector3(1, 1, 1);
shape.Scale = new LLVector3(10, 10, 10);
LLVector3 pos = new LLVector3(1,1,1);
LLVector3 pos = new LLVector3(128,128,72);
world.AddNewPrim( LLUUID.Zero, pos, shape );